W3C home > Mailing lists > Public > www-svg@w3.org > August 2005

setAttributeNS method in SVGT 1.2 specification

From: Tomi Oinonen <tomi.oinonen@solita.fi>
Date: Wed, 31 Aug 2005 09:10:47 +0300
To: <www-svg@w3.org>
Message-ID: <E1EALoC-0001CL-1E@maggie.w3.org>

Hi,

Element interface in SVGT 1.2 specification has two methods:
- DOMString getAttributeNS(in DOMString namespaceURI, 
  in DOMString localName) raises(DOMException)
- void setAttributeNS(in DOMString namespaceURI, in DOMString
  localName, in DOMString value)
 
First method getAttributeNS raises DOMException with NOT_SUPPORTED_ERR if
getAttributeNS tries to get an unsupported attribute. Should setAttributeNS
method be able to raise same exception if setAttributeNS tries to set an
unsupported attribute? Then the logic of these methods would be equal.

Thanks,
- Tomi
Received on Wednesday, 31 August 2005 06:10:52 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:31 GMT