W3C home > Mailing lists > Public > www-svg@w3.org > April 2006

Re: SVG12: SVGGlobal vs ELI2

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 25 Apr 2006 11:09:03 -0700
Message-Id: <0408EAB3-DE4E-4210-9BFD-F14D9D8BDAD3@apple.com>
Cc: derhoermi@gmx.net, www-svg@w3.org
To: Nandini Ramani <Nandini.Ramani@Sun.COM>

On Apr 25, 2006, at 1:19 AM, Nandini Ramani wrote:

> Dear Bjoern,
>   This is an answer to your comment at:
> http://lists.w3.org/Archives/Public/www-svg/2005Dec/0260.html
> The EventListenerInitializer2 interface is required for other  
> language bindings besides ECMAScript
> and is a requirement for JSR226. Since we have addressed your  
> original concern,
> http://lists.w3.org/Archives/Public/www-svg/2005Jul/0060.html
> the WG has resolved to leave this in the SVGT 1.2 spec.

EventListenerInitializer2 is meant to be implemented by Java objects  
that are attached to a <handler> element. That makes sense. But why  
does the global object need to implement this interface? In fact, the  
description of EventListenerInitializer2 says:

"Note: Script code must not invoke the EventListenerInitializer2  
methods directly (they are are only called by the User Agent  
implementation during the parsing or execution of 'script',  
'listener' or 'handler' elements). User Agents must prevent user  
scripts from invoking the methods."

So script code couldn't call these methods on the global object, and  
the UA would not call them on the global object, so claiming the  
global object implements the interface makes no sense.

Received on Tuesday, 25 April 2006 18:09:17 UTC

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