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

Re: Definition of malformed qualfied names

From: Martijn Pieters <mj@digicool.com>
Date: Thu, 1 Feb 2001 17:09:17 +0100
To: Joseph Kesselman <keshlam@us.ibm.com>
Cc: www-dom@w3.org
Message-ID: <20010201170917.A3916@zopatista.com>
On Thu, Feb 01, 2001 at 11:02:36AM -0500, Joseph Kesselman wrote:
> Qualified names are defined by the Namespaces Recommendation:

Yes, but when should an INVALID_CHARACTER_ERR be raised, and when a
NAMESPACE_ERR?

For example, is ':localName' malformed or is ':' an invalid character in
this case. Is 'foo:bar:baz' malformed, or again, is one colon an invalid
character?

In the case of the Node.prefix attribute, will setting it to 'foo:bar'
raise an INVALID_CHARACTER_ERR (':' is an invalid character according to
the prefix production), or should I expect a NAMESPACE_ERR?

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------
Received on Thursday, 1 February 2001 12:11:31 GMT

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