http://www.w3.org/Bugs/Public/show_bug.cgi?id=3718 ------- Comment #2 from tim@cbcl.co.uk 2006-09-13 15:37 ------- Fair point. The reason we came across this was because under the Formal Semantics normalization for function calls, we get: fn:index-of($seqParam as xs:anyAtomicType*, $srchParam as xs:anyAtomicType) fn:index-of( fs:convert-simple-operand( fs:data($seqParam as xs:anyAtomicType*), PrototypicalValue(xs:anyAtomicType)) fs:convert-simple-operand( fs:data($srchParam as xs:anyAtomicType*)), PrototypicalValue(xs:anyAtomicType))) I haven't found a definition for the PrototypicalValue for xs:anyAtomicType. (The spec does define it as an xs:double for numeric arguments). Our resolution has been to choose the PrototypicalValue based on whether we are dealing with avg, min, max, sum (treat as xs:double) or index-of, distinct-values (treat as xs:string).Received on Wednesday, 13 September 2006 15:37:27 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:14 UTC