W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2003

RE: ORA-FO-EXAMPLES-MAX 15.3.3 fn:max, 15.3.4 fn:min

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Tue, 1 Jul 2003 22:44:03 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DCFA6@daemsg02.software-ag.de>
To: Stephen Buxton <stephen.buxton@oracle.com>, public-qt-comments@w3.org
There was supposed to be a note explaining this, but it seems to have got
lost. And I think it should be ($val eq $val).
 
The condition $val eq $val is true except when $val is NaN. This predicate
therefore has the effect of discarding NaNs from the sequence.
 
Michael Kay

-----Original Message-----
From: Stephen Buxton [mailto:stephen.buxton@oracle.com] 
Sent: 30 June 2003 15:36
To: public-qt-comments@w3.org
Subject: ORA-FO-EXAMPLES-MAX 15.3.3 fn:max, 15.3.4 fn:min 



Functions and Operators, Section 15.3.3 fn:max <fn:max> , 15.3.4 fn:min
<fn:min>  


Why do we have "$val ne $val" in the example queries? Surely this condition
will cause the query to return the empty sequence ?
Received on Tuesday, 1 July 2003 16:44:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:48 UTC