Re: SVG12: setAttributeNS exceptions

* Antoine Quint wrote:
>> states
>> that setAttributeNS does not throw any exception, this is not  
>> compatible
>> with DOM Level 3 Core and makes little sense, please do not encourage
>> ignoring errors silently, and make this method compatible with the  
>> DOM.
>Thanks for catching this mistake, the following exceptions have now  
>been added to Element::setAttributeNS() in the uDOM:
>NOT_SUPPORTED_ERR: Raised if setAttributeNS tries to set an  
>unsupported attribute.
>NO_MODIFICATION_ALLOWED_ERR: Raised if the attribute cannot be modified.
>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".

I didn't review the new text, it's clear by now that SVG Tiny 1.2 should
not copy and modify such text at all but use normative reference to
define such features.
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:47:33 UTC