W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > September 2002

Datatyping - abstract syntax - test case

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Wed, 11 Sep 2002 11:05:46 +0200
To: <w3c-rdfcore-wg@w3.org>
Message-ID: <BHEGLCKMOHGLGNOKPGHDAEBFCAAA.jjc@hpl.hp.com>


In Patrick's Part I a datatyped valued is represented in the graph as a
pair: a URI and a unicode string in the lexical space.

My take is that what we were really heading for is that in the abstarct
syntax the graph node is labelled with the value.

The test case is:

<rdf:Description>
  <eg:prop rdf:datatype="&xsd;deciaml">2.00</eg:prop>
</rdf:Description>

is equal (i.e. syntactically)

<rdf:Description>
  <eg:prop rdf:datatype="&xsd;deciaml">2.0</eg:prop>
</rdf:Description>


(I think it is also equal to

<rdf:Description>
  <eg:prop rdf:datatype="&xsd;int">2</eg:prop>
</rdf:Description>

but I would need to check the XSD specs)

Jeremy
Received on Wednesday, 11 September 2002 05:06:06 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:50:58 EDT