Re: Erratum DOM 3 Core: Node interface, prefix attribute

Hi,

On 03/27/2012 03:40 PM, Dieter Köhler wrote:
> 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.

The DOM 3 Core specification is no longer being maintained. DOM4 [1] is 
intended to replace it.

HTH
Ms2ger

[1] http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html

Received on Tuesday, 27 March 2012 13:51:16 UTC