Re: OK to use decimal for 0.3 in turtle?

On Tue, 2005-11-22 at 00:50 -0500, Dave Beckett wrote:
[...]
> 
> so my OK is conditional on N3 also making this change to xsd:double.

Does this suffice?

http://swig.xmlhack.com/2005/10/14/2005-10-14.html#1129304057.498099
timbl: In favour of decimal: That the coersion from decimal to float is
safe, unlike the other way. That it is a pain when typically currency
values are calculated as floats and end up as long approximate float
values.



> My test version of raptor (1.4.8 to be) gives the same answers as cwm:
> $ rapper -q -i turtle -o ntriples turtle1.ttl
> <http://example.org#a> <http://example.org#b> 
> "1.0"^^<http://www.w3.org/2001/XMLSchema#double> .
> <http://example.org#c> <http://example.org#d> 
> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
> <http://example.org#e> <http://example.org#f> 
> "1.0"^^<http://www.w3.org/2001/XMLSchema#double> .

I know yosi did some decimal hacking a while back, but I'm not sure
what's involved in changing cwm's N3 parser in this respect. I'm
confident it will happen in due course, though.


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Tuesday, 22 November 2005 17:24:47 UTC