merged Stephane corlosquet's changes bblfish
authorHenry Story <henry.story@bblfish.net>
Wed, 23 Nov 2011 20:47:10 +0100
branchbblfish
changeset 209 45e06d74e19d
parent 208 d0d898f89983 (current diff)
parent 207 57e5e0b72788 (diff)
child 210 2f757bc57056
child 222 e866b7af7c0a
merged Stephane corlosquet's changes
--- 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;">
-&lt;html xmlns="http://www.w3.org/1999/xhtml"
-    prefix="xsd: http://www.w3.org/2001/XMLSchema"&gt;
+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
+  "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"&gt;
+&lt;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#"&gt;
 &lt;head&gt;
    &lt;title&gt;Welcome to Bob's Home Page&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
-&lt;!-- Snipped Html --&gt;
-&lt;div vocab="http://www.w3.org/ns/auth/cert#" about="#me" typeof="foaf:Person"&gt;
+&lt;!-- WebID HTML snippet--&gt;
+&lt;div about="#me" typeof="foaf:Person"&gt;
   &lt;span property="foaf:name"&gt;Bob&lt;/span&gt;
   &lt;h2&gt;My Good Friends&lt;/h2&gt;
   &lt;ul&gt;
-  &lt;li rel="foaf:knows" href="https://example.edu/p/Alois#MSc"&gt;Alois&lt;li&gt;
+
+    &lt;li rel="foaf:knows" href="https://example.edu/p/Alois#MSc"&gt;Alois&lt;/li&gt;
   &lt;/ul&gt;
   &lt;h2&gt;My RSA Public Keys&lt;/h2&gt;
-  &lt;div rel="key"&gt;
+  &lt;div rel="cert:key"&gt;
     &lt;p&gt;I made this key on the 23 November 2011 from my laptop.&lt;/p&gt;
-    &lt;div typeof="RSAPublicKey"&gt;
+    &lt;div typeof="cert:RSAPublicKey"&gt;
       &lt;dl&gt;
+
       &lt;dt&gt;Modulus (hexadecimal)&lt;/dt&gt;
-      &lt;dd property="modulus" datatype="xsd:hexBinary"&gt;
-cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1&lt;/dd&gt;
+      &lt;dd property="cert:modulus" datatype="xsd:hexBinary"&gt;cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1&lt;/dd&gt;
       &lt;dt&gt;Exponent (decimal)&lt;/dt&gt;
-      &lt;dd property="exponent" datatype="xsd:int"&gt;65537&lt;/dd&gt;
+      &lt;dd property="cert:exponent" datatype="xsd:int"&gt;65537&lt;/dd&gt;
       &lt;/dl&gt;
     &lt;/div&gt;
   &lt;/div&gt;
+
 &lt;/div&gt;
-&lt;!-- Snipped Html --&gt;
+&lt;!-- WebID HTML snippet --&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 </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>