Page 1 of 1

Schematron Validation with Saxon HE

Posted: Wed Mar 14, 2018 4:59 pm
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

Re: Schematron Validation with Saxon HE

Posted: Thu Mar 15, 2018 3:10 pm
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