W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2011

Re: RDF API updates

From: Shane McCarron <shane@aptest.com>
Date: Sun, 24 Apr 2011 11:55:38 -0500
Message-ID: <4DB4560A.2080809@aptest.com>
To: public-rdfa-wg@w3.org


On 4/24/2011 8:42 AM, Nathan wrote:
>
>
> Also, just what do we do about literals people are creating? for example:
>
>   createLiteral(100, "xsd:double");
>   createLiteral(10*10, "xsd:double");
>   createLiteral(1e2, "xsd:double");
>   createLiteral(+1e2, "xsd:double");
>   createLiteral(+100, "xsd:double");
>
> All of those values are of the type (number) in javascript and have 
> the same value "100" with no access to the original form.

To my mind all those are the same.  There is nothing we *can* do.  If 
you want to put in a note to that effect, it might be reasonable.

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Sunday, 24 April 2011 16:56:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:51 UTC