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

Adding DocumentFragments throws Wrong Document exception

           Summary: Adding DocumentFragments throws Wrong Document exception
           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]


The documentation of DocumentFragment states that it acts like a lightweight
document, allowing the user to "cut" a bunch of nodes from one Document and
"paste" it into another. When I tried this, I got a DOM Wrong Document exception.

It looks like the top of the DocumentFragment is checked to see if it's a
document fragment, but its children don't have their owner document reset to the
new document.

Demonstration file attached.

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

Reply via email to