axis-java-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AXIS2-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030421#comment-13030421
] 

Hudson commented on AXIS2-5006:
-------------------------------

Integrated in axis2-1.6 #30 (See [https://builds.apache.org/hudson/job/axis2-1.6/30/])
    AXIS2-5006: Merged r1100628 to the 1.6 branch.


> 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
>             Fix For: 1.5.5, 1.6.0
>
>
> 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