W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2008

Question about number types

From: Alan Ruttenberg <alanruttenberg@gmail.com>
Date: Wed, 2 Jul 2008 14:18:29 -0400
Message-Id: <9D097F9A-CCCF-4874-8DB2-A7CCB6A5AD0C@gmail.com>
To: www-xml-schema-comments@w3.org

Was there at any point explicit rejection of have a mathematical real  
number datatype (possibly augmented with some constants such as INF, - 
INF) from which the rest of the numeric types were defined by  
restriction?

We have a discussion going in the OWL working group, part of which is  
about the desirability of comparing a float to an integer. If they  
are disjoint, then that doesn't seem possible. However, it seems well  
defined to ask whether "2.1"^^xsd:float > "2"^^xsd:int

Thanks,
Alan
Received on Wednesday, 2 July 2008 18:47:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:16 GMT