W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

Re: Marked addEventListenerNS and removeEventListenerNS At Risk

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sun, 13 Sep 2009 15:17:13 +0300
Message-ID: <4AACE2C9.1000807@helsinki.fi>
To: Doug Schepers <schepers@w3.org>
CC: "www-dom@w3.org" <www-dom@w3.org>
FYI, XML Events 1.0[3] relies on DOM 2 Events, so it doesn't
need namespaced events.
XML events 2.0 is still just a draft, and it just says "However, future 
versions of DOM Events are likely to allow namespaced event names, so 
language designers are advised not to use the colon character ":" in 
event names."



-Olli

Doug Schepers wrote:
> Hi, DOM3 Events folks-
> 
> (BCC to groups potentially affected.)
> 
> I have marked addEventListenerNS and removeEventListenerNS at-risk in 
> the latest Editor's Draft of the DOM3 Events specification [1]. This 
> means that we are gathering information on whether we can safely remove 
> these methods from the specification.
> 
> Apparently, these are not yet implemented in desktop browsers, so there 
> has been a call to reexamine their inclusion in this specification. I 
> personally suspect that there is not much of an implementation burden 
> regarding these methods, but I would welcome implementer feedback on the 
> matter.
> 
> I don't know how widely deployed other implementations are, nor how much 
> content relies on these methods. I do note that it is supported in Batik 
> [2] and Inkscape, and more generally in Java implementations of the DOM. 
> I believe that other W3C specifications may rely on it (XML Events [3], 
> maybe XForms). Any evidence that removing these methods from the 
> specification should be sent to www-dom@w3.org.
> 
> We also welcome use cases in favor of retaining or removing them. My 
> inclination is to retain the namespace-aware methods, since there are 
> existing implementations, so evidence that removing them will be 
> beneficial will have to be pretty strong, but it's on the table.
> 
> Thanks for your feedback.
> 
> [1] 
> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.80 
> 
> [2] 
> http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/dom/events/NodeEventTarget.html#addEventListenerNS%28java.lang.String,%20java.lang.String,%20org.w3c.dom.events.EventListener,%20boolean,%20java.lang.Object%29 
> 
> [3] http://www.w3.org/TR/xml-events/
> 
> Regards-
> -Doug Schepers
> W3C Team Contact, SVG and WebApps WGs
> 
> 
Received on Sunday, 13 September 2009 12:17:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:03 GMT