W3C home > Mailing lists > Public > public-forms@w3.org > September 2008

Definitions of events that are targetted to elements in different modules (xforms-binding-exception)

From: <Nick_Van_den_Bleeken@inventivegroup.com>
Date: Tue, 16 Sep 2008 11:01:06 +0200
To: XForms <public-forms@w3c.org>
Message-ID: <OFAF4AA76B.9E0021C9-ONC12574C6.00317C7F-C12574C6.00318BCF@inventivegroup.com>
Hi all,

While working on the XForms bind module for XForns 1.2 I hit the following 
problem:

  One may expect that The xforms-binding-exception Eventshould be defined 
in the bind module due to its name. But it is not only dispatched as an 
indication of: an illegal binding expression, or a bind attribute that 
fails to point to the ID of a bindelement, but also as an indication of a 
modelattribute that fails to point to the ID of a modelelement, or a 
submissionattribute that fails to point to the ID of a submissionelement, 
or an instanceattribute on the submissionelement that fails to point to an 
instanceelement in the same modelelement as the submission. I could change 
the wording and say that the event is dispatched as an indication of an ID 
resolution that fails and give the two relevant examples for this modules. 
Then other modules can point out that the event is dispatched when their 
ID resolution fails (submission, model,...) but this is maybe a bit 
confusing because the xforms-binding-exception event isn't dispatched when 
the ID resolution fails while processing the id() xpath function.

I hope I'm overlooking the answer to this problem, as always any help is 
welcome ;)

Regards,

Nick Van den Bleeken  -  Research & Development Manager
Inventive Designers
Phone: +32 - 3 - 8210170
Fax: +32 - 3 - 8210171
Email: Nick_Van_den_Bleeken@inventivegroup.com 
Inventive Designers' Email Disclaimer:   http://www.inventivedesigners.com/email-disclaimer =
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Received on Tuesday, 16 September 2008 09:02:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:49 UTC