<oXygen/> general issues.
- Posts: 1
- Joined: Mon Nov 16, 2020 7:14 pm
I'm currently running Oxygen editor 22.1 and an Xpath error that should have been reported as an error is not showing up. Perhaps I'm missing something. Here's some sample xml and xpath that I'm running.
Code: Select all
If I run the xpath //name/[surname eq 'invalid']
in xpath evaluator I get a query returned no results. Shouldn't it actually catch that there is a '/' before the start of the predicate and report that as an invalid xpath?
- Posts: 7483
- Joined: Fri Jul 09, 2004 5:18 pm
I asked on the XML.com Slack channel and it seems your XPath is valid because there is an array constructor in the XPath specs: https://www.w3.org/TR/xpath-31/#id-array-constructors
<oXygen/> XML Editor