W3C home > Mailing lists > Public > www-svg@w3.org > October 2004

Comments in svg.idl (SVG1.1)

From: Jim Ley <jim@jibbering.com>
Date: Sun, 31 Oct 2004 13:03:43 -0000
To: www-svg@w3.org
Message-ID: <cm2nrt$slf$1@sea.gmane.org>


In a recent discussion about the SVG1.1 DOM [1] some confusion about the 
SVGLength (amoung others)


interface SVGLength {
    readonly attribute unsigned short unitType;
             attribute float          value;
                         // raises DOMException on setting

The problem here is exactly what the comment there means, and why if setting 
it raises a DOMException, why is it not just readonly?   Taking that comment 
as being right, this would mean that the SVGDom was entirely read only as 
any attempt to change would not be there.

The ECMAScript IDL doesn't have the same restrictions.  Should these 
comments really be in the IDL, and if they should, what are they trying to 



[1] http://svg.jibbering.com/svg/2004-10-31.html#T13-04-17 
Received on Sunday, 31 October 2004 13:04:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:00 UTC