comment: RDF/A Primer 1.0 - Examples only XHTML 2.0

Hi,
This is a QA Review comment for "Best Practice Recipes for Publishing
RDF/A Primer 1.0
http://www.w3.org/TR/2006/WD-xhtml-rdfa-primer-20060310/
Mon, 13 Mar 2006 20:37:46 GMT
1st WD

I went through the first steps of RDF/A Primer.

[[[
<html xmlns:foaf="http://xmlns.com/foaf/0.1/" >
]]]

-- RDF/A Primer 1.0
http://www.w3.org/TR/2006/WD-xhtml-rdfa-primer-20060310/#id67992
Mon, 13 Mar 2006 20:37:46 GMT



After FIXING the XHTML example code to make it clean XHTML 1.0 and  
valid. I have added
	1. the namespace
	2. the rel value

(Source code given below)
The validator says: "there is no attribute "xmlns:foaf" for XHTML 1.0  
AND for XHTML 1.1


The first example is not usable then with

* XHTML 1.0
   W3C Recommendation 26 January 2000, revised 1 August 2002
* XHTML 1.1
   W3C Recommendation 31 May 2001

As a consequence, I suggest to label examples with the version of the  
markup used for it. For example, in this case, XHTML 2.0 WD.


===============================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:foaf="http://xmlns.com/foaf/0.1/"
	xml:lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>test namespaces</title>
</head>
<body>
<p>Hello. This is Jo Lambda's home page.</p>
<h2>Work</h2>
<p>If you want to contact me at work, you can either <a  
rel="foaf:mbox" href="mailto:jo.lambda@example.org">email  me</a>, or  
call +1 777 888 9999.</p>
</body>
</html>
=================================


-- 
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 Monday, 15 May 2006 06:50:59 UTC