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

Re: CR: prefix

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 05 Feb 2001 17:20:28 -0500
Message-ID: <3A7F272C.52AA9F83@w3.org>
To: Dieter Köhler <dieter.koehler@ppp.uni-bamberg.de>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Dieter Köhler wrote:
> The description of the Node.prefix attribute says: "For nodes of any type other
> than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM Level 1
> method, such as createElement from the Document interface, this is always
> null."  --  Does this imply that a NAMESPACE_ERR exception is raised if an
> attempt is made to set the value of 'prefix' to something else than an empty
> string, or does it imply that such an attempt is just ignored?

Since the namespaceURI is also null, you'll get a NAMESPACE_ERR exception.

Received on Monday, 5 February 2001 17:20:29 UTC

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