<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    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]<br>
    This bug has already been reported against Saxon 9.5 and resolved in
    9.5.1.1: <a class="moz-txt-link-freetext" href="https://saxonica.plan.io/issues/1812">https://saxonica.plan.io/issues/1812</a><br>
    We will integrate Saxon 9.5.1.1 (or later depending on availability)
    in Oxygen v15.1.<br>
    <br>
    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:<br>
    <a class="moz-txt-link-freetext" href="http://mirror.oxygenxml.com/userFiles/schematronPatch.zip">http://mirror.oxygenxml.com/userFiles/schematronPatch.zip</a><br>
    Navigate to the Oxygen installation folder and in the 'lib' folder
    create a folder named 'endorsed'. Place the .jar patch there:<br>
    Oxygen/lib/endorsed/schematronPatch.jar<br>
    After you restart Oxygen the Schematron validation should work
    correctly.<br>
    <br>
    Regards,<br>
    Adrian<br>
    <br>
    <pre class="moz-signature" cols="72">Adrian Buza
oXygen XML Editor and Author Support

Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
<a class="moz-txt-link-abbreviated" href="mailto:support@oxygenxml.com">support@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a></pre>
    <br>
    <div class="moz-cite-prefix">On 02.08.2013 08:15, Ananth Narayanan
      wrote:<br>
    </div>
    <blockquote
      cite="mid:BLU405-EAS316A873DC82922D416B07E2D5510@phx.gbl"
      type="cite">
      <style><!--
.hmmessage p {
margin:0px;
padding:0px;
}

body.hmmessage {
font-family:Calibri;
font-size:12pt;
}
--></style>
      <div style="font-family:Calibri,&quot;Segoe
        UI&quot;,Meiryo,&quot;Microsoft YaHei UI&quot;,&quot;Microsoft
        JhengHei UI&quot;,&quot;Malgun Gothic&quot;,&quot;Khmer
        UI&quot;,&quot;Nirmala UI&quot;,Tunga,&quot;Lao
        UI&quot;,Ebrima,sans-serif;font-size:16px;">
        <div>Dear All,</div>
        <div dir="ltr">
          <div><br>
          </div>
          <div data-focusfrompointer="true">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.</div>
          <div><br>
          </div>
          <div>--------------------</div>
          <div><br>
          </div>
          <div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div>
          <div>&lt;report xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.oxygenxml.com/ns/report">"http://www.oxygenxml.com/ns/report"</a>&gt;</div>
          <div>&lt;incident&gt;</div>
          <div>&lt;engine&gt;ISO Schematron (XSLT 2.0)&lt;/engine&gt;</div>
          <div>&lt;severity&gt;error&lt;/severity&gt;</div>
          <div>&lt;description&gt;Failed to compile stylesheet. 4 errors
            detected.&lt;/description&gt;</div>
          <div>&lt;systemID&gt;C:\DATA\Rule-based
            validation\rules.sch&lt;/systemID&gt;</div>
          <div>&lt;operationDescription&gt;</div>
          <div>&lt;mainValidationFile&gt;C:\DATA\sample.xml&lt;/mainValidationFile&gt;</div>
          <div>&lt;/operationDescription&gt;</div>
          <div>&lt;/incident&gt;</div>
          <div>&lt;incident&gt;</div>
          <div>&lt;engine&gt;ISO Schematron (XSLT 2.0)&lt;/engine&gt;</div>
          <div>&lt;severity&gt;fatal&lt;/severity&gt;</div>
          <div>&lt;description&gt;The filtered expression in an XSLT 2.0
            pattern must be a simple step&lt;/description&gt;</div>
          <div>&lt;systemID&gt;C:\DATA\Rule-based
            validation\rules.sch&lt;/systemID&gt;</div>
          <div>&lt;operationDescription&gt;</div>
          <div>&lt;mainValidationFile&gt;C:\DATA\sample.xml&lt;/mainValidationFile&gt;</div>
          <div>&lt;/operationDescription&gt;</div>
          <div>&lt;/incident&gt;</div>
          <div>&lt;incident&gt;</div>
          <div>&lt;engine&gt;ISO Schematron (XSLT 2.0)&lt;/engine&gt;</div>
          <div>&lt;severity&gt;fatal&lt;/severity&gt;</div>
          <div>&lt;description&gt;The filtered expression in an XSLT 2.0
            pattern must be a simple step&lt;/description&gt;</div>
          <div>&lt;systemID&gt;C:\DATA\Rule-based
            validation\rules.sch&lt;/systemID&gt;</div>
          <div>&lt;operationDescription&gt;</div>
          <div>&lt;mainValidationFile&gt;C:\DATA\sample.xml&lt;/mainValidationFile&gt;</div>
          <div>&lt;/operationDescription&gt;</div>
          <div>&lt;/incident&gt;</div>
          <div>&lt;incident&gt;</div>
          <div>&lt;engine&gt;ISO Schematron (XSLT 2.0)&lt;/engine&gt;</div>
          <div>&lt;severity&gt;fatal&lt;/severity&gt;</div>
          <div>&lt;description&gt;The filtered expression in an XSLT 2.0
            pattern must be a simple step&lt;/description&gt;</div>
          <div>&lt;systemID&gt;C:\DATA\Rule-based
            validation\rules.sch&lt;/systemID&gt;</div>
          <div>&lt;operationDescription&gt;</div>
          <div>&lt;mainValidationFile&gt;C:\DATA\sample.xml&lt;/mainValidationFile&gt;</div>
          <div>&lt;/operationDescription&gt;</div>
          <div>&lt;/incident&gt;</div>
          <div>&lt;incident&gt;</div>
          <div>&lt;engine&gt;ISO Schematron (XSLT 2.0)&lt;/engine&gt;</div>
          <div>&lt;severity&gt;fatal&lt;/severity&gt;</div>
          <div>&lt;description&gt;The filtered expression in an XSLT 2.0
            pattern must be a simple step&lt;/description&gt;</div>
          <div>&lt;systemID&gt;C:\DATA\Rule-based
            validation\rules.sch&lt;/systemID&gt;</div>
          <div>&lt;operationDescription&gt;</div>
          <div>&lt;mainValidationFile&gt;C:\DATA\sample.xml&lt;/mainValidationFile&gt;</div>
          <div>&lt;/operationDescription&gt;</div>
          <div>&lt;/incident&gt;</div>
          <div>&lt;incident&gt;</div>
          <div>&lt;engine&gt;ISO Schematron (XSLT 2.0)&lt;/engine&gt;</div>
          <div>&lt;severity&gt;fatal&lt;/severity&gt;</div>
          <div>&lt;description&gt;Got a fatal error trying to create a
            transformer from the stylesheet!&lt;/description&gt;</div>
          <div>&lt;systemID&gt;C:\DATA\sample.xml&lt;/systemID&gt;</div>
          <div>&lt;operationDescription&gt;</div>
          <div>&lt;mainValidationFile&gt;C:\DATA\sample.xml&lt;/mainValidationFile&gt;</div>
          <div>&lt;/operationDescription&gt;</div>
          <div>&lt;/incident&gt;</div>
          <div>&lt;/report&gt;</div>
          <div><br>
          </div>
          <div>-------------</div>
          <div><br>
          </div>
          <div>Regards</div>
          <div><br>
          </div>
          <div>Anantha</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Adrian Buza
oXygen XML Editor and Author Support

Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
<a class="moz-txt-link-abbreviated" href="mailto:support@oxygenxml.com">support@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a></pre>
  </body>
</html>