You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/12/11 15:01:30 UTC
DO NOT REPLY [Bug 15263] -
The clone element cannot append the new document
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=15263>.
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=15263
The clone element cannot append the new document
elena@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From elena@apache.org 2002-12-11 14:01 -------
In DOM L1 and L2 you can't move nodes from one document to another:
http://www.w3.org/DOM/faq.html#moveNode
See also description of appendChild (http://www.w3.org/TR/2002/WD-DOM-Level-3-
Core-20021022/core.html#ID-184E7107) that states that WRONG_DOCUMENT exception
will be thrown in this case.
To move nodes in DOM L3 -- use Xerces implementation of adoptNode
(http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Document3-
adoptNode)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org