My exprerience is that Xerces simply forgets all attribute values in an importNode() operation, no matter which type. I fixed that in the importNode( ...) method of the DocumentImpl class. Now it works for me, but I can't guarantee that this is the complete solution as I didn't dig very deep into Xerces. It's just a single added line, but I have the sources on my notebook in the company - drop me a mail if you want me to send you that.
I've heard of an official fixed version somewhere in the Xerces CVS tree, but just didn't bother to search there. I hope 1.4 which will be released in the nearer futures fixes this. greetinx Johann > From: "Karl Scheibelhofer" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Thu, 19 Apr 2001 17:14:56 +0200 > To: "Xerces-j User" <[EMAIL PROTECTED]> > Subject: importNode does not care about IDs > > if i use importNode to import elements, Xerces (1.3.0 and 1.3.1) does not > care about identifiers and does not register them to the new document. i > think this is a bug. not registering the IDs to the new document does not > really make sense. does anyone have a different opinion? > > kind regards > > Karl Scheibelhofer > > -- > > Karl Scheibelhofer, <mailto:[EMAIL PROTECTED]> > Institute for Applied Information Processing and Communications (IAIK) > at Technical University of Graz, Austria, http://www.iaik.at > Phone: (+43) (316) 873-5540 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
