Validator error? Omitting rdf:RDF


This is probably just me being dense, but I can't figure out why the  
validator rejects this:

<rdf:Description xmlns:rdf=" 
   <rdf:type rdf:resource=""/>

I expect it to produce this triple:

    [] rdf:type <> .

But the validator complains:

    Error: Your document does not contain any RDF statement.

According to [1], the top-level rdf:RDF can be omitted if there's  
only one element inside. So what's wrong about the document above?

Thanks and best regards,


Received on Tuesday, 30 August 2005 21:19:13 UTC