Closed apostaat closed 2 years ago
@apostaat I think the problem is, that you are using the document
function.
Unfortunately the document
function is an XSLT function and not an XPath function, so you cannot use it with the "pure" implementation. You need to switch to the XSLT based version - sorry.
@phax Thank you for an answer.
Given:
I tried to investigate passing CollectingPSErrorHandler to .bind method and literally all of the errors stem from calling an external voc.xml file in schematron assertion.
Part of custom error report I have in YAML format:
Corresponding part of schematron file, that causes error:
Corresponding part of voc.xml:
voc.xml is in the same directory as schematron file, so I do not think that mere absence of the file causes such behaviour.
My hypothesis is that additional xml file (voc.xml) is not properly resolved, but I have not found which mechanisms provide such functionality.
P.S.: I have thoroughly readed similar issues, but unfortunately I have not found a solution: