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

Re: notes from Presentation Syntax task force meeting

From: Jos de Bruijn <debruijn@inf.unibz.it>
Date: Tue, 10 Mar 2009 17:43:18 +0100
Message-ID: <49B698A6.2040407@inf.unibz.it>
To: Sandro Hawke <sandro@w3.org>
CC: public-rif-wg@w3.org

>    -- 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
Received on Tuesday, 10 March 2009 16:44:05 GMT

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