You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Cencio1980 <ce...@gmail.com> on 2010/10/28 18:21:40 UTC

[AXIS2] Bug in saaj TextImplEx

Hi all,

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.
In attachment a simple client that reproduce the bug. Any workaround or fix?

Thanks,
Lorenzo

Re: [AXIS2] Bug in saaj TextImplEx

Posted by Andreas Veithen <an...@gmail.com>.
See AXIS2-4868 [1].

Andreas

[1] https://issues.apache.org/jira/browse/AXIS2-4868

On Thu, Oct 28, 2010 at 18:21, Cencio1980 <ce...@gmail.com> wrote:
> Hi all,
>
> 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.
> In attachment a simple client that reproduce the bug. Any workaround or fix?
>
> Thanks,
> Lorenzo
>