Re: Ordering of listeners at the current node

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
processor.

Regards,

Mark

-- 
  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