I've added a modified antlr-runtime.jar
distribution to CVS to fix this problem. I've done a new daily build which
should have the fix integrated if you'd rather download a build than use CVS
directly. I also added a JUnit test case that tests that bad paths throw an
exception.
James
--
Agreed. Hopefully really soon we'll be moving to
using the saxpath project (http://sourceforge.net/projects/saxpath)
which will avoid the use of Antlr as the parser of XPath expressions and we'll
have a smaller and faster code base and better exceptions if bad XPath
expressions are used.
T