W3C home > Mailing lists > Public > www-rdf-comments@w3.org > April to June 2003

question about attributes on the main document element

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Mon, 05 May 2003 15:57:16 -0400 (EDT)
Message-Id: <20030505.155716.111012078.pfps@research.bell-labs.com>
To: www-rdf-comments@w3.org

Is the following legal RDF/XML?  If so, is it a good idea to allow
arbitrary attributes in the top-level element?


<?xml version="1.0"?>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#RDF foo="bar">

<http://www.w3.org/1999/02/22-rdf-syntax-ns#Description
 http://www.w3.org/1999/02/22-rdf-syntax-ns#about="http://foo.ex#baa">
  <http://foo.ex#bar>
    <http://www.w3.org/1999/02/22-rdf-syntax-ns#Description
	 http://www.w3.org/1999/02/22-rdf-syntax-ns#about="http://foo.ex#baz" />
  </http://foo.ex#bar>
</http://www.w3.org/1999/02/22-rdf-syntax-ns#Description>

</http://www.w3.org/1999/02/22-rdf-syntax-ns#RDF>


Peter F. Patel-Schneider
Bell Labs Research
Lucent Technologies
Received on Monday, 5 May 2003 15:57:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:32 GMT