W3C home > Mailing lists > Public > public-owl-wg@w3.org > July 2008

RE: ISSUE-126 (Revisit Datatypes): A proposal for resolution

From: Michael Smith <msmith@clarkparsia.com>
Date: Tue, 01 Jul 2008 11:59:35 -0400
To: Boris Motik <boris.motik@comlab.ox.ac.uk>
Cc: 'OWL Working Group WG' <public-owl-wg@w3.org>
Message-Id: <1214927975.26489.12.camel@msmith-laptop-wired.int.clarkparsia.com>

On Tue, 2008-07-01 at 15:17 +0100, Boris Motik wrote:

> - For xsd:integer: The value space of integer is the infinite set { ...,-2,-1,0,1,2,... }.
> 
> - For xsd:decimal: The value space of decimal is the set of numbers that can be obtained by multiplying an integer by a non-positive
> power of ten, i.e., expressible as i x 10^-n where i and n are integers and n >= 0.

XML Schema defines [1],[2] xsd:integer as derived from xsd:decimal.  The
suggestion in the SWBP note applies to primitive types, not all built-in
datatypes.

In contrast, xsd:float and xsd:double are not derived from xsd:decimal.

So, the set of possible interactions you're worrying about should be
reduced to

xsd:float vs xsd:double vs xsd:decimal

-- 
Mike Smith

Clark & Parsia

[1] http://www.w3.org/TR/xmlschema-2/#integer
[2] http://www.w3.org/TR/xmlschema-2/#built-in-datatypes
Received on Tuesday, 1 July 2008 16:00:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:42:05 UTC