[oXygen-user] XPath version in XPath toolbar?
David Birnbaum
djbpitt at gmail.com
Wed Oct 26 21:23:40 CDT 2022
Dear oxygen-user at oxygenxml.com,
If I select XPath version 3.1 in the XPath toolbar and evaluate an
expression like:
*//l => count()*
in a document that contains *<l>* 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?
Sincerely,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20221026/22770a04/attachment.htm>
More information about the oXygen-user
mailing list