You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Martin Klang <ma...@pingdynasty.com> on 2000/08/25 18:25:53 UTC

cloneNode()

Hi all,

I've come across a problem when upgrading from xalan 1.1 to 1.2d01 - which
uses Xerces 1.1.2.

i'm storing Document objects in a cache after having parsed them, so i
make a deep copy using
doc.cloneNode(true);

after the upgrade, it seems that clone() creates a Document w/o root
element... getDocumentElement() returns null.

i've not seen this mentioned anywhere - is it a known bug with this
release?

thanks,

/martin