Re: attributes in the xml declaration

2000-09-14 Thread Martin Klang
in the beginning of DTD, however versionInfo is > optional in this case. > > _ > > > Eric Ye * IBM, JTC - Silicon Valley * [EMAIL PROTECTED] > > ----- Original Message - > From: "Martin Klang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTEC

attributes in the xml declaration

2000-09-14 Thread Martin Klang
Hey! xerces-j 1.1.2 -> just noted that this fails: with: org.xml.sax.SAXParseException: The XML declaration must end with "?>" whereas this works: also, seems i can leave the encoding attribute out of the xml file, but if i don't include it in the xml declaration of my dtd, eg:

cloneNode()

2000-08-25 Thread Martin Klang
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..