W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > September 2003

Re: about " 3 "^^xsd:integer

From: Jos De_Roo <jos.deroo@agfa.com>
Date: Sat, 6 Sep 2003 00:56:35 +0200
To: "Dan Connolly <connolly" <connolly@w3.org>
Cc: w3c-rdfcore-wg <w3c-rdfcore-wg@w3.org>
Message-ID: <OFA6BCB97E.41BA161D-ONC1256D98.0079FAD1-C1256D98.007E1343@agfa.be>


Dan Connoly wrote:
> On Fri, 2003-09-05 at 10:15, Jos De_Roo wrote:
> > http://www.w3.org/TR/xmlschema-2/#integer says
> > [[
> > integer has the following ·constraining facets·:
> > ...
> > whiteSpace
> > ...
> > ]]
>
> I don't see how that's relevant.
>
> The lexical space of the integer datatype is specified thus:
>
> [[[
> 3.3.13.1 Lexical representation
> integer has a lexical representation consisting of a finite-length
> sequence of decimal digits (#x30-#x39) with an optional leading sign. If
> the sign is omitted, "+" is assumed. For example: -1, 0, 12678967543233,
> +100000.
> ]]]
>
> Nothing about spaces.

Nothing about spaces, that's true.
I have to admit that from an implementation
point of view lexical spaces don't matter that much...


--
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

PS In xerces-2_5_0 it is now possible to use
   an IntegerDV instead of DecimalDV for all numbers
   (to avoid Patrick's "1.0"^^xsd:integer case)
   but I will wait till Jena has it - my tests
   with replacing the /Jena-2.0/lib/xercesImpl.jar
   were successful, but my AskJena is otherwise
   not downwards compatible.
Received on Friday, 5 September 2003 18:56:44 EDT

This archive was generated by hypermail pre-2.1.9 : Friday, 5 September 2003 18:56:46 EDT