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

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

From: Ms2ger <ms2ger@gmail.com>
Date: Tue, 27 Mar 2012 15:50:38 +0200
Message-ID: <4F71C5AE.6060603@gmail.com>
To: Dieter Köhler <dieter.koehler@philo.de>
CC: "www-dom@w3.org" <www-dom@w3.org>
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 GMT

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