W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2000

Node.setPrefix() documentation

From: Garret Wilson <garret@globalmentor.com>
Date: Wed, 20 Dec 2000 08:48:27 -0800
Message-ID: <006a01c06aa4$ae3eb5a0$7245a640@pacbell.net>
To: "www-dom list" <www-dom@w3.org>
In the documentation for interface Node, the documentation states that
Node.setPrefix() can throw a DOMException with type NAMESPACE_ERR in the
following instances:

<DOM2Core20001113>
NAMESPACE_ERR: Raised if the specified prefix is malformed, if the
namespaceURI of this node is null, if the specified prefix is "xml" and the
namespaceURI of this node is different from
"http://www.w3.org/XML/1998/namespace", if this node is an attribute and the
specified prefix is "xmlns" and the namespaceURI of this node is different
from "http://www.w3.org/2000/xmlns/", or if this node is an attribute and
the qualifiedName of this node is "xmlns" [Namespaces].
</DOM2Core20001113>

Should the last phrase, "if this node is an attribute and the qualifiedName
of this node is 'xmlns'" really state, "if this node is an attribute and the
prefix of this node is 'xmlns'"?

Garret Wilson
GlobalMentor, Inc.
Received on Wednesday, 20 December 2000 11:49:09 GMT

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