[Os-project-managers] NaN in xs:double
Gus Gassmann
Horand.Gassmann at dal.ca
Wed Feb 9 15:32:15 EST 2011
On 9 Feb 2011 at 11:40, Kipp Martin wrote:
> Hi Gus:
>
> > 1. Have a look at http://www.w3.org/TR/xmlschema-2/#double.
> > This states quite clearly that NaN is a legal value for xs:double,
> > along with INF and -INF. I have yet to figure out whether that means
> > we have to change any of the parsers, but the question of passing NaN
> > to and from the solvers should now be moot.
>
> Of course passing a NaN to a solver seems like a good way to crash it. I
> agree we should not think for the user, but putting NaN in the initial
> values seems crazy to me.
I would tend to agree, but it's a logical consequence of making the "value"
attribute optional in <initVarValue>.
Cheers
gus
More information about the Os-project-managers
mailing list