revert RDFa snippet to RDFa 1.0 (pending RDFa 1.1 REC), clean up namespaces and fix HTML
--- a/spec/index-respec.html Wed Nov 23 19:37:25 2011 +0100
+++ b/spec/index-respec.html Wed Nov 23 14:16:20 2011 -0500
@@ -647,34 +647,40 @@
<p>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.</p>
<pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
-<html xmlns="http://www.w3.org/1999/xhtml"
- prefix="xsd: http://www.w3.org/2001/XMLSchema">
+<!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:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Welcome to Bob's Home Page</title>
</head>
<body>
-<!-- Snipped Html -->
-<div vocab="http://www.w3.org/ns/auth/cert#" about="#me" typeof="foaf:Person">
+<!-- WebID HTML snippet-->
+<div about="#me" typeof="foaf:Person">
<span property="foaf:name">Bob</span>
<h2>My Good Friends</h2>
<ul>
- <li rel="foaf:knows" href="https://example.edu/p/Alois#MSc">Alois<li>
+
+ <li rel="foaf:knows" href="https://example.edu/p/Alois#MSc">Alois</li>
</ul>
<h2>My RSA Public Keys</h2>
- <div rel="key">
+ <div rel="cert:key">
<p>I made this key on the 23 November 2011 from my laptop.</p>
- <div typeof="RSAPublicKey">
+ <div typeof="cert:RSAPublicKey">
<dl>
+
<dt>Modulus (hexadecimal)</dt>
- <dd property="modulus" datatype="xsd:hexBinary">
-cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1</dd>
+ <dd property="cert:modulus" datatype="xsd:hexBinary">cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1</dd>
<dt>Exponent (decimal)</dt>
- <dd property="exponent" datatype="xsd:int">65537</dd>
+ <dd property="cert:exponent" datatype="xsd:int">65537</dd>
</dl>
</div>
</div>
+
</div>
-<!-- Snipped Html -->
+<!-- WebID HTML snippet -->
</body>
</html>
</pre>