W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

RE: DOM Level 2: EventTargets and Nodes

From: Glenn Adams <gadams@vgi.com>
Date: Wed, 29 Mar 2000 13:45:06 -0500
To: "'Arnaud Le Hors'" <lehors@us.ibm.com>, <Steve.Ball@zveno.com>
Cc: <www-dom@w3.org>
Message-ID: <000001bf99ae$e7580d90$2d020001@neo.vgi.com>

I would suggest using standard language found elsewhere in the document, e.g., "this interface is obtained by means of binding-specific casting on an instance of the Node interface."

-----Original Message-----
From: www-dom-request@w3.org [mailto:www-dom-request@w3.org]On Behalf Of
Arnaud Le Hors
Sent: Tuesday, March 28, 2000 8:10 PM
To: Steve.Ball@zveno.com
Cc: www-dom@w3.org
Subject: Re: DOM Level 2: EventTargets and Nodes

Steve Ball wrote:
> > The spec says:
> "The EventTarget interface is implemented by all Nodes
> in an implementation...".  However, EventTarget does
> not derive from Node, and there are no methods to
> create an association.  For Level 2, is this something
> extra that must be provided by the implementation?

Yes. The idea is that if your implementation supports the event module
then every node should implement this interface.

> ... 
>  I just can't
> see the coupling of a Node to an EventTarget.

There is no direct coupling. They are different interfaces that need to
be implemented by the same classes.
Arnaud  Le Hors - IBM Cupertino, XML Technology Group
Received on Wednesday, 29 March 2000 13:45:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC