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

[F&O] op:to doesn't match language specification

From: Sarah Wilkin <swilkin@apple.com>
Date: Wed, 15 Dec 2004 16:31:44 -0800
Message-Id: <DCB01744-4EF9-11D9-B937-000A278462D6@apple.com>
To: public-qt-comments@w3.org

In the October 04 language specification op:to was changed to have 
optionally have empty operands:
"Each of the operands of the to operator is converted as though it was 
an argument of a function with the expected parameter type xs:integer?. 
If either operand is an empty sequence, or if the integer derived from 
the first operand is greater than the integer derived from the second 
operand, the result of the range expression is an empty sequence..."

Which means in F&O the signature
op:to($firstval as xs:integer, $lastval as xs:integer) as xs:integer*

should be:
op:to($firstval as xs:integer?, $lastval as xs:integer?) as xs:integer*

Received on Thursday, 16 December 2004 00:32:18 UTC

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