开发者

does JDK 6 support all features of XPath 2.0?

开发者 https://www.devze.com 2023-03-01 04:26 出处:网络
like for, sum, if, intersect...and if not, or not entirely, where can I find the details? And if it does, where can I f开发者_JS百科ind an official confirmation?According to the javadoc, Java 6 suppor

like for, sum, if, intersect...and if not, or not entirely, where can I find the details? And if it does, where can I f开发者_JS百科ind an official confirmation?


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

This is still true as of Java 17.


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.


I don't know if Java 6 does, but I'm pretty sure Saxon (http://saxon.sourceforge.net/) does.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号