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.

Reply via email to