SoapElementImpl.copyContents skips child elements
-------------------------------------------------
Key: AXIS2-5006
URL: https://issues.apache.org/jira/browse/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);
childEle.appendChild(node);
}
==
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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]