Made some changes as suggested in http://lists.w3.org/Archives/Public/public-webid/2012Nov/0128.html
authorAndrei Sambra <andrei@fcns.eu>
Mon, 19 Nov 2012 17:00:11 -0500
changeset 300 678c8c6e1b49
parent 299 f77f007f7b6d (current diff)
parent 298 9ab6c7fc806b (diff)
child 301 7747aa0db2d4
Made some changes as suggested in http://lists.w3.org/Archives/Public/public-webid/2012Nov/0128.html
--- a/spec/index-respec.html	Mon Nov 19 16:56:51 2012 -0500
+++ b/spec/index-respec.html	Mon Nov 19 17:00:11 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;">
-&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:rdfs="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"&gt;
+&lt;!DOCTYPE html&gt;
+&lt;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#"&gt;
 &lt;head&gt;
    &lt;title&gt;Welcome to Bob's Home Page&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
-&lt;!-- WebID HTML snippet. The xmlns declarations above can be moved into the div below if needed--&gt;
+&lt;!-- WebID HTML snippet. The prefix attribute above can be moved into the div below if needed --&gt;
 &lt;div about="#me" typeof="foaf:Person"&gt;
-  &lt;p&gt; My name is  &lt;span xml:lang="" property="foaf:name"&gt;Bob&lt;/span&gt; and I like to &lt;a rel="foaf:weblog" href="http://bob.example/blog"&gt;blog fun stuff&lt;/a&gt;
+  &lt;p&gt;My name is &lt;span property="foaf:name"&gt;Bob&lt;/span&gt; and I like to &lt;a property="foaf:weblog" href="http://bob.example/blog"&gt;blog fun stuff&lt;/a&gt;
   &lt;/p&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 property="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="cert:key"&gt;
+  &lt;div&gt;
     &lt;p&gt;I made this key on the 23 November 2011 from my laptop.&lt;/p&gt;
-    &lt;div typeof="cert:RSAPublicKey"&gt;
+    &lt;div property="cert:key" typeof="cert:RSAPublicKey"&gt;
       &lt;dl&gt;
       &lt;dt&gt;Comment&lt;/dt&gt;
       &lt;dd property="rdfs:label"&gt;made on 23 November 2011 on my laptop&lt;/dd&gt;
@@ -765,8 +759,6 @@
 &lt;/body&gt;
 &lt;/html&gt;
 </pre>
-<p>The <code>style="word-wrap: break-word; white-space: pre-wrap;"</code> attributes allow the number to be displayed on more than one line so that it will wrapped across lines and not just continue off to the right of the screen.</p>
-<p class="issue">In order to make the above modulus easy to read for humans who may wish to compare it with the modulus in their browser, one can add some javascript. Add some javascript here that adds a : between every two characters, and that splits the line up in chunks.</p>
 <p>If a WebID provider would rather prefer not to mark up his data in RDFa, but
 just provide a human readable format for users and have the RDF graph appear
 in a machine readable format such as RDF/XML then a link from