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

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