All,
Please consider the comments below on "XML Events 2 W3C Working Draft
16 February 2007" [1]:
1. event() function's return type
---------------------------------
In [1], event() returns a node-set. In XForms 1.1 CR, event() returns
an object [2]. Practically, it can return at runtime node-set, string,
and number objects.
Please make this consistent with XForms 1.1 by allowing a return type
of object.
2. Ability to register multiple events with the @event attribute
----------------------------------------------------------------
It is often useful to register the same handler for multiple
events. The @event attribute is defined as a QName, therefore not
including spaces.
My request is to extend the content of the @event attribute to support
a space-separated list of QName, with the meaning of listening to more
than one event type.
Example with XForms:
<xforms:action ev:event="xforms-valid xforms-invalid">
...
3. Ability to register multiple observers with the @observer attribute
-----------------------------------------------------------------------
Similarly, it is useful to attach a handler to multiple observers.
My request is to extend the content of the @observer attribute to
support a space-separated list of IDREF, with the meaning of attaching
the handler as an observer to more than one location.
Example with XForms:
<xforms:action ev:event="xforms-value-changed" ev:observer="trigger1
trigger2">
...
4. Ability to register multiple targets with the @targetid attribute
--------------------------------------------------------------------
Similarly, it is useful to specify a match for multiple targets.
My request is to extend the content of the @ targetid attribute to
support a space-separated list of IDREF, with the meaning of checking
on more than one target.
Example with XForms:
<xforms:action ev:event="xforms-value-changed" ev:targetid="trigger1
trigger2">
...
Best,
-Erik
[1] http://www.w3.org/TR/2007/WD-xml-events-20070216/
[2] http://www.w3.org/TR/xforms11/#fn-event
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/