Page 1 of 1

Internal error while extracting Schematron rules from RNG

Posted: Sat Dec 30, 2023 12:18 am
by mnmmeyer
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:

Code: Select all

Internal error evaluating template rule  at line 187 in module file:/home/michael/test.rng
Changing the schematron rule from

Code: Select all

contains(normalize-space(@to),' ') or contains(normalize-space(@from),' ')
to

Code: Select all

false
makes the error disappear.

Best,
Michael
test.zip
(1.87 KiB) Downloaded 31 times

Re: Internal error while extracting Schematron rules from RNG

Posted: Wed Jan 03, 2024 12:22 pm
by teo
Hello Michael,

We have already logged the problem you faced.
As the issue is related to the integration of Saxon 12.3 in Oxygen 26.0, we have registered the issue with Saxonica and are working with them to fix it.
I will update this thread as soon as the problem is fully resolved.
Then the fix will most likely be available through a maintenance release.

Regards,
Teo

Re: Internal error while extracting Schematron rules from RNG

Posted: Mon Jan 08, 2024 12:29 pm
by mnmmeyer
Dear Teo,

Thanks a lot!

Best,

Michaël

Re: Internal error while extracting Schematron rules from RNG

Posted: Tue Jan 30, 2024 8:25 am
by Radu
Hi Michaël,
We made a minor bug fix release of Oxygen 26 which should have this problem fixed:
https://www.oxygenxml.com/build_history ... 2024012406
Maybe you can uninstall Oxygen 26, then re-download and re-install Oxygen 26 from our web site.
Regards,
Radu

Re: Internal error while extracting Schematron rules from RNG

Posted: Tue Feb 06, 2024 3:59 pm
by mnmmeyer
Dear Radu,

Thank you! I will download the new version.

Best,
Michaël