XPath engine update

Chris Burdess <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.xml
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've managed to work around the problem with the lookahead in the XPath 
parser (by hacking at the lexer level), so it should work OK now.

Current status:
- - type and function extensions are not currently supported, I'll look 
into this soon
- - XPath namespace nodes are not yet supported
- - everything else should implement the complete XPath 1.0 spec (2.0 is 
not supported)

How does it work?

Parse a document. The DOMImplementation for the document will tell you 
it supports the XPath 1.0 feature, so you can cast it to an 
XPathEvaluator.

Use the XPathEvaluator interface to execute an XPath query against the 
document. You can also compile an XPathExpression and reuse it (the 
expression is parsed and compiled only once).

Please hack away at it and raise any bugs either through Savannah or by 
mailing me directly (patches welcome!)
- -- 
Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBdUmV6dl1DEqHgrgRAhJXAKCNtZ56oZDAAzigKV85vts+PGkHTQCgpwjN
y2oHMEgXY3EdM3t1MTTJq5w=
=MDeF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.