<problem>
When sending an xpath request using a function (like count(...) ) I have an exception. </problem> <Context> package org.apache.xindice.core.query class XPathQueryResolver <snip line="539"> private Object evalFunction(String owner, int pos) throws Exception { int idx = cmp.getFirstChildPos(pos); int id = cmp.getOp(idx); int endFunc = pos + cmp.getOpMap()[pos+1] - 1; </snip> the last line throws a NoSuchMethodError. after looking the Xalan javadoc getOpMap() doesn't return an array. I looked into CVS the current version and the code has changed (a bug fix ?) so it shouldn't throw an exception anymore (but I haven't tested it) I use xindice in embeded mode. </context> <question> What should I do ? 1) Do I use the wrong Xalan version ? Xindice 1.1b1 should use an older version and I have to use endorse something ? 2) Do I have to update my Xindice library to the actual CVS ? </question> thanks Julien |
- Re: Xpath query in xindice 1.1b1 Julien Le Dem
- Re: Xpath query in xindice 1.1b1 JC Tchitchiama
- Re: Xpath query in xindice 1.1b1 Julien Le Dem
- Re: Xpath query in xindice 1.1b1 Terry Rosenbaum
- Re: Xpath query in xindice 1.1b1 Julien Le Dem