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

title element, meta, h1 and rdfa

From: Karl Dubost <karl@w3.org>
Date: Fri, 31 Aug 2007 11:08:25 +0900
Message-Id: <0D2797DB-FEF8-4812-B617-D12FB95B0A1E@w3.org>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Hi,

I would like to know if there's a rule for getting the meaning of  
this document.

The XHTML document is located at
http://example.org/foo/bar

The markup is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
  "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
     <meta name="dc:title" content="The Old Man And The Sea, Ernest  
Hemingway" />
     <title>The Old Man And The Sea - Literature</title>
</head>
<body>
<h1>Book <span property="dc:title">The Old Man And The Sea,  
Hemingway</span></h1>
</body>
</html>


Two solutions
<> dc:title "The Old Man And The Sea, Ernest Hemingway"^^XMLLiteral .
<> dc:title "The Old Man And The Sea, Hemingway"^^XMLLiteral .

And another third one from the XHTML title element?
	(if title is considered to be dc:title. More on that later.)
<> dc:title "The Old Man And The Sea - Literature"^^XMLLiteral .


* Are there rules of precedence in RDFa?
* Is there a need to explain the semantics conformance of HTML-like  
languages?



-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Friday, 31 August 2007 02:09:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:09 GMT