>java.lang.NoSuchMethodError
>at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:231)
>I cannot seem to find the "addNode" method in the source.

It's there. In the version currently checked into CVS, it's on line 200; it
may be a bit above or below that point in earlier code.
  protected int addNode(Node node, int level, int parentIndex,
                        int previousSibling, int forceNodeType)

Note that the problem is being reported as occurring  on line 231. You
might want to check the version of the code you're executing to find out
what we're trying to call at that point.

I suspect the problem is actually that you're tyring to pass a Level 1 DOM
into this code. DOM2DTM currently requires the DOM Level 2 APIs
(getLocalName in particular), and if your DOM doesn't support them you can
expect a NoSuchMethodError.

(NoSuchMethodError can also be thrown if our coroutine support
malfunctions, but that doesn't seem to be relevant to the call stack you
showed us.)

Reply via email to