In XPath/XQuery Section 3.1.5, Function Calls, under "Function Conversion Rules", after atomization, we find the following rule: "Each item in the atomic sequence that is of type xdt:untypedAtomic is cast to the expected atomic type." This is not completely specified for certain built-in functions such as fn:abs() in which the expected parameter type is "numeric", which includes integer, decimal, float, and double. To complete the specification, we should insert the following sentence after the rule cited above: "For parameters of built-in functions where the expected type is specified as numeric, arguments of type xdt:untypedAtomic are cast to xs:double." --Don ChamberlinReceived on Thursday, 26 February 2004 17:29:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:06 GMT