Erratum DOM 3 Core: Node interface, prefix attribute

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 UTC