cannot validate schematron in 26

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Graydon2014
Posts: 15
Joined: Tue May 20, 2014 6:55 pm

cannot validate schematron in 26

Post 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.
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Re: cannot validate schematron in 26

Post 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
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
teo
Posts: 57
Joined: Wed Aug 30, 2017 3:56 pm

Re: cannot validate schematron in 26

Post 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
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply