Schematron failure in Oxygen 24

Having trouble installing Oxygen? Got a bug to report? Post it all here.
martindholmes
Posts: 169
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Schematron failure in Oxygen 24

Post by martindholmes »

Hi there,

After upgrading to Oxygen 24, we've been seeing a sporadic problem when validating files using Schematron; we don't see this issue in earlier versions of Oxygen:

Saxon-EE cannot validate with schema type text/sch

This occurs when validating a file in the editor which links to an rng schema which contains embedded Schematron; typically we have two xml-model PIs like this:

~~~~~
<?xml-model href="../schemas/coldesp.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="../schemas/coldesp.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
~~~~~

Can anyone suggest what might be causing this problem? It only happens occasionally, but once it happens, it's persistent until Oxygen is restarted.

All help appreciated,
Martin
martindholmes
Posts: 169
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Schematron failure in Oxygen 24

Post by martindholmes »

...and we're now seeing cases where an Oxygen restart does not solve the problem.

Interestingly, regular validation-as-you-type is working fine; it's only when a user presses the red validation checkbox toolbar button or invokes the command from the menu that the error occurs. I see that in the Preferences / Editor / Document Validation / Custom Validation Engines, the first entry is for Saxon-EE (XML Editor; XSD Editor), but that option is not editable or deletable. We did not define this setting.
tavy
Posts: 305
Joined: Thu Jul 01, 2004 12:29 pm

Re: Schematron failure in Oxygen 24

Post by tavy »

Hello Martin,

It seems that the "Saxon-EE" custom engine is selected from the Validate drop-down menu, instead of the the "Validate" action.
We already have an issue on our internal issue tracker to investigate this problem. We will update this thread when we come to a conclusion.

As an workaround, you can select the Validate action from the drop-down menu, or use the shortcut. After you select first time the Validate action, next time when you click on the Validate drop-down action, the validation will work correctly.

You can also try to deactivate the "Load file content only when switching to its corresponding editor tab" option from Options->Preferences->Global options tab. It seems that this option affects the Validate menu.
https://www.oxygenxml.com/doc/versions/ ... dy_lrs_3pb

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
martindholmes
Posts: 169
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Schematron failure in Oxygen 24

Post by martindholmes »

Thanks Octavian! We have a project which is holding off on updating Oxygen licenses because of this, so I hope it gets fixed soon.
tavy
Posts: 305
Joined: Thu Jul 01, 2004 12:29 pm

Re: Schematron failure in Oxygen 24

Post by tavy »

Hello Martin,

We just released Oxygen XML Editor version 24.0 build id 2021121317. This build includes the fix for the issue you reported.

You can download the latest version from here:
https://www.oxygenxml.com/xml_editor/do ... ditor.html

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Martin Holmes
Posts: 2
Joined: Sat Mar 12, 2005 12:37 am

Re: Schematron failure in Oxygen 24

Post by Martin Holmes »

Thanks again! You should have seen a purchase of a batch of licences from a UVic prof today.
Martin Holmes
University of Victoria
Post Reply