Dearest Björn, Bjoern Hoehrmann wrote: > From http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html it > seems the draft is unclear how the various trait access operations will > behave when syntactically invalid parameters are passed, e.g. > > getTrait("+") > > does not appear to raise an exception. Please change the draft such that > such illegal parameters raise an exception, e.g. a INVALID_CHARACTER_ERR > DOMException. For any unknown trait name, the implementation will throw a DOMException with code NOT_SUPPORTED_ERR. Since there is no "+" trait, an exception will be thrown for your case. Differentiating between various types of non-existent traits incurs higher cost for implementations with no obvious gain. -- Robin Berjon Research Scientist Expway, http://expway.com/Received on Thursday, 19 May 2005 05:44:36 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:06 UTC