Internal error while extracting Schematron rules from RNG
Posted: Sat Dec 30, 2023 12:18 am
Hello,
I spotted an unexpected error while trying to validate an XML file against an RNG schema with embedded Schematron rules. To reproduce it, see the two files in the attached archive (or https://gist.github.com/michaelnmmeyer/ ... e453136ce6).
In Oxygen 21.1 (which I used so far), there is no issue. But in Oxygen 26, the following error message is displayed in the bottom panel:
Changing the schematron rule from to makes the error disappear.
Best,
Michael
I spotted an unexpected error while trying to validate an XML file against an RNG schema with embedded Schematron rules. To reproduce it, see the two files in the attached archive (or https://gist.github.com/michaelnmmeyer/ ... e453136ce6).
In Oxygen 21.1 (which I used so far), there is no issue. But in Oxygen 26, the following error message is displayed in the bottom panel:
Code: Select all
Internal error evaluating template rule at line 187 in module file:/home/michael/test.rng
Code: Select all
contains(normalize-space(@to),' ') or contains(normalize-space(@from),' ')
Code: Select all
false
Best,
Michael