W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > September 2008

Empty @typeof

From: Toby A Inkster <tai@g5n.co.uk>
Date: Sun, 7 Sep 2008 10:30:39 +0100
Message-Id: <AE03E48E-86E6-4A8C-86AA-ADEDC782AD58@g5n.co.uk>
To: public-rdf-in-xhtml-tf@w3.org

What is the meaning of this?

   <div about="#foo">
     <div typeof="">
       <span property="dc:title">xyzzy</span>
     </div>
   </div>

Is "xyzzy" the title of "#foo" or the title of a BNode created by the  
second <div>?

Step #4 and #5 in the processing sequence say "if @typeof is present"  
then typeof sets a new subject. However, step #6 says of @typeof: "if  
present, the attribute must contain one or more URIs" (i.e. not zero  
or more).

Can an empty typeof set a new subject, or is it invalid and thus  
ignored? It would be nice if the syntax document could be clarified.

Yes, I know it would be helpful if I'd raised this issue before RDFa  
reached PR stage, but I've only just noticed it.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Sunday, 7 September 2008 09:31:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 7 September 2008 09:31:48 GMT