Schematron failure in Oxygen 24
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 190
- 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
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
-
- Posts: 190
- 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.
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.
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Schematron failure in Oxygen 24
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 190
- 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.
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Schematron failure in Oxygen 24
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 10
- 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
University of Victoria
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service