W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2011

Re: Test cases for approval

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Wed, 02 Mar 2011 17:21:07 +0000
Message-ID: <4D6E7C83.1010201@epimorphics.com>
To: Matthew Perry <matthew.perry@oracle.com>
CC: Axel Polleres <axel.polleres@deri.org>, Birte Glimm <birte.glimm@comlab.ox.ac.uk>, SPARQL Working Group <public-rdf-dawg@w3.org>


On 02/03/11 16:11, Matthew Perry wrote:
> Hi Axel,
>
> For
> :a :p "1"^^xsd:decimal .
> :a :p "1"^^xsd:integer .
> :a :p "1"^^xsd:float .
> :a :p "1"^^xsd:double .
>
> You would get
> :a :p "1"^^xsd:decimal .
> :a :p "1E0"^^xsd:float .
> :a :p "1E0"^^xsd:double .
>
> That is, floats stay floats, doubles stay doubles and everything else
> goes to decimal.
>
> - Matt

(this is mostly due to XSD evaluation rules)

What is
   "1"^^xsd:byte + "1"^^xsd:integer
?

I can guess the lexical form :-) what's the datatype?

	Andy
Received on Wednesday, 2 March 2011 17:21:48 GMT

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