W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2005

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

From: Michael Kay <mhk@mhk.me.uk>
Date: Mon, 14 Feb 2005 15:40:16 -0000
To: "'Colin Paul Adams'" <colin@colina.demon.co.uk>, <public-qt-comments@w3.org>
Message-ID: <E1D0iLa-0002fh-Hz@frink.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC