W3C home > Mailing lists > Public > www-svg@w3.org > May 2005

Re: [SVGMobile12] namespace events are not qualified?

From: Jon Ferraiolo <jon.ferraiolo@adobe.com>
Date: Thu, 19 May 2005 04:49:41 -0700
To: KONO Masahiko <kono.masahiko@canon.co.jp>, www-svg@w3.org
Cc: kono.masahiko@canon.co.jp
Message-id: <6.1.1.1.2.20050519044613.0344e4a0@mailsj-v1.corp.adobe.com>

"click" and "ev:click" are equivalenced, so you can say either.

Most older W3C spec, including SVG 1.0/1.1, used DOM2 Events which did not 
support namespacing. With DOM3 Events, namespaced events were introduced 
and all of the standard events defined in the DOM3 Events spec were defined 
to be in the XML Events namespace. Thus, "click" was defined to be in 
ev:click. The only way to make it so that old content which just said 
"click" would still work in a user agent which moves up to DOM3 Events is 
to say that "click" and "ev:click" are equivalenced.

Jon

At 02:14 AM 5/19/2005, KONO Masahiko wrote:

>Dear SVG WG,
>
>15.3 XML Events
>
>SVG Tiny 1.2 uses namespaced events.  How can I deal namespace of events?
>In examples(handler.svg, javahandler.svg), 'click' event is registered.
>Should event attribute value be qualified(ev:click)?
>
>Best regards,
>
>--
>KONO Masahiko
>CANON INC.
>E-mail : kono.masahiko@canon.co.jp
Received on Thursday, 19 May 2005 11:57:35 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:30 GMT