Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does JDK 6 support all features of XPath 2.0?

like for, sum, if, intersect...and if not, or not entirely, where can I find the details? And if it does, where can I find an official confirmation?

like image 897
kostja Avatar asked Apr 27 '11 10:04

kostja


2 Answers

According to the javadoc, Java 6 supports XML Path Language (XPath) Version 1.0

like image 180
McDowell Avatar answered Oct 24 '22 17:10

McDowell


Java is a programming language and it doesn't have direct language constructs, especially designed for evaluating XPath expressions.

It is totally different that some classes can come bundled with the Java distribution, that implement an XPath engine.

AFAIK, these XPath-engine implementing classes at present only implement XPath 1.0.

Of course, there are a number of 3rd party Java-based products, such as Saxon, which I am using every day in my free time. Another one I have seen mentioned is PsychoPath.

like image 1
Dimitre Novatchev Avatar answered Oct 24 '22 18:10

Dimitre Novatchev