Re: [xsl] Implicit casting from double to float
Subject: Re: [xsl] Implicit casting from double to float|
From: Owen Rees <owen.rees@xxxxxx>
Date: Wed, 07 Jan 2009 15:18:02 +0000
--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
Having looked at this more closely I am not sure that it does conform to
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.
Hewlett-Packard Limited. Registered No: 690597 England
Registered Office: Cain Road, Bracknell, Berks RG12 1HN