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

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