Yes, I was able to verify both defects against 1.0.3:
1) In org.apache.xerces.dom.ElementImpl.setAttributeNS(), doc defect where localName should really be qualifiedName.
2) We seem to be missing code in
org.apache.xerces.dom.DocumentImpl.importNode() to deal with ElementNSImpl and AttrNSImpl Nodes.
We need to open defects.
Thanks,
Jeffrey Rodriguez XML Development IBM Cupertino
From: Adam Winer <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Xerces-J 1.0.3 bugs Date: Wed, 8 Mar 2000 19:14:47 -0800 (PST)
A couple of bugs in the newly released 1.0.3 (but neither are regressions).
First, a doc bug: In org.apache.xerces.dom.ElementImpl.setAttributeNS(), the second String parameter is named and doc'd as a local name, but is in fact a qualified name. This is correctly doc'd on org.w3c.dom.Element.
And a code bug: org.apache.xerces.dom.DocumentImpl.importNode() (and, consequently, cloneNode()) lose namespace information. This is fairly obvious from code inspection: Elements are only created with Document.createElement(), Attrs with createAttribute(). So a DOM tree containing ElementNSImpl's and AttrNSImpl's comes out as just ElementImpl's and AttrImpl's.
-- Adam Winer [EMAIL PROTECTED] Oracle Corp.
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com