W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2002

simple datatypes

From: Jonathan Borden <jonathan@openhealth.org>
Date: Wed, 31 Jul 2002 08:29:19 -0400
Message-ID: <3D47D81F.AEAA9D01@openhealth.org>
To: www-rdf-comments@w3.org, guha@guha.com



I enthusiastically agree (with the last paragraph).

Yet this doesn't break current RDF/XML files.

Several examples:

<ex:Example rdf:ID="foo">

-> "10" as a string

<ex:Example rdf:ID="foo2">
	<ex:property xsi:type="xsd:decimal">10</ex:property>

-> 10 the integer

(this idiom shouldn't exist in the wild as yet, and if it does exist,
the intention is to do exactly as above)


<ex:Example rdf:ID="foo3">
	<ex:property rdf:parseType="xsd:decimal">10</ex:property>

which doesn't require changes to the RDF/XML syntax! Indeed the
rdf:parseType can exactly be considered a particular mapping from a
lexical to value space.

Received on Wednesday, 31 July 2002 08:33:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:18 UTC