<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello David,</p>
    <p>Sorry for the delay.</p>
    <p>We run both XPath 2.0 and 3.1 query expressions using the Saxon
      11 Enterprise Edition XSLT processor, providing the XSLT processor
      with the proper XPath version.</p>
    <p>In such cases probably as you say the XSLT processor should
      report more precisely if certain expressions although supported by
      it are not quite compatible with the imposed expression version.
      But this is not something we control.<br>
    </p>
    <p>Regards,</p>
    <p>Radu</p>
    <pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
    <p></p>
    <div class="moz-cite-prefix">On 10/27/22 05:23, David Birnbaum
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAP4v81qtpJiTQ57RahPFxrBiQcAM1ZCU0vbQOeOGv3tiJhbtxA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Dear <a href="mailto:oxygen-user@oxygenxml.com"
          moz-do-not-send="true" class="moz-txt-link-freetext">oxygen-user@oxygenxml.com</a>,
        <div><br>
        </div>
        <div>If I select XPath version 3.1 in the XPath toolbar and
          evaluate an expression like:<br>
          <br>
          <b>//l => count()</b></div>
        <div><br>
        </div>
        <div>in a document that contains <b><l></b> elements, it
          correctly returns the count of those elements. If I select
          XPath 1.0 and evaluate the same expression, it correctly
          raises an error because it doesn't understand the arrow
          operator, which is not part of XPath 1.0. If I select XPath
          2.0 I also expect an error because the arrow operator is not
          part of XPath 2.0, but instead the result is the same as with
          3.1. Am I mistaken in expecting 2.0 to raise an error here?</div>
        <div><br>
        </div>
        <div>Sincerely,</div>
        <div><br>
        </div>
        <div>David</div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-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="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>