Page 1 of 1

cannot validate schematron in 26

Posted: Fri Nov 03, 2023 9:40 pm
by Graydon2014
On Oxygen XML Editor 26 ("You are currently running the latest version") on Linux, if I try to validate a schematron document using the red checkmark, I get the following error:

Code: Select all

System ID: jar:file:/home/graydon/Oxygen XML Editor 26/lib/oxygen.jar!/builtin/oXygenSchematronDispatcher.xsl
Main validation file: /home/graydon/xcential/git/Oregon-DPMS/modelling/schemas/checkFRBR.sch
Scenario name: Schematron + SQF
Document type: Schematron
Engine name: Schematron 1.5
Severity: error
Description: access denied ("java.security.AllPermission" "<all permissions>" "<all actions>")
If I click on the error, I go to

Code: Select all

jar:file:/home/graydon/Oxygen%20XML%20Editor%2026/lib/oxygen.jar!/builtin/oXygenSchematronDispatcher.xsl
where it complains that

Code: Select all

Cannot find a 0-argument function named Q{http://www.oxygenxml.com/schematron/validation}column-number()
This seems to have gone wrong in 26.

For clarity, I am not trying to validate another document with the schematron; I am trying to validate that the schematron document is itself valid schematron. A colleague using oXygen 26 on Windows reports the same problem.

Re: cannot validate schematron in 26

Posted: Tue Nov 07, 2023 1:18 pm
by tavy
Hello,

Thanks for your feedback.
We reproduced the error when creating a new Schematron or when validating a Schematron file.
We've already registered an issue and this is fixed. We will update this thread when a new maintenance build is available.

As a temporary workaround, the newly created Schematron file can be saved in a location considered safe.
For example, in a dedicated directory from "frameworks".
Or you could add a safe location using the "Document Type Association / Locations" options page and save Schematron directory there as an additional framework directory.
https://www.oxygenxml.com/doc/versions/ ... ation.html

Regards,
Octavian

Re: cannot validate schematron in 26

Posted: Mon Nov 20, 2023 4:52 pm
by teo
Hello,

The reported problem has been addressed and fixed.
A maintenance build is now available for download (build id: 2023111306):
https://www.oxygenxml.com/xml_editor/do ... os=Windows
https://www.oxygenxml.com/xml_editor/do ... l?os=Linux

Regards,
Teo