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

Re: question about attributes on the main document element

From: Francesco CannistrÓ <fracan@inwind.it>
Date: Tue, 6 May 2003 00:06:16 +0200
Message-ID: <007c01c31352$8e1e9200$db941d97@Matrix>
To: <www-rdf-comments@w3.org>, "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>

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 GMT

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