W3C home > Mailing lists > Public > www-rdf-interest@w3.org > February 2003

query regarding validity of RDF file

From: Oliver Lyttleton <olyttlet@computing.dcu.ie>
Date: Wed, 12 Feb 2003 12:39:36 -0000
Message-ID: <004301c2d293$cd78b2a0$af13ce88@DHVQMD0J>
To: <www-rdf-interest@w3.org>
Is a tag like this permissible in RDF?

<rdf:RDF 
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
    xmlns:lib="http://www.zvon.org/library"> 

The formal grammar for RDF would seem to say no:

RDF     ::= ['<rdf:RDF>'] obj* ['</rdf:RDF>']

ie you can't declare namespaces as attributes of the root element of an RDF document.


  
Received on Wednesday, 12 February 2003 07:44:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:58 GMT