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

Re: Comments on DOM 3 LS

From: Johnny Stenback <jst@netscape.com>
Date: Tue, 09 Sep 2003 15:52:32 -0700
Message-ID: <3F5E59B0.7040201@netscape.com>
To: Anjana Manian <Anjana.Manian@oracle.com>
Cc: www-dom@w3.org

Anjana Manian wrote:
> 
> Comments on DOM Level 3 Load and Save specification based on the June 19 version of the spec. 
> 
[...]
> - "Asynchronous DOMParser objects are expected to also implement the events::EventTarget interface so that event listener can be registered on asynchronous DOMParser objects": 
> 
> It will be much cleaner and clearer if DOMParser extends events:EventTarget interface instead of expecting the implementation to extend and support EventTarget. It could be argued that synchronous DOMParser is not required to implement the events::EventTarget and so it should not be a forced to implement one. In that case, a possible solution is to have a generic DOMParser interface and two other interfaces namely DOMParserSynchronous and DOMParserAsynchronous which extends DOMParser. Then the DOMParserAsynchronous could be made to implement the events::EventTarget interface. 

The DOM WG discussed this and given that the spec currently follows 
what's done in every other case where DOM objects are expected to be 
event targets, it was decided to leave the spec unchanged.

-- 
jst
Received on Tuesday, 9 September 2003 18:53:00 GMT

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