# Re: Review. Section 11.1.1 Error in promotion/type pecification?

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Mon, 13 Jun 2005 09:37:12 +0100
To: DAWG public list <public-rdf-dawg@w3.org>
```
On Mon, Jun 13, 2005 at 03:47:42AM -0400, Eric Prud'hommeaux wrote:
> > My recollection is that we agreed to start with double, dateTime and
> > integer (c.f. http://www.w3.org/2001/sw/DataAccess/ftf4.html RESOLVED: to
> > address valueTesting by choosing datetime, date, time; date less-than,
> > date-greater-than, date-equal; string ops per 1.171; numeric double,
> > integer, 9 numeric ops above, per xquery f&o with EricP, KendallC, SteveH
> > abstaining), since then we have aquired xs:decimal, which complicates
> > matters greatly.
> >
> > Suggested replacement text:
> >
> >     * xs:double
> >     * xs:float
> >     * xs:integer
> >
> > And replace all occurances of xs:decimal in the text with xs:integer. Drop
> > note in A / B entry of Table 11.1.
> >
> > N.B. xs:float does not subsume xs:integer either, but the overlap is much
> > bigger, and this kind of conversion is common in programming laguages so
> > will hopefully be less supprising
>
> But integer is lexically derived from decimal:
>   <http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal-derived-types>
> (I don't claim to contradict you, just relaying my confusion.)

Sure, I'm confused too, but integers are integers, and deciamls definatly
allow fractional values. Reading between the lines decimals are designed
to be implementable with 32.32 fixedpoint numbers.

- Steve
```
Received on Monday, 13 June 2005 08:37:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:47 UTC