NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 571 - Describe the model expected of processors that would allow vCard, iCalendar, BibTeX, etc, extraction.
Describe the model expected of processors that would allow vCard, iCalendar, ...
Classification: Unclassified
Component: General
All All
: P2 normal
Assigned To: Henri Sivonen
Depends on:
  Show dependency treegraph
Reported: 2009-05-27 14:37 CEST by Henri Sivonen
Modified: 2009-05-27 14:53 CEST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:37:04 CEST
Index: source
--- source	(revision 3106)
+++ source	(revision 3107)
@@ -49653,6 +49653,40 @@
   iterate over a series of elements (whether items, properties, or
   otherwise) must do so in <span>tree order</span>.</p>
+  <p>A generic API upon which the vocaulary-specific conversions
+  defined below (vCard, iCalendar, BibTeX) can be built will need to
+  provide the following information when given a <code>Document</code>
+  (or equivalent):</p>
+  <ul>
+   <li><span>The document's current address</span>.</li>
+   <li>The <code>textContent</code> of <span>the <code>title</code>
+   element</span>, if any.</li>
+   <li>The list of <span>top-level microdata items</span>.</li>
+   <li>For each <span title="concept-item">item</span>, the list of
+   properties that have that <span title="concept-item">item</span> as
+   their <span title="concept-item-corresponding">corresponding
+   item</span>.</li>
+   <li>For each property, its <span title="property
+   names">name</span>.</li>
+   <li>For each property, its <span
+   title="concept-property-value">value</span> (which might be a
+   further <span title="concept-item">item</span>).</li>
+   <li>For each property, if its <span
+   title="concept-property-value">value</span> is not itself an <span
+   title="concept-item">item</span>, whether the element is a
+   <code>time</code> element, a <span title="URL property
+   elements">URL property element</span>, or another element.</li>
+  </ul>