NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 560 - Generate a triple for each top-level item, so that they can be enumerated easily.
Generate a triple for each top-level item, so that they can be enumerated eas...
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:32 CEST by Henri Sivonen
Modified: 2009-05-27 14:44 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:32:52 CEST
Index: source
===================================================================
--- source	(revision 3088)
+++ source	(revision 3089)
@@ -45921,7 +45921,7 @@
 
   </div>
 
-  <p>Properties don't have to be given as ancestors of the element
+  <p>Properties don't have to be given as descendents of the element
   with the <code title="attr-item">item</code> attribute. They can be
   associated with a specific <span title="concept-item">item</span>
   using the <code title="attr-subject">subject</code> attribute, which
@@ -46838,9 +46838,31 @@
    <li>
 
     <p>For each element that is also a <span title="top-level
-    microdata items">top-level microdata item</span>, <span
-    title="generate the triples for an item">generate the triples for
-    the item</span>. (Nothing is done with the returned subject.)</p>
+    microdata items">top-level microdata item</span>, run the following steps:</p>
+
+    <ol>
+
+     <li>
+
+      <p><span title="generate the triples for an item">Generate the
+      triples for the item</span>. Let <var title="">item</var> be the
+      subject returned.</p>
+
+     </li>
+
+     <li>
+
+      <p>Generate the following triple:</p>
+
+      <dl class="triple">
+       <dt>subject   <dd> <span>the document's current address</span>
+       <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/vocab#item</code>
+       <dt>object    <dd> <var title="">item</var>
+      </dl>
+
+     </li>
+
+    </ol>
 
    </li>