Re: Definition of malformed qualfied names

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 UTC