[XPath 2.0] XPath 1.0 Compatibility Mode doesn't cover fn:number

In Section 3.1.5, the function conversion rules in XPath 1.0 Compatibility
Mode don't cover the number() function itself, which expects
xdt:anyAtomicType?. If you pass number() a sequence of multiple values, in
XPath 1.0 Compatibility Mode, you would want only the first value to be
used.  Perhaps another bullet point should added to the list, saying:

If the expected type is xdt:anyAtomicType or xdt:anyAtomicType?, then the
given value V is effectively replaced by V[1].
 
Thanks,
Priscilla Walmsley

Received on Wednesday, 4 February 2004 07:44:07 UTC