W3C home > Mailing lists > Public > public-webapi@w3.org > March 2007

Re: Review comments of Editors Draft of Progress Events

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 09 Mar 2007 05:54:13 +0100
To: "Andrew Sledd" <Andrew.Sledd@ikivo.com>
Cc: <public-webapi@w3.org>, <chaals@opera.com>
Message-ID: <30p1v2hl1v46ehqm6o3g4rpacuku9m0qmk@hive.bjoern.hoehrmann.de>

* Andrew Sledd wrote:
>I of course support the use of the interface for extension and new event
>types, where approriately implemented. However for the event types
>defined in this spec it must be null, musn't it?

The draft defines that the pre-defined event types are in no namespace,
so yes, in order to properly initialize an event object you would pass
null. However, this has nothing to do with the definition of the method,
making the change you suggested would be similar to defining the create-
ElementNS method like so:

  ...
  namespaceURI
  ...
    * must be 'http://www.w3.org/2000/svg' for SVG elements
    * must be 'http://www.w3.org/1999/xhtml' for XHTML elements
    * ...

It would just be an incomplete and possibly confusing re-iteration of
facts that follow directly from the definitions in the specifications.
You also didn't ask that the typeArg parameter's definition notes that
it must be one of the pre-defined event type's local name.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 9 March 2007 04:54:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT