SVGT 1.2: uDOM.{get,set}AttributeNS inconsistent with DOM3

SVG Tiny 1.2 uDOM gives the following exceptions for get/setAttributeNS:

DOMException NOT_SUPPORTED_ERR: Raised if getAttributeNS tries to get  
an unsupported attribute.
DOMException NOT_SUPPORTED_ERR: Raised if setAttributeNS tries to set  
an unsupported attribute.

And specifies that some attributes are unsupported. DOM Level 3 Core  
does not allow such exceptions, so this definition of a core  
interface is in conflict. The set of attributes that may be  
unsupported does not seem like a great help to clients.

Non-SVG elements must already support all attributes, and SVG  
elements must support many.  The benefit to implementations of  
leaving some attributes unsupported seems unclear. Thefore, the  
benefit of this significant departure from the DOM spec seems low.

I recommend removing this difference and specifying these methods via  
a verbatim quote from or normative reference to DOM Level 3 Core.

Regards,
Maciej

Received on Tuesday, 27 December 2005 06:11:06 UTC