W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2008

Re: Question about nested XForms actions and ev:observer

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Sun, 18 May 2008 07:37:31 -0700
Message-ID: <a707f8300805180737m5bac1653u6f6cdd0a3a95816a@mail.gmail.com>
To: "Erik Bruchez" <ebruchez@orbeon.com>
Cc: "public-forms (new)" <public-forms@w3.org>, www-html-editor@w3.org

Hi Erik,

> That sounds reasonable. Is it correct to say that, assuming XHTML+XForms,
> the ev:* attributes are expected to be *always* honored on XForms action
> elements, *except* if they are present on elements within inline instances?

I suppose you could say that. But I think what we have is more that
the ev:* attributes are used *initially* to register all of the
handlers, but from then on they don't feature in the processing.
(Actually, when XML Events 2 is used, you'll get conditional
processing from an ev:* attribute, but that isn't relevant here.)

So, once every has been set up, then when the outer handler is
invoked, it simply 'executes' each of its children--and you might as
well have removed the attributes, for all the impact they will have on
that processing.

And on the inner handlers, as John says, when they are invoked in
response to their events, they act just as is if they are outer
handlers. And as before, their attributes are also no longer relevant.

So I would see them more as instructions to register handlers, but
that have no impact on event processing. Then the whole inner/outer
question just disappears.

Regards,

Mark

-- 
 Mark Birbeck

 mark.birbeck@x-port.net | +44 (0) 20 7689 9232
 http://www.x-port.net | http://internet-apps.blogspot.com

 x-port.net Ltd. is registered in England and Wales, number 03730711
 The registered office is at:

 2nd Floor
 Titchfield House
 69-85 Tabernacle Street
 London
 EC2A 4RR
Received on Sunday, 18 May 2008 14:38:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:57 GMT