- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Sat, 2 Mar 2002 12:07:16 +0100
- To: "'Nagy, Marton'" <MARTON.NAGY@saic.com>, "'Oleg Tkachenko '" <olegt@multiconn.com>
- Cc: "'www-xml-query-comments@w3.org '" <www-xml-query-comments@w3.org>, "'Ashok Malhotra '" <ashokma@microsoft.com>, "'w3c-query-operators@w3.org '" <w3c-query-operators@w3.org>
> > Excuse me if I missed something, just one question. In XQuery1.0 > > XPath2.0 Data model defined item-at accessor, which > "returns the item in > > > > the sequence at the specified index" and this index is defined as > > xs:decimal. Is there a reason for the index to be decimal > rather than > > integer? If so, anyway, the rules of rounding must be defined also. There is a technical reason that many of these functions are defined to take decimal rather than integer, namely that 2+2 returns a decimal rather than an integer, and you want to be able to use such an expression as the supplied argument. However, we're looking at other possible solutions to this problem. Mike Kay
Received on Saturday, 2 March 2002 06:07:28 UTC