- From: Graham Klyne <GK@NineByNine.org>
- Date: Thu, 06 Sep 2001 17:03:21 +0100
- To: www-rdf-validator@w3.org
The RDF spec allows the <RDF> tags to be omitted when the content is known
to be RDF.
The following sample parsed without errors but did not generate any triples:
<Presence xmlns="http://www.ietf.org/ns/cpim-pidf-xml-1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
rdf:about="pres:shingo_fujimoto@jp.fujitsu.com">
<tuple>
<Tuple-data>
<name>mobile-phone</name>
<value>open</value>
<contact rdf:resource="tel:09012345678"/>
<priority>9</priority>
</Tuple-data>
</tuple>
<tuple>
<Tuple-data>
<name>mobile-im</name>
<value>open</value>
<contact rdf:resource="im:shingo@mobilecarrier.ne.jp"/>
<priority>1</priority>
</Tuple-data>
</tuple>
</Presence>
Adding the <RDF> tags causes the expected triples to be generated.
(PS: your feedback box/button crashed by Opera browser.)
#g
------------
Graham Klyne
(GK@ACM.ORG)
Received on Thursday, 6 September 2001 12:13:26 UTC