axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brecht Yperman (JIRA)" <>
Subject [jira] [Created] (AXIS2-5006) SoapElementImpl.copyContents skips child elements
Date Mon, 18 Apr 2011 12:57:05 GMT
SoapElementImpl.copyContents skips child elements

                 Key: AXIS2-5006
             Project: Axis2
          Issue Type: Bug
          Components: saaj
    Affects Versions: 1.5.4
            Reporter: Brecht Yperman
            Priority: Blocker

When adding elements using appendChild, I lose elements

It seems to boil down to

== org.apache.axis2.saaj.SOAPElementImpl lines 936 - 940
NodeList children = child.getChildNodes();        
        for (int i = 0; i < children.getLength(); i++) {
            Node node = children.item(i);

The appended child seems to be removed from the original, causing children.getLength() to
be smaller every iteration, causing elements to be missed.

I did not experience this problem in 1.5

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message