Added more details about use of link relations
authorJeniT
Mon, 12 Dec 2011 17:00:09 +0000
changeset 49 31cbcb3ab0a0
parent 48 c97b185997e8
child 50 581f332d3f78
Added more details about use of link relations
html-data-guide/index.html
--- a/html-data-guide/index.html	Mon Dec 12 16:27:13 2011 +0000
+++ b/html-data-guide/index.html	Mon Dec 12 17:00:09 2011 +0000
@@ -703,15 +703,18 @@
           <section>
             <h4>Link relations</h4>
             <p>
+              In (X)HTML5 markup, unprefixed values in the <code>@rel</code> attribute will usually be ignored by RDFa processing unless there is a <code>@vocab</code> attribute in scope, the exceptions being <code>describedby</code>, <code>license</code> and <code>role</code> which will be recognised as being part of the HTML <a>vocabulary</a>. In RDFa in XHTML 1.1, some additional unprefixed values are recognised as known terms and used to create triples.
+            </p>
+            <p>
               Link relations required in certain microformats, particularly XFN, clash with the use of RDFa's <code>@vocab</code> attribute. For example:
             </p>
             <pre>&lt;a vocab="http://purl.org/dc/terms/"
    rel="date" href="http://reference.data.gov.uk/id/day/2011-11-15"&gt;15th November 2011&lt;/a&gt;</pre>
               <p>
-                will result in a <code>dc:date</code> relationship based on RDFa processing, but XFN processing will assume that the link is to someone whom the author of the HTML page is dating. It is best to avoid using <code>@vocab</code> on any ancestor of an element that contains a <code>@rel</code> attribute: use <code>@property</code> instead to provide RDFa properties, and if you need to use <code>@rel</code> attributes on your links, use prefixes instead of <code>@vocab</code> in RDFa.
-            </p>
-            <p class="issue">
-              In (X)HTML5 markup, unprefixed values in the <code>@rel</code> attribute will usually be ignored unless there is a <code>@vocab</code> attribute in scope. In RDFa in XHTML 1.1, some unprefixed values will be recognised as known terms and used to create triples. See <a href="http://www.w3.org/2010/02/rdfa/track/issues/108">ISSUE-108</a>.
+                will result in a <code>dc:date</code> relationship based on RDFa processing, but XFN processing will assume that the link is to someone whom the author of the HTML page is dating.
+              </p>
+              <p>
+                To avoid the <code>@rel</code> attribute being misinterpreted, it is best to avoid using <code>@vocab</code> on any ancestor of an element that contains a <code>@rel</code> attribute: use <code>@property</code> instead to provide RDFa properties, and if you need to use <code>@rel</code> attributes on your links, use prefixes instead of <code>@vocab</code> in the RDFa markup.
             </p>
           </section>