saxon-lint icon indicating copy to clipboard operation
saxon-lint copied to clipboard

Don't use net.sf.saxon.Query for xpath

Open sputnick-dev opened this issue 7 years ago • 2 comments

From https://stackoverflow.com/a/49615317/465183

As far as I could judge from reading the Perl code the --xpath argument is feed to net.sf.saxon.Query as XQuery. I don't think a command line use of Saxon allows pure XPath evaluation. Martin Honnen

sputnick-dev avatar Apr 02 '18 21:04 sputnick-dev

Saxon doesn't provide a command line switch to use pure XPath but as XPath is a subset of XQuery it can evaluate XPath expressions as XQuery. To use pure XPath you would need to write Java code using Saxon saxonica.com/html/documentation/xpath-api/s9api-xpath.html – Martin Honnen Apr 2 at 22:00

sputnick-dev avatar Apr 22 '18 21:04 sputnick-dev

Reminder:

Check Gizmo

Try to update Saxon9: saxon-he-11.4.jar

sputnick-dev avatar Jan 09 '23 06:01 sputnick-dev