Re: question about attributes on the main document element

mmm ...

what is the need for attributes of the top-level element?
do you want to assert properties of the entire dodument?

if so, you can use an header annotation style like in owl.
for example:

<?xml version="1.0"?>
<rdf:RDF
  xmlns      =" ..."
  xmlns:rdf  ="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:foo="http://foo.ex#">

<rdf:Description rdf:about="">
  <:foo:bar rdf:resource="http://foo.ex#baz" />
</rdf:Description>
  
</rdf:RDF>

am I right???


----- Original Message ----- 
From: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
To: <www-rdf-comments@w3.org>
Sent: Monday, May 05, 2003 9:57 PM
Subject: question about attributes on the main document element


> 
> 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 18:06:25 UTC