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=5293>.
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=5293

Node.cloneNode fails to deep-copy

           Summary: Node.cloneNode fails to deep-copy
           Product: Xerces-J
           Version: 1.4.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Taking a Node with children from a Document and cloning it with cloneNode(true),
then putting it into a different Document results in a "Wrong Document" DOM
exception. See attached code example.

The implementation of cloneNode doesn't seem to actually do anything with the
boolean parameter "deep". It should recurse through the children, copying them
and obliterating their owner document.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to