Double/decimal test error (datatype-1)

Hi,

The dataset for test 'datatype-1' contains:

:xd1 :p  1.0 .

This returns a result on this query:

================================================================
PREFIX  xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX  : <http://example.org/things#>
SELECT  ?x ?v
WHERE
    { ?x :p ?v .
      FILTER ( datatype(?v) = xsd:double ) .
    }
================================================================

I think that isn't correct as according to the Turtle documentation
the Turtle parser should interpret 1.0 as "1.0"^^xsd:decimal.

	Cheers --- Jan

Received on Monday, 26 June 2006 12:54:46 UTC