Hello

 I am having some trouble with my schema and instance docs with values that
are 0. The validator for doubles and floats keeps telling me that my value
of 0.0 is not between the min negative number (a very tiny negative number)
and the min positive number (a very tiny positive number), which is
mathematically true, but I don't think this makes it an invalid float or
double.

 However, if my value is exactly the string '0' or '-0', as opposed to '0.0'
or '0.00' etc, the validator is OK with it.

 Is there something in the spec that says that zero values must be
represented exactly by the string '0', or can the validator be made smarter
to know that '0.0' and various other strings that really mean zero are in
fact in the allowable range for floats and doubles?

Thanks




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to