[Home] [By Thread] [By Date] [Recent Entries]
--On Wednesday, January 07, 2009 20:26:26 +0530 Mukul Gandhi wrote:
I can see, that specs do not disallow this. So this should be conformant I feel. Having looked at this more closely I am not sure that it does conform to the specification. Although there are very specific rules for explicit casts from xs:double to xs:float <http://www.w3.org/TR/xquery-operators/#casting-to-numerics> as far as I can see, the function conversion rules that also apply to the supplied value in a variable or parameter do not allow that conversion. Given the language of the specification I would also assume that it was not intended that xs:double should be converted to xs:float without an explicit cast in that context. -- Owen Rees ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN
|

Cart



