W3C home > Mailing lists > Public > www-forms@w3.org > February 2007

Re: Ordering of listeners at the current node

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Thu, 8 Feb 2007 15:44:08 +0000
Message-ID: <640dd5060702080744m3e19014ev1da4091bd7f5e6a7@mail.gmail.com>
To: www-forms@w3.org

Hi John,

> I apologize in advance if this is more of an XML Events question than an
> XForms question, but I wasn't sure in which spec my question might be
> answered.

It's actually a DOM 2 Events question. :)

> If you have multiple listeners listening for a particular event at a
> node, what (if anything) determines the order in which these listeners
> will be dispatched when the event reaches the node?

Nothing determines the order, and you can't make any assumptions about it.

> [...]
> or would the effect be
> implementation-defined, and why?

I'm not sure what 'implementation-defined' would mean. For example, we
wouldn't in formsPlayer say "this is the order we use", since the
whole point is that you can't rely on the order. If you did start
relying on it, then your form might behave differently in another



  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net * +44 (0) 20 7689 9232
  www.formsPlayer.com * internet-apps.blogspot.com

  standards. innovation.
Received on Thursday, 8 February 2007 15:44:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:55 UTC