DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6551>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6551 javax.xml.transform.Transformer delete nodes from DOMSource [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-02-19 17:42 ------- Sorry, but this one looks like a bug in your code. The statement df.appendChild(node); explicitly removes the node from its previous context and makes it a child of the DocumentFragment instead. Looks to me like that's your problem, not the Transformer. You can test this by commenting out the call to Transformer and seeing that your document still gets damaged. If so, you can fix the problem by changing this to df.appendChild(node.cloneNode()); ... or by reinserting the node back into its original context after the transformation has run. If you can come up wih a testcase that shows the transformation itself causing trouble, please post a new bug report.
