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