An update of the XPath API is now available under the xsl20-compiled branch. For newcomers, The XPath API is a compact set of Java interfaces that allows in-memory representation and manipulation of XPath 2.0 expressions. It comes with an implementation of these interfaces and also with a parser based on JavaCC and the W3C XPath2.0 grammar (http://www.w3.org/2002/11/xquery-xpath-applets/xpathApplet.html). The full list of features can be found in the Javadoc.

The main change since the last version is that almost all XPath 2.0 constructors are now supported (22 August 2003 Working Draft ).

What's missing:
        - The support for pattern is not very well-done, especially for / and //.
        - _expression_ normalization (as defined in XPath/XQuery formal semantic).
        - A parser mode for post-editing: right now, a lot of reduction is performed during the parsing, making the editing a bit cumbersome.
        - A way to ask for the evaluation of _expression_ (see JAXP 1.3).
        - And many others things..

Enjoy!
Cheers,
Lionel.

Reply via email to