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

Ordering of listeners at the current node

From: Clark, John <CLARKJ2@ccf.org>
Date: Thu, 8 Feb 2007 10:19:33 -0500
Message-ID: <F122C25B4CD6F34BB119A97593679601027CA804@CCHSCLEXMB59.cc.ad.cchs.net>
To: www-forms@w3.org

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

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?

For example (assuming that `xf` maps to the XForms namespace and `ev`
maps to the XML Events namespace):

  <xf:message ev:event="some-event" ev:observer="foo">Hello</xf:message>
  <!-- ... -->
  <xf:message ev:event="some-event" ev:observer="foo">World</xf:message>

When `some-event` reaches the node with ID "foo", would "Hello" precede
"World", would "World" precede "Hello", or would the effect be
implementation-defined, and why?

Take care,

    John L. Clark  |  Systems Analyst
                   |  Cardio-Thoracic Surgery Research
 Cleveland Clinic  |  9500 Euclid Ave.   |  Cleveland, OH 44195
                   |  (216) 445-6011


Cleveland Clinic is ranked one of the top 3 hospitals in
America by U.S.News & World Report. Visit us online at
http://www.clevelandclinic.org for a complete listing of
our services, staff and locations.

Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.
Received on Thursday, 8 February 2007 15:19:48 UTC

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