--- a/spec/index-respec.html Wed Nov 23 19:56:08 2011 +0100
+++ b/spec/index-respec.html Wed Nov 23 20:47:10 2011 +0100
@@ -298,7 +298,7 @@
<p>There are a number of concepts that are covered in this document that the
reader may want to be aware of before continuing. General knowledge of
<a href="http://en.wikipedia.org/wiki/Public_key_cryptography">public key cryptography</a>
-and RDF [[!RDF-PRIMER]] and RDFa [[!RDFA-CORE]] is necessary to understand how
+and RDF [[!RDF-PRIMER]] is necessary to understand how
to implement this specification. WebID uses a number of specific technologies
like HTTP over TLS [[!HTTP-TLS]], X.509 certificates [[!X509V3]],
RDF/XML [[!RDF-SYNTAX-GRAMMAR]] and XHTML+RDFa [[!XHTML-RDFA]].</p>
@@ -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>
@@ -837,7 +843,7 @@
<section class='normative'>
<h2>Processing the WebID Profile</h2>
-<p>So the Verification Agent needs to fetch the document, if it does not have a valid one in cache. <tref>Verification Agent</tref> MUST be able to process documents in RDF/XML [[!RDF-SYNTAX-GRAMMAR]] and RDFa in XHTML and HTML [[!RDFA-CORE]]. The result of this processing should be a graph of RDF relations that is queryable, as explained in the next section.</p>
+<p>So the Verification Agent needs to fetch the document, if it does not have a valid one in cache. <tref>Verification Agent</tref> MUST be able to process documents in RDF/XML [[!RDF-SYNTAX-GRAMMAR]] and RDFa in XHTML [[!XHTML-RDFA]]. The result of this processing should be a graph of RDF relations that is queryable, as explained in the next section.</p>
<p class="note">
It is suggested that the <tref>Verification Agent</tref> should set the Accept-Header to request <code>application/rdf+xml</code> with a higher priority than <code>text/html</code> and <code>application/xhtml+xml</code>. The reason is that it is quite likely that many sites will produce non marked up html and leave the graph to the pure rdf formats.
</p>