[jdom-interest] jaxen-jdom.jar in b10

Scott Corley SCorley at automatedlogic.com
Mon May 17 06:15:03 PDT 2004


I am getting the following problem when using xpath (via jaxen) :

java.lang.NoSuchMethodError: 
org.jdom.Element.getParent()Lorg/jdom/Element;
        at 
org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNaviga
tor.java:252)
        at 
org.jaxen.util.AncestorAxisIterator.createIterator(AncestorAxisIterat
or.java:89)
        at 
org.jaxen.util.StackedIterator.internalCreateIterator(StackedIterator
.java:118)
        at org.jaxen.util.StackedIterator.init(StackedIterator.java:106)
        at org.jaxen.util.StackedIterator.<init>(StackedIterator.java:90)
        at 
org.jaxen.util.AncestorAxisIterator.<init>(AncestorAxisIterator.java:
76)
        at 
org.jaxen.DefaultNavigator.getAncestorAxisIterator(DefaultNavigator.j
ava:122)
        at 
org.jaxen.expr.iter.IterableAncestorAxis.iterator(IterableAncestorAxi
s.java:82)
        at org.jaxen.expr.DefaultStep.axisIterator(DefaultStep.java:139)
        at 
org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:
188)
        at 
org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
        at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:716)
        at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:239)
        at org.jaxen.BaseXPath.selectSingleNode(BaseXPath.java:262)
        at org.jdom.xpath.JaxenXPath.selectSingleNode(JaxenXPath.java:154)
        at org.jdom.xpath.XPath.selectSingleNode(XPath.java:368)

I was wondering if anyone else had run into this or had a solution.

Regards,
Scott Corley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20040517/64457aec/attachment.htm


More information about the jdom-interest mailing list