XPath 3.1 support
Posted: Sat Feb 23, 2019 6:33 pm
Given that the current and latest (and probably last) version of XPath is 3.1 and not 3.0 I wonder why the XPath field and the XPath builder in oXygen 21 continue to only list 3.0 as the possible highest XPath value.
It also seems that some XPath 3.1 language features like the string concatenation operator "||" work nevertheless, so that seems to indicate that under the hood you use a version of Saxon that supports XPath 3.1 and not 3.0.
When I use other features like the XPath 3.1 map or array types, for instance
against any XML document that does have some leaf elements with text data I get no error that I have used some expression not being supported, instead a dialog pops up "The XPath query returned no results".
This feature request is to allow the use of full XPath 3.1 and some way to allow an XPath query to return maps and/or arrays.
It also seems that some XPath 3.1 language features like the string concatenation operator "||" work nevertheless, so that seems to indicate that under the hood you use a version of Saxon that supports XPath 3.1 and not 3.0.
When I use other features like the XPath 3.1 map or array types, for instance
Code: Select all
array { //*[not(*)]/string() }
This feature request is to allow the use of full XPath 3.1 and some way to allow an XPath query to return maps and/or arrays.