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

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

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Wed, 4 Feb 2004 07:43:47 -0500
To: <public-qt-comments@w3.org>
Message-Id: <20040204124352.85904880234@egp.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC