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] Created: (AXIS2-4868) SOAPElement#removeChild doesn't work correctly with text nodes
Date Sat, 30 Oct 2010 11:52:20 GMT
SOAPElement#removeChild doesn't work correctly with text nodes
--------------------------------------------------------------

                 Key: AXIS2-4868
                 URL: https://issues.apache.org/jira/browse/AXIS2-4868
             Project: Axis2
          Issue Type: Bug
          Components: saaj
    Affects Versions: 1.5.2
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen


This issue was originally reported in [1].

Original problem description:

[quote]
i have a problem using saaj implementation of AXIS2 (1.5.2) with xmlsec: after encrypt a node
it delete it's original content with this algorithm:

while (node.hasChildNodes()) {
   node.removeChild(node.getFirstChild());
}

that fail with TextNodes. 
[/quote]

This code indeed triggers a DOM NOT_FOUND_ERR exception with Axis2's SAAJ implementation.

[1] http://markmail.org/thread/lcma3lp3jnfmp476

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
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