W3C home > Mailing lists > Public > public-rif-wg@w3.org > March 2009

Re: notes from Presentation Syntax task force meeting

From: Axel Polleres <axel.polleres@deri.org>
Date: Thu, 12 Mar 2009 09:20:58 +0000
Message-ID: <49B8D3FA.4020100@deri.org>
To: Jos de Bruijn <debruijn@inf.unibz.it>
CC: Sandro Hawke <sandro@w3.org>, public-rif-wg@w3.org
Jos de Bruijn wrote:
>>    -- Regarding literals like 123.456, we'll require a suffix to tell us
>>       which datatype to use:
> 
> As I just mentioned in the telecon I suggest to follow Turtle:
> 
>>           123.456d ==> "123.456"^^<xs:decimal>  
> 
> 123.456 ==> "123.456"^^<xs:decimal>
> 
>>           123.456e ==> "123.456"^^<xs:double>   (as in Java/C)
> 
> 123.456e0 ==> "123.456"^^<xs:double>
> 
>>           123.456f ==> "123.456"^^<xs:float>    (as in Java/C)
> 
> there is no shortcut syntax for floats.
> 
> 
> Best, Jos
> 
> 

+1

Axel

-- 
Dr. Axel Polleres
Digital Enterprise Research Institute, National University of Ireland, 
Galway
email: axel.polleres@deri.org  url: http://www.polleres.net/
Received on Thursday, 12 March 2009 09:21:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:34:03 GMT