Question about MIP childs of binds (XForms 1.2 : Unified evaluation context)

John,

While working on my action items, and more specific Unified evaluation 
context(1).  I've re-read your e-mail (2) related to this action item. I 
completely agree with most of your remarks. But I'm not convinced by your 
proposal to specify "that the element relevant could 
be defined as automatically applying boolean-from-string to the string 
result", because:

1) XForms 1.0 and 1.1 define that boolean() is used to convert the node 
set to a boolean for the MIPs
2) Other w3c specs use the same strategy as XForms 1.0 and 1.1 to come to 
an 'effective boolean' : XPath (see (3) (4) and (5) for places where 
boolean() is used to convert a node set to a boolean), XSLT, ...
3) When we will use boolean-from-string() instead of boolean() it becomes 
really counter intuitive to check for existence of a node example : 
if(<xpath-expr>, 'true', 'false')


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

(1) http://www.w3.org/MarkUp/Forms/wiki/Unified_evaluation_context
(2) http://lists.w3.org/Archives/Public/public-forms/2008Feb/0022.html
(3) http://www.w3.org/TR/xpath#section-Function-Calls
(4)http://www.w3.org/TR/xpath#booleans
(5)http://www.w3.org/TR/xpath#predicates

--------------------------------------------------

Inventive Designers' Email Disclaimer:

http://www.inventivedesigners.com/email-disclaimer

Received on Tuesday, 26 February 2008 11:02:00 UTC