walidazizi / rdflib

Automatically exported from code.google.com/p/rdflib
Other
0 stars 0 forks source link

Datatype for literals constructed from a python float should perhaps be xsd:double #183

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This would be more in line with SPARQL/N3 ... 

Original issue reported on code.google.com by gromgull on 21 Aug 2011 at 9:08

GoogleCodeExporter commented 8 years ago
I.e. it would avoid the need for explicit datatype references here: 

http://code.google.com/p/rdfextras/source/browse/test/test_sparql/test_parser.py
?spec=svn5121681f2442ccc9b4b665a6256ef7b3d05673d2&r=5121681f2442ccc9b4b665a6256e
f7b3d05673d2#50

And here: 

http://code.google.com/p/rdfextras/source/browse/rdfextras/sparql/parser.py?spec
=svn6daa48c5133c30e2825006bd1c373fcb502ea2fc&r=6daa48c5133c30e2825006bd1c373fcb5
02ea2fc#358

Original comment by gromgull on 21 Aug 2011 at 10:00

GoogleCodeExporter commented 8 years ago
Fixed in r7a4d65400beb

Original comment by gromgull on 15 Feb 2012 at 2:16