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>


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.

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:29:28 UTC