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

Re: Marked addEventListenerNS and removeEventListenerNS At Risk

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 12 Sep 2009 19:02:09 -0700
Message-ID: <63df84f0909121902y7afc3d75j1e29d87719ee71bb@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Doug Schepers <schepers@w3.org>, "www-dom@w3.org" <www-dom@w3.org>
On Sat, Sep 12, 2009 at 4:35 PM, Anne van Kesteren <annevk@opera.com> wrote:
> On Sat, 12 Sep 2009 23:39:58 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> Finally, it doesn't seem like namespaced events even solves a real
>> problem. If you want to avoid naming conflicts you can call your
>> events "com.example.www.myEvent", or even
>>
>> "http://www.example.com/myEventsNameSpace/applications/mail/emailReceived".
>
> The latter would actually not work due to the NCName restrictions, though
> maybe that should be removed too to make this possible.

Yeah, that seems like a good idea.

For the record, I think I should fess up to being an advocate for the
namespaced methods way back when we discussed it in Oslo in 2006. I
believe Maciej was advocating for nuking the namespaced methods. I now
believe that he was right and I was wrong :)

/ Jonas
Received on Sunday, 13 September 2009 02:03:12 GMT

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