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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to