OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Java DOM implementations and cloneNode

[ Lists Home | Date Index | Thread Index ]
  • From: ralphc@bellsouth.net (Ralph Richard Cook)
  • To: "Don Park" <donpark@quake.net>, xml-dev@ic.ac.uk
  • Date: Thu, 28 Jan 1999 00:17:42 GMT

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS