schematron
schematron copied to clipboard
Relative URI references break if compiled stylesheet is serialized to disk in other location than the Schematron
If you compile a Schematron that uses relative URI references in e.g. sch:pattern/@documents or sch:assert/@test etc. and serialize the stylesheet to disk in an location that is not the location of the Schematron, these relative URI references brake because they are resolved to the base URI of the stylesheet and not of the Schematron.