Cleanup doc well-formedness.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Tue, 28 Feb 2012 18:34:12 -0800
changeset 100 f885a8d5ff7c
parent 99 3178af1b49fd
child 101 15becb42e96c
Cleanup doc well-formedness.
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Mon Feb 27 22:06:17 2012 -0800
+++ b/microdata-rdf/index.html	Tue Feb 28 18:34:12 2012 -0800
@@ -2,7 +2,7 @@
 <html>
 <head>
 <title>Microdata to RDF</title>
-<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
 <!--
   === NOTA BENE ===
   For the three scripts below, if your spec resides on dev.w3 you can check them
@@ -12,7 +12,7 @@
   src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove">
  </script>
 <script type="text/javascript" class="remove">
-
+// <!--
     var preProc = {
           apply:  function(c) {
                     // extend the bibliography entries
@@ -215,6 +215,7 @@
         content = content.replace(/@prefix/g, '<span class="sh_keyword">@prefix</span>');
         return content;
       }
+// -->
   </script>
 <style type="text/css">
 .diff { font-weight:bold; color:#0a3; }
@@ -420,7 +421,7 @@
     The microdata specification [[!MICRODATA]] defines a number of attributes and the way in which those
     attributes are to be interpreted. The
     <cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#microdata-dom-api">microdata DOM API</a></cite>
-    provides methods and attributes for retrieving microdata from the HTML DOM.
+    provides methods and attributes for retrieving microdata from the HTML DOM.</p>
   <p>For reference, attributes used for specifying and retrieving HTML microdata are referenced here:</p>
   <dl>
     <dt><adef>itemid</adef></dt><dd>
@@ -586,7 +587,7 @@
         <p>This scheme is compatible with the needs of other RDF serialization formats such as
           RDF/XML [[RDF-SYNTAX-GRAMMAR]],
           which rely on <em>QNames</em> for expressing properties. For example, the generated property URIs
-          can be split as follows:
+          can be split as follows:</p>
         <pre class="example" data-transform="updateExample">
 <!--
 <rdf:Description xmlns:hcard="http://www.w3.org/ns/md?type=http://microformats.org/profile/hcard?prop="
@@ -635,7 +636,7 @@
         <p>Given the <tref>URI prefix</tref> <code>http://microformats.org/profile/hcard</code>, this
           would generate <code>http://microformats.org/profile/hcard#n</code> and
           <code>http://microformats.org/profile/hcard#given-name</code>. Note that the '#' is automatically
-          added as a separator.
+          added as a separator.</p>
         <p>Looking at another example:</p>
         <pre class="example" data-transform="updateExample">
 <!--
@@ -888,14 +889,14 @@
       <dt><tdef>item</tdef></dt><dd>
          An <tref>item</tref> is described by an element containing an <aref>itemscope</aref> attribute. The list
          of top-level microdata items may be retrieved using the
-         <a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#microdata-dom-api">Microdata DOM API</a></cite>
+         <cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#microdata-dom-api">Microdata DOM API</a></cite>
          <code><cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-document-getitems">document.getItems</a></cite></code>
          method.
       </dd>
       <dt><tdef>item properties</tdef></dt><dd>
         The mechanism for finding the <tref title="item properties">properties of an item</tref> The list
          of item properties items may be retrieved using the
-         <a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#microdata-dom-api">Microdata DOM API</a></cite>
+         <cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#microdata-dom-api">Microdata DOM API</a></cite>
          <code><cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-properties">element.properties</a></cite></code>
          attribute.
       </dd>
@@ -960,7 +961,6 @@
           <dt>If the element is a <code>time</code> element.</dt>
           <dd>The value is a <tref>literal</tref> made from <code><cite>
             <a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-itemvalue">element.itemValue</a></cite></code>.
-          <dd>
             <dl>
               <dt>
                 If the value is a
@@ -1090,7 +1090,7 @@
             <code>@data</code>, <aref>itemtype</aref> and <aref>itemprop</aref> and <aref>itemid</aref> is that of
             a URL, not a URI or IRI.</p>
           <p>A proposed mechanism for specifying the range of <tref>property value</tref>s to be URI reference or IRI could
-            allow these to be specified as subject or object using a <code>@content</code> attribute.
+            allow these to be specified as subject or object using a <code>@content</code> attribute.</p>
         </div>
       </dd>
       <dt><tdef>vocabulary</tdef></dt><dd>
@@ -1188,12 +1188,14 @@
         Set <em>type</em> to the first value returned from
         <code><cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-itemtype">element.itemType</a></cite></code>
         of the element defining the <tref>item</tref>.
+      </li>
       <li>
         If <em>type</em> is not an <tref>absolute URL</tref>, set it to <tref>current type</tref> from the
         <tref>Evaluation Context</tref> if not empty.
       </li>
       <li>If the <tref>registry</tref> contains a <tref>URI prefix</tref> that is a character for character match of <em>type</em>
         up to the length of the <tref>URI prefix</tref>, set <em>vocab</em> as that <tref>URI prefix</tref>.
+      </li>
       <li>Otherwise, if type is not empty, construct <em>vocab</em> by removing everything following the last
         SOLIDUS U+002F ("/") or NUMBER SIGN U+0023 ("#") from the <em>path</em> component of <em>type</em>.</li>
       <li>Update <tref>evaluation context</tref> setting <tref>current vocabulary</tref> to <em>vocab</em>.</li> 
@@ -1213,6 +1215,7 @@
               <li>
                 Let <em>context</em> be a copy of <tref>evaluation context</tref> with <tref>current type</tref> set
                 to <em>type</em>.
+              </li>
               <li>
                 Let <em>predicate</em> be the result of <a href="#generate-predicate-uri">generate predicate URI</a>
                 using <em>context</em> and <em>name</em>.
@@ -1257,7 +1260,7 @@
       <li>If <tref>current type</tref> from <em>context</em> is null, there can be no <tref>current vocabulary</tref>.        
         Return the <tref>URI reference</tref> that is the <tref>document base</tref> with its <cite><a
         href="http://tools.ietf.org/html/rfc3986#section-3.5">fragment</a></cite> set to the <tref>fragment-escape</tref>d value
-        of <em>name</em></p>
+        of <em>name</em>.
         <div class="note">
           This rule is intended to allow for a the case where no type is set, and therefore there is no
           vocabulary from which to extract rules. For example, if there is a <tref>document base</tref> of
@@ -1593,7 +1596,7 @@
     }
   }
   </pre>
-</p>
+</section>
 
 <section class="appendix informative">
   <h1>Acknowledgements</h1>