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

Re: WG clarification request for SVG_WRONG_TYPE_ERR

From: Dean Jackson <dean@w3.org>
Date: Fri, 6 Aug 2004 23:41:25 +1000
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Jonathan Watt <jonathan.watt@strath.ac.uk>, www-svg@w3.org
Message-ID: <20040806134125.GY13917@grorg.local>

On Thu 05 Aug 2004, Boris Zbarsky wrote:

> Jonathan Watt wrote:
> >I specifically want to know
> >what should happen when createSVGTransformFromMatrix is passed an object
> >that is not an SVGMatrix.
> Along the same lines, what does it mean, in a weakly typed language, for an 
> object to be or not to be an SVGMatrix?

SVGMatrix still has a defined type even in a weakly-typed language,
doesn't it? I mean, if an instance can be used as (or cast as) 
as an SVGMatrix then it's OK. If it can't then it is an
error. Or am I missing something?

> 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.

Received on Friday, 6 August 2004 09:42:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:59 UTC