Pierpaolo Fumagalli wrote:
> 
> I found a small "bug" or a discrepancy between how the SAX parser
> behaves and how the DOM parser does:

That's not a bug. As far as the DOM Level 2 is concerned every namespace
declaration attributes is, by definition, bound to
"http://www.w3.org/2000/xmlns/";. These are attributes whose the prefix
is "xmlns" or the qualifed name is "xmlns" (default namespace
declaration). This was recently decided so no public document reflects
this yet but, I'm the editor of the Core section of the DOM Level 2 spec
so you can trust me on that. ;-)

This decision has been ratified by the XML Core WG and will be stated in
the next revision of the Namespaces for XML specification. Until then, I
think we'll have to live with this discrepancy.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group

Reply via email to