[oXygen-user] Error in Oxygen XML editor version 15 during validation
Oxygen XML Editor Support
support at oxygenxml.com
Fri Aug 2 04:36:26 CDT 2013
Hi,
This ("The filtered expression in an XSLT 2.0 pattern must be a simple
step") is an issue introduced in Saxon 9.5 (bundled with Oxygen v15.0).
ISaxon 9.5 does not accept patterns of this form for template matching:
path[boolean-predicate][1]
This bug has already been reported against Saxon 9.5 and resolved in
9.5.1.1: https://saxonica.plan.io/issues/1812
We will integrate Saxon 9.5.1.1 (or later depending on availability) in
Oxygen v15.1.
Meanwhile, a workaround for v15.0 is to set the XSLT version to 3.0 in
the XSLT generated from Schematron. A patch is available here:
http://mirror.oxygenxml.com/userFiles/schematronPatch.zip
Navigate to the Oxygen installation folder and in the 'lib' folder
create a folder named 'endorsed'. Place the .jar patch there:
Oxygen/lib/endorsed/schematronPatch.jar
After you restart Oxygen the Schematron validation should work correctly.
Regards,
Adrian
Adrian Buza
oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
On 02.08.2013 08:15, Ananth Narayanan wrote:
> Dear All,
>
> Could any one help me on how to resolve the error, I pasted the error
> as an XML file below. I am validating the XML file using rules.sch file.
>
> --------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <report xmlns="http://www.oxygenxml.com/ns/report">
> <incident>
> <engine>ISO Schematron (XSLT 2.0)</engine>
> <severity>error</severity>
> <description>Failed to compile stylesheet. 4 errors
> detected.</description>
> <systemID>C:\DATA\Rule-based validation\rules.sch</systemID>
> <operationDescription>
> <mainValidationFile>C:\DATA\sample.xml</mainValidationFile>
> </operationDescription>
> </incident>
> <incident>
> <engine>ISO Schematron (XSLT 2.0)</engine>
> <severity>fatal</severity>
> <description>The filtered expression in an XSLT 2.0 pattern must be a
> simple step</description>
> <systemID>C:\DATA\Rule-based validation\rules.sch</systemID>
> <operationDescription>
> <mainValidationFile>C:\DATA\sample.xml</mainValidationFile>
> </operationDescription>
> </incident>
> <incident>
> <engine>ISO Schematron (XSLT 2.0)</engine>
> <severity>fatal</severity>
> <description>The filtered expression in an XSLT 2.0 pattern must be a
> simple step</description>
> <systemID>C:\DATA\Rule-based validation\rules.sch</systemID>
> <operationDescription>
> <mainValidationFile>C:\DATA\sample.xml</mainValidationFile>
> </operationDescription>
> </incident>
> <incident>
> <engine>ISO Schematron (XSLT 2.0)</engine>
> <severity>fatal</severity>
> <description>The filtered expression in an XSLT 2.0 pattern must be a
> simple step</description>
> <systemID>C:\DATA\Rule-based validation\rules.sch</systemID>
> <operationDescription>
> <mainValidationFile>C:\DATA\sample.xml</mainValidationFile>
> </operationDescription>
> </incident>
> <incident>
> <engine>ISO Schematron (XSLT 2.0)</engine>
> <severity>fatal</severity>
> <description>The filtered expression in an XSLT 2.0 pattern must be a
> simple step</description>
> <systemID>C:\DATA\Rule-based validation\rules.sch</systemID>
> <operationDescription>
> <mainValidationFile>C:\DATA\sample.xml</mainValidationFile>
> </operationDescription>
> </incident>
> <incident>
> <engine>ISO Schematron (XSLT 2.0)</engine>
> <severity>fatal</severity>
> <description>Got a fatal error trying to create a transformer from the
> stylesheet!</description>
> <systemID>C:\DATA\sample.xml</systemID>
> <operationDescription>
> <mainValidationFile>C:\DATA\sample.xml</mainValidationFile>
> </operationDescription>
> </incident>
> </report>
>
> -------------
>
> Regards
>
> Anantha
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
--
Adrian Buza
oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130802/f77a3ca2/attachment-0001.html
More information about the oXygen-user
mailing list