W3C home > Mailing lists > Public > www-archive@w3.org > December 2002

sample error-annotated rdf

From: Dan Brickley <danbri@w3.org>
Date: Sat, 7 Dec 2002 08:18:22 -0500
To: www-archive@w3.org
Message-ID: <20021207131822.GF27441@tux.w3.org>


<!-- 	sample of rdf/xml that shows where you can't just 
      	put in your own extensions without screwing things up.
     	the x:foo and x:bar attributes are in places you can't 
	extend the syntax.

-->

<rdf:RDF	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	 	xmlns="http://xmlns.com/foaf/0.1/"
		xmlns:foaf="http://xmlns.com/foaf/0.1/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:x="http://example.org/common-mistakes#" >
<Document>
 <dc:title x:foo="nope!">A document about RDF syntax</dc:title>
 <dc:date x:bar="nope!">2002-12-06</dc:date>
 <dc:creator foaf:age="30"> <!-- hmm, one or the other... -->
   <Person foaf:name="Dan Brickley">
     <foaf:geekcode>...</foaf:geekcode>
    </Person>
 </dc:creator>
</Document>
</rdf:RDF>
Received on Saturday, 7 December 2002 08:18:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:24 GMT