RE: TEST: datatype testcase

>
> we have been testing/finding that
>
>   :road :repair "P1Y2M3DT10H30M"^^xsd:duration .
>   :testcase :made "2002-11-16T01:41:00+01:00"^^xsd:dateTime .
>   :john :birthday "1956-01-10"^^xsd:date .
>   :jenny :age "10"^^xsd:decimal .
>
> RDFS/XSD entails
>
>   :road :repair "P14M3DT10H30M"^^xsd:duration .
>   :testcase :made "2002-11-16T00:41:00Z"^^xsd:dateTime .
>   :john :birthday "1956-01-10T+02:00"^^xsd:date .
>   :jenny :age "1E1"^^xsd:decimal .
>
> Jan/Dave is this useful as a testcase?
>
>

Could I suggest 4 test cases, one for each triple.
For a developer implementing XSD being able to see progress:  on Monday they
do decimals (1/4), Tuesday they do dates (2/4), Wednesday they do dateTime
(3/4), Thursday they do duration (4/4), and Friday they have a party!

Jeremy

Received on Monday, 18 November 2002 05:21:52 UTC