linkeddata / ldphp

Linked Data server for PHP
MIT License
38 stars 12 forks source link

xsd:decimal seems to get stripped off the datatype #7

Open melvincarvalho opened 10 years ago

melvincarvalho commented 10 years ago

When adding a literal of type xsd:decimal it seems to get stipped off. This is not true for other data types:

e.g.

<> <> "1"^^<http://www.w3.org/2001/XMLSchema#hexBinary> .
<> <> "1"^^<http://www.w3.org/2001/XMLSchema#unsignedInt> .
<> <> "1"^^<http://www.w3.org/2001/XMLSchema#decimal> .

Yields

<>
    <> "1"^^<http://www.w3.org/2001/XMLSchema#hexBinary>, 1, "1"^^<http://www.w3.org/2001/XMLSchema#unsignedInt> .

I'll try and investigate further ...