W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005

DOM3 Core: changing .prefix of namespace declarations

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 18 Dec 2005 23:04:25 +0100
To: www-dom@w3.org
Message-ID: <0rlbq1liuagojv7dilieon9ejfhn6pmi09@hive.bjoern.hoehrmann.de>


  http://lists.w3.org/Archives/Public/www-archive/2005Dec/0017.html has
some observations how FireFox 1.5, Opera9, ASV6, SVG# 0.4, and Batik
handle changing the .prefix attribute of Attr nodes that are namespace
declarations. My reading of DOM Level 3 Core is that only FireFox con-
forms to the specification. I don't think that this behavior is obvious
though, and it seems the specification should be clarified what is re-
quired here.

I think DOM Level 3 Core is confusing about the range of checks DOM
implementations have to perform to prevent states that would render a
document namespace-illformed, create/setAttributeNS for example prevent
certain states, but that can be worked around by manipulating .prefix,
.value, etc. So I'm not really sure whether FireFox's behavior is
actually desired...

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 18 December 2005 22:04:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC