>This statement used to work under xalan 1, but no longer does in the
>current developer release of xalan.
>
>NodeList boboList = xPath.selectNodeList(someNode,
>"/descendant::variable[contains(text(), \".\")]");
>
>java.lang.RuntimeException: Programmer's assertion in getNextStepPos:
>unknown stepType: -2
> at
> org.apache.xpath.compiler.OpMap.getFirstPredicateOpPos(OpMap.java:325)
> at
>
>org.apache.xpath.axes.PredicatedNodeTest.initPredicateInfo(PredicatedNodeTest.java:140)
> at
> org.apache.xpath.axes.DescendantIterator.<init>(DescendantIterator.java:139)
> at
> org.apache.xpath.axes.WalkerFactory.newDTMIterator(WalkerFactory.java:294)
> at org.apache.xpath.compiler.Compiler.locationPath(Compiler.java:677)
> at org.apache.xpath.compiler.Compiler.compile(Compiler.java:217)
> at org.apache.xpath.compiler.Compiler.compile(Compiler.java:163)
> at org.apache.xpath.XPath.<init>(XPath.java:223)
> at org.apache.xpath.XPathAPI.eval(XPathAPI.java:270)
> at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:202)
> at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:182)
>...
>Exception in thread "main"
>
>Any idea why?
>
>Thanks-
>Pete
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com