axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AXIS2-5006) SoapElementImpl.copyContents skips child elements
Date Sat, 07 May 2011 19:44:03 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen reassigned AXIS2-5006:
--------------------------------------

    Assignee: Andreas Veithen

> 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
>            Assignee: Andreas Veithen
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message