
27 Oct
2022
27 Oct
'22
2:23 a.m.
Dear oxygen-user@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