update RDFa snippet to RDFa 1.1 and remove inaccurate mime type recommendation (instead refer to the RDFA-CORE spec)
--- a/spec/index-respec.html Mon Nov 19 12:01:18 2012 -0500
+++ b/spec/index-respec.html Mon Nov 19 16:48:59 2012 -0500
@@ -722,32 +722,26 @@
<p>RDFa in HTML [[!RDFA-CORE]] is a way to markup HTML with relations that have a well defined semantics and
mapping to an RDF graph. There are many ways of writing out the above graph using RDFa in
HTML. Here is just one example of what a WebID profile could look like.
- It would have to be served with the mime type <code>application/xhtml+xml</code>.
</p>
<pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
-<!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" version="XHTML+RDFa 1.0" dir="ltr"
- xmlns:cert="http://www.w3.org/ns/auth/cert#"
- xmlns:foaf="http://xmlns.com/foaf/0.1/"
- xmlns:rdfs="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
+<!DOCTYPE html>
+<html lang="en" prefix="cert: http://www.w3.org/ns/auth/cert# foaf: http://xmlns.com/foaf/0.1/ rdfs: http://www.w3.org/1999/02/22-rdf-syntax-ns# xsd: http://www.w3.org/2001/XMLSchema#">
<head>
<title>Welcome to Bob's Home Page</title>
</head>
<body>
-<!-- WebID HTML snippet. The xmlns declarations above can be moved into the div below if needed-->
+<!-- WebID HTML snippet. The prefix attribute above can be moved into the div below if needed -->
<div about="#me" typeof="foaf:Person">
- <p> My name is <span xml:lang="" property="foaf:name">Bob</span> and I like to <a rel="foaf:weblog" href="http://bob.example/blog">blog fun stuff</a>
+ <p>My name is <span property="foaf:name">Bob</span> and I like to <a property="foaf:weblog" href="http://bob.example/blog">blog fun stuff</a>
</p>
<h2>My Good Friends</h2>
<ul>
- <li rel="foaf:knows" href="https://example.edu/p/Alois#MSc">Alois</li>
+ <li property="foaf:knows" href="https://example.edu/p/Alois#MSc">Alois</li>
</ul>
<h2>My RSA Public Keys</h2>
- <div rel="cert:key">
+ <div>
<p>I made this key on the 23 November 2011 from my laptop.</p>
- <div typeof="cert:RSAPublicKey">
+ <div property="cert:key" typeof="cert:RSAPublicKey">
<dl>
<dt>Comment</dt>
<dd property="rdfs:label">made on 23 November 2011 on my laptop</dd>