You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/10/30 13:58:20 UTC
[jira] Resolved: (AXIS2-4868) SOAPElement#removeChild doesn't work
correctly with text nodes
[ https://issues.apache.org/jira/browse/AXIS2-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIS2-4868.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.6
Committed a fix for this issue to the trunk (see r1029034).
> 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
> Fix For: 1.6
>
>
> 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