[sc34wg3] TMCL and MAX_INT

Lars Heuer heuer at semagia.com
Mon Feb 23 11:25:05 EST 2009


[...]
>> That sounds good, but when you say for free, is that becuase Xml
>> Schema Data types allow it?

> Yes, "-INF" and "INF" are valid xsd:float / xsd:double values:
> <http://www.w3.org/TR/xmlschema-2/#float>
> <http://www.w3.org/TR/xmlschema-2/#double>

One drawback is that you'd have to switch from xsd:int to xsd:double
(or xsd:float) and you have to check that the user does not use
senseless values like

  min: 1.23
  max: 2.49

Best regards,
Lars
-- 
Semagia 
<http://www.semagia.com>



More information about the sc34wg3 mailing list