W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

Erratum DOM 3 Core: Node interface, prefix attribute

From: Dieter Köhler <dieter.koehler@philo.de>
Date: Tue, 27 Mar 2012 15:40:40 +0200
Message-ID: <4F71C358.40405@philo.de>
To: "www-dom@w3.org" <www-dom@w3.org>
The DOM 3 specification states that an NAMESPACE_ERR must be triggered 
on setting the prefix attribute of the Node interface under the condition:

  "... if the namespaceURI of this node is null ..."

I would suggest changing the condition into:

  "... if the namespaceURI of this node is null and the new value for 
prefix is neither an empty DOMString or null ..."

Reason: When no attempt is made to actually assign a value to the prefix 
an exception is superfluous, because nothing is changed.

Dieter Köhler


PD Dr. Dieter Köhler
Am Büchsenackerhang 40
69118 Heidelberg
Germany
Received on Tuesday, 27 March 2012 13:41:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT