XForms CR - 7.6.1

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 UTC