W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2005

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>
Message-ID: <20050613083712.GA1400@login.ecs.soton.ac.uk>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:23 GMT