I'm having some troubles using nodes, that are passes to my extension
function. My methods signature looks like this:

public static int method( NodeList nodes, String name )

The problem is that when I call getChildNodes() on the node in the passes
nodelist, the following exception occurs:
org.apache.xml.dtm.DTMDOMException:
    at
org.apache.xml.dtm.ref.DTMNodeProxy.getChildNodes(DTMNodeProxy.java:357)
.....

So the example that makes this happen is:
Node node = nodes.item( 0 ); // nodes is not empty
NodeList children = node.getChildNodes();


Has anyone experienced anything like described here, I would appreciate it
very much to help me out.


Greetings,
Uros-J


Reply via email to