Java DOM implementations and cloneNode

Ralph Richard Cook ralphc at bellsouth.net
Thu Jan 28 00:17:25 GMT 1999


On Tue, 26 Jan 1999 00:02:39 -0800, you wrote:

>>Am I expecting too much here? Shouldn't the classes that implement the
>>DOM interfaces be able to copy via cloneNode, which is a DOM interface
>>function? Is this a bug or expected behavior?
>
>
>It is not a well known fact that DOM Level 1 does not dictate inter-document
>operations or movement of nodes between documents.  You will find that
>following is true:
>
From looking at XML4J's source code (kudos, IBM) that the TXDocument,
TXElement, etc classes do actual copies of things. From observing the
behavior of Sun's Project X, since they don't supply source code
(raspberries, Sun) it looks like they don't. I guess I'll try
traversing the document and re-create it item by item. Thanks.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list