revert RDFa snippet to RDFa 1.0 (pending RDFa 1.1 REC), clean up namespaces and fix HTML bblfish
authorStephane Corlosquet <scorlosquet@gmail.com>
Wed, 23 Nov 2011 14:16:20 -0500
branchbblfish
changeset 206 085e53d2264c
parent 205 1ba7e138eae0
child 207 57e5e0b72788
revert RDFa snippet to RDFa 1.0 (pending RDFa 1.1 REC), clean up namespaces and fix HTML
spec/index-respec.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;">
-&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>