fix RDFa snippet: fix dd HTML element, add rdfs prefix definition, fix foaf:weblog, turn blog span to a link
authorStephane Corlosquet <scorlosquet@gmail.com>
Mon, 09 Jan 2012 16:57:11 -0500
changeset 273 9df23a0f7d46
parent 272 b00fb7047fbf
child 275 f8cf29b49aaf
fix RDFa snippet: fix dd HTML element, add rdfs prefix definition, fix foaf:weblog, turn blog span to a link
spec/index-respec.html
--- a/spec/index-respec.html	Mon Jan 09 16:50:53 2012 -0500
+++ b/spec/index-respec.html	Mon Jan 09 16:57:11 2012 -0500
@@ -669,6 +669,7 @@
 &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;head&gt;
    &lt;title&gt;Welcome to Bob's Home Page&lt;/title&gt;
@@ -676,7 +677,7 @@
 &lt;body&gt;
 &lt;!-- WebID HTML snippet. The xmlns declarations 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;span rel="foaf:blog" href="http://bob.example/blog"&gt;blog fun stuff&lt;/span&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;
   &lt;h2&gt;My Good Friends&lt;/h2&gt;
   &lt;ul&gt;
@@ -688,7 +689,7 @@
     &lt;div 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;
+      &lt;dd property="rdfs:label"&gt;made on 23 November 2011 on my laptop&lt;/dd&gt;
       &lt;dt&gt;Modulus (hexadecimal)&lt;/dt&gt;
       &lt;dd style="word-wrap: break-word; white-space: pre-wrap;"
          property="cert:modulus" datatype="xsd:hexBinary"&gt;cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1&lt;/dd&gt;