Re: SVG12: createElementNS exceptions

* Antoine Quint wrote:
>> defines
>> createElementNS to throw only NOT_SUPPORTED_ERR exceptions, this is  
>> not
>> compatible with DOM Level 3 Core, e.g. INVALID_CHARACTER_ERR must be
>> thrown for illegal names, this is tested for many times in the DOM  
>> Test
>> suite, please change the draft such that compliant implementations are
>> not non-compliant to DOM Level 3 Core in this regard.
>Thanks for catching this mistake, the following exceptions have now  
>been added to Document::createElementNS() in the uDOM:
>INVALID_CHARACTER_ERR: Raised if the specified local name is not an  
>XML name.
>NAMESPACE_ERR: Raised if the qualifiedName is malformed per the  
>Namespaces in XML specification, if the qualifiedName has a prefix  
>and the namespaceURI is null, if the qualifiedName has a prefix that  
>is "xml" and the namespaceURI is different from " 
>XML/1998/namespace", if the qualifiedName or its prefix is "xmlns"  
>and the namespaceURI is different from " 
>xmlns/", or if the namespaceURI is ""  
>and neither the qualifiedName nor its prefix is "xmlns".


it's clear that normative reference should be used to define this.
Björn Höhrmann · ·
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · 

Received on Sunday, 29 January 2006 19:48:18 UTC