- From: Philippe Le Hegaret <plh@w3.org>
- Date: Mon, 05 Feb 2001 17:20:28 -0500
- 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. Philippe
Received on Monday, 5 February 2001 17:20:29 UTC