RE: [F&O] Contradiction between fn:boolean and definition of Effective Boolean Value

Yes, thanks for the comment. These documents are snapshots of work in
progress and in this case the XPath language specification reflects recent
decisions that have not yet been applied to the F+O document.

Michael Kay

 

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of Colin 
> Paul Adams
> Sent: 14 February 2005 15:08
> To: public-qt-comments@w3.org
> Subject: [F&O] Contradiction between fn:boolean and 
> definition of Effective Boolean Value
> 
> 
> The definition of Effective Boolean Value says that a type error (BTW,
> no error code is specified, as far as I can see) should be raised in
> all other cases (a non-atomic sequence longer than one item where the
> first item is not a node (?)).
> 
> But in F&O, fn:boolean says it returns true() in all other cases.
> 
> And the two definitions seem to me to say that they are equivalent to
> each other.
> 
> I assume that it is the definition of fn:boolean that is wrong.
> -- 
> Colin Paul Adams
> Preston Lancashire
> 
> 

Received on Monday, 14 February 2005 15:41:14 UTC