W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2004

RE: [F&O] IBM-FO-040: Bugs in max and min examples

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Thu, 11 Mar 2004 11:54:01 -0800
Message-ID: <EDB607C8AC991F40BE646533A1A673E8017EB00A@RED-MSG-42.redmond.corp.microsoft.com>
To: "Don Chamberlin" <chamberl@almaden.ibm.com>, <public-qt-comments@w3.org>
Thanks, Don!  We got a number of comments on these bugs.  Fixed.

 

All the best, Ashok 

________________________________

From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Don Chamberlin
Sent: Thursday, March 04, 2004 5:59 AM
To: public-qt-comments@w3.org
Subject: [F&O] IBM-FO-040: Bugs in max and min examples

 


(IBM-FO-040): Sections 15.3.3 (fn:max) and 15.3.4 (fn:min): In both of
these sections, all the examples except the first one are syntactically
invalid because they pass many arguments to a function that accepts only
one argument. This needs to be fixed by enclosing the argument sequence
in parentheses. Also, in each of these sections, the fifth bulletted
example is missing a right-parenthesis at the end of the function
parameters. Also, the third bulletted example in each section claims it
can return either an integer or a double. But the text says that all
numeric values are promoted to a "single common type", implying that
(for example) max(5, 5.0e0) will always be of type xs:double. 

--Don Chamberlin
Received on Thursday, 11 March 2004 14:54:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:07 GMT