Re: about " 3 "^^xsd:integer

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 UTC