W3C home > Mailing lists > Public > www-rdf-validator@w3.org > August 2010

<rdf:RDF> root element not needed

From: David D Lowe <daviddlowe.flimm@gmail.com>
Date: Wed, 11 Aug 2010 16:42:59 +0100
Message-ID: <4C62C503.7080306@gmail.com>
To: www-rdf-validator@w3.org
Validating this document fails:
http://trac.usefulinc.com/doap/export/trunk%2C19/trunk/doap/examples/gnome-bluetooth-doap.rdf

The error message is: Error: Your document does not contain any RDF 
statement.

However, nesting this code in an <rdf:RDF xmlns:rdf="..."> element 
validates correctly. It was my impression that the rdf:RDF root element 
was not needed if it contained only one top-level child, according to 
the RDF/XML specification.

Have I misunderstood the specification? Or is there a bug in the validator?

Thanks.
David D Lowe
Received on Thursday, 12 August 2010 16:19:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 1 May 2011 06:15:21 GMT