Internal error while extracting Schematron rules from RNG

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mnmmeyer
Posts: 3
Joined: Fri Dec 29, 2023 11:49 pm

Internal error while extracting Schematron rules from RNG

Post 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 28 times
teo
Posts: 57
Joined: Wed Aug 30, 2017 3:56 pm

Re: Internal error while extracting Schematron rules from RNG

Post 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
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
mnmmeyer
Posts: 3
Joined: Fri Dec 29, 2023 11:49 pm

Re: Internal error while extracting Schematron rules from RNG

Post by mnmmeyer »

Dear Teo,

Thanks a lot!

Best,

Michaël
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Internal error while extracting Schematron rules from RNG

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mnmmeyer
Posts: 3
Joined: Fri Dec 29, 2023 11:49 pm

Re: Internal error while extracting Schematron rules from RNG

Post by mnmmeyer »

Dear Radu,

Thank you! I will download the new version.

Best,
Michaël
Post Reply