W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2008

[Bug 5651] [FS] Static typing rules for fn:boolean.

From: <bugzilla@farnsworth.w3.org>
Date: Tue, 22 Apr 2008 13:25:00 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JoIUW-0005qA-Ah@farnsworth.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5651





------- Comment #2 from mike@saxonica.com  2008-04-22 13:25 -------
>Should the definition of fn:boolean be changed to read "If $arg is a sequence
of one or more nodes, fn:boolean returns true"?

No, absolutely not. This would mean that a dynamic implementatation would have
to read the whole sequence, perhaps containing a million nodes, before it can
establish that there are no atomic values in the sequence and it can therefore
return true.
Received on Tuesday, 22 April 2008 13:25:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:22 UTC