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

Re: WG clarification request for SVG_WRONG_TYPE_ERR

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 6 Aug 2004 13:52:14 +0000 (UTC)
To: Dean Jackson <dean@w3.org>
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, Jonathan Watt <jonathan.watt@strath.ac.uk>, www-svg@w3.org
Message-ID: <Pine.LNX.4.61.0408061348350.5615@dhalsim.dreamhost.com>

On Fri, 6 Aug 2004, Dean Jackson wrote:
>> 
>> What about a language in which methods can be dymically defined on 
>> objects as needed?
> 
> If I understand you correctly, then the methods are only defined on the 
> object when they are needed, right? In this case, it should be fine, as 
> long as the object can pass as an SVGMatrix.

Theoretically, if you have an object implemented in Perl (e.g.), you can 
define it in such a way that any method call results in a lookup, the 
lookup being potentially arbitrary code such as asking a remote site, 
checking the results of a random number, etc. An object in pure Perl 
typically isn't explicitly labelled as being "an SVGMatrix", it just 
happens to act like one. Or doesn't. Or acts like one for a bit then stops 
acting like one half way through...

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 6 August 2004 09:52:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC