Schematron Validation with Saxon HE

This should cover W3C XML Schema, Relax NG and DTD related problems.
Sepp C
Posts: 3
Joined: Tue Mar 06, 2018 12:02 pm

Schematron Validation with Saxon HE

Post by Sepp C »

Hi,

is it possible to change the Schematron validation engine within Oxygen to validate only with Saxon HE, instead of PE/EE?

I am having a case where the Schematron validation with Oxygen works fine but calling the Processor/XsltTransformer programmatically fails with "Errors were reported during Stylesheet compilation". I'm not sure if it's a problem with the Licensing, as we are currently only using Saxon HE (.Net).

An advanced feature is a custom XSL function described here: topic15611.html

Thanks
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Re: Schematron Validation with Saxon HE

Post by tavy »

Hello,

By default we are using Saxon PE for the validation of an XML document with a Schematron. You can chose only to use Saxon EE, for this you need to change the "Use Saxon EE (schema aware) for xslt2/xslt3 query language binding" option from the Schematron Preferences. We do not have an option to use Saxon HE for Schematron validation.
The XSLT function that you are using in the Schematron file should work also with Saxon HE. Maybe the Schematron implementation that you are using externally does not work well or the Saxon HE (.Net). I tested with our Schematron implementation with Saxon HE (Java version) with you example ant it works.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply