W3C home > Mailing lists > Public > www-forms-editor@w3.org > March 2003

XForms CR - 7.6.1

From: <AndrewWatt2001@aol.com>
Date: Sat, 8 Mar 2003 16:15:45 EST
Message-ID: <8.3530e4e1.2b9bb781@aol.com>
To: xforms@yahoogroups.com, www-forms-editor@w3.org, www-forms@w3.org

The definition of the boolean-from-string() function seems to me to need some 
attention.

In the CR text it is indicated that a single string argument is taken. An 
explanation of output if the argument is of type xsd:boolean is provided. 
With an xsd:boolean argument or perhaps a node-set (single node?), isn't 
there an implicit conversion to string, which isn't mentioned? Perhaps it 
should be spelled out, if such an implicit conversion was intended?

Additionally, since the argument is stated to be a string ... presumably any 
arbitrary string ... what would 
boolean-from-string("Mary had a little lamb") return? The value returned from 
an arbitrary string isn't specified.

It seems to me that consideration of some redrafting or clarification might 
be beneficial.

Andrew Watt
Received on Saturday, 8 March 2003 16:16:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:12 GMT