[html5] r6746 - [ct] (0) Change the vCard and vEvent vocabs to not use itemid='' since their UID [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Oct 24 20:02:05 PDT 2011


Author: ianh
Date: 2011-10-24 20:02:04 -0700 (Mon, 24 Oct 2011)
New Revision: 6746

Modified:
   complete.html
   index
   source
Log:
[ct] (0) Change the vCard and vEvent vocabs to not use itemid='' since their UIDs aren't URLs.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13929

Modified: complete.html
===================================================================
--- complete.html	2011-10-25 00:23:25 UTC (rev 6745)
+++ complete.html	2011-10-25 03:02:04 UTC (rev 6746)
@@ -58498,11 +58498,8 @@
   <p>An item with the <a href=#item-types title="item types">item type</a> <dfn id=md-vcard title=md-vcard><code>http://microformats.org/profile/hcard</code></dfn>
   represents a person's or organization's contact information.</p>
 
-  <p>This vocabulary <a href=#support-global-identifiers-for-items title="support global identifiers for
-  items">supports global identifiers for items</a>. The
-  <a href=#global-identifier>global identifier</a> gives a value that represents a
-  globally unique identifier corresponding to the individual or
-  resource.</p> <!-- UID -->
+  <p>This vocabulary does not <a href=#support-global-identifiers-for-items>support global identifiers for
+  items</a>.</p>
 
   <p>The following are the type's <a href=#defined-property-name title="defined property
   name">defined property names</a>. They are based on the
@@ -59308,9 +59305,21 @@
    </dd>
 
 
-   <!-- UID not included - use "itemid" -->
+   <dt><dfn id=md-vcard-uid title=md-vcard-uid><code>uid</code></dfn></dt>
 
+   <dd>
 
+    <p>Gives a globally unique identifier corresponding to the
+    person or organization.</p>
+
+    <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
+    text.</p>
+
+    <p>A single property with the name <code title=md-vcard-uid><a href=#md-vcard-uid>uid</a></code> may be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>.</p>
+
+   </dd>
+
+
    <dt><dfn id=md-vcard-url title=md-vcard-url><code>url</code></dfn></dt>
 
    <dd>
@@ -59610,12 +59619,6 @@
    vCard text string</a> obtained from the <code><a href=#textcontent>textContent</a></code>
    of <a href=#the-title-element-0>the <code>title</code> element</a> as the value to <var title="">output</var>.</li>
 
-   <li><p>If <var title="">node</var> has a <a href=#global-identifier>global
-   identifier</a>, <a href=#add-a-vcard-line>add a vCard line</a> with the type
-   "<code title="">UID</code>" and with the result of <a href=#escaping-the-vcard-text-string>escaping
-   the vCard text string</a> of that <a href=#global-identifier>global identifier</a>
-   as the value to <var title="">output</var>.</li>
-
    <li>
 
     <p>For each element <var title="">element</var> that is <a href=#the-properties-of-an-item title="the properties of an item">a property of the item</a>
@@ -60126,10 +60129,8 @@
   <p>An item with the <a href=#item-types title="item types">item type</a> <dfn id=md-vevent title=md-vevent><code>http://microformats.org/profile/hcalendar#vevent</code></dfn>
   represents an event.</p>
 
-  <p>This vocabulary <a href=#support-global-identifiers-for-items title="support global identifiers for
-  items">supports global identifiers for items</a>. The
-  <a href=#global-identifier>global identifier</a> gives the persistent, globally unique
-  identifier for the calendar event.</p> <!-- UID -->
+  <p>This vocabulary does not <a href=#support-global-identifiers-for-items>support global identifiers for
+  items</a>.</p>
 
   <p>The following are the type's <a href=#defined-property-name title="defined property
   name">defined property names</a>. They are based on the
@@ -60475,10 +60476,22 @@
 
    </dd>
 
+                                   
+   <dt><dfn id=md-vevent-uid title=md-vevent-uid><code>uid</code></dfn></dt>
 
-   <!-- UID not included - use "itemid" -->
+   <dd>
 
+    <p>Gives a globally unique identifier corresponding to the
+    event.</p>
 
+    <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
+    text.</p>
+
+    <p>A single property with the name <code title=md-vevent-uid><a href=#md-vevent-uid>uid</a></code> may be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vevent><a href=#md-vevent>http://microformats.org/profile/hcalendar#vevent</a></code>.</p>
+
+   </dd>
+
+
    <dt><dfn id=md-vevent-exdate title=md-vevent-exdate><code>exdate</code></dfn></dt>
 
    <dd>
@@ -60683,11 +60696,6 @@
      DATE-TIME string representing the current date and time, with the
      annotation "<code title="">VALUE=DATE-TIME</code>", to <var title="">output</var>.  <a href=#refsRFC2445>[RFC2445]</a></li>
 
-     <li><p>If the <a href=#concept-item title=concept-item>item</a> has a
-     <a href=#global-identifier>global identifier</a>, <a href=#add-an-icalendar-line>add an iCalendar
-     line</a> with the type "<code title="">UID</code>" and that
-     <a href=#global-identifier>global identifier</a> as the value to <var title="">output</var>.</li>
-
      <li>
 
       <p>For each element <var title="">element</var> that is <a href=#the-properties-of-an-item title="the properties of an item">a property of the item</a>
@@ -60874,8 +60882,6 @@
   var stampString = '' + stamp.getUTCFullYear() + (stamp.getUTCMonth() + 1) + stamp.getUTCDate() + 'T' +
                          stamp.getUTCHours() + stamp.getUTCMinutes() + stamp.getUTCSeconds() + 'Z';
   var calendar = 'BEGIN:VCALENDAR\r\nPRODID:HTML\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nDTSTAMP:' + stampString + '\r\n';
-  if (node.itemId)
-    calendar += 'UID:' + node.itemId + '\r\n';
   for (var propIndex = 0; propIndex < node.properties.length; propIndex += 1) {
     var prop = node.properties[propIndex];
     var value = prop.itemValue;

Modified: index
===================================================================
--- index	2011-10-25 00:23:25 UTC (rev 6745)
+++ index	2011-10-25 03:02:04 UTC (rev 6746)
@@ -58498,11 +58498,8 @@
   <p>An item with the <a href=#item-types title="item types">item type</a> <dfn id=md-vcard title=md-vcard><code>http://microformats.org/profile/hcard</code></dfn>
   represents a person's or organization's contact information.</p>
 
-  <p>This vocabulary <a href=#support-global-identifiers-for-items title="support global identifiers for
-  items">supports global identifiers for items</a>. The
-  <a href=#global-identifier>global identifier</a> gives a value that represents a
-  globally unique identifier corresponding to the individual or
-  resource.</p> <!-- UID -->
+  <p>This vocabulary does not <a href=#support-global-identifiers-for-items>support global identifiers for
+  items</a>.</p>
 
   <p>The following are the type's <a href=#defined-property-name title="defined property
   name">defined property names</a>. They are based on the
@@ -59308,9 +59305,21 @@
    </dd>
 
 
-   <!-- UID not included - use "itemid" -->
+   <dt><dfn id=md-vcard-uid title=md-vcard-uid><code>uid</code></dfn></dt>
 
+   <dd>
 
+    <p>Gives a globally unique identifier corresponding to the
+    person or organization.</p>
+
+    <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
+    text.</p>
+
+    <p>A single property with the name <code title=md-vcard-uid><a href=#md-vcard-uid>uid</a></code> may be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>.</p>
+
+   </dd>
+
+
    <dt><dfn id=md-vcard-url title=md-vcard-url><code>url</code></dfn></dt>
 
    <dd>
@@ -59610,12 +59619,6 @@
    vCard text string</a> obtained from the <code><a href=#textcontent>textContent</a></code>
    of <a href=#the-title-element-0>the <code>title</code> element</a> as the value to <var title="">output</var>.</li>
 
-   <li><p>If <var title="">node</var> has a <a href=#global-identifier>global
-   identifier</a>, <a href=#add-a-vcard-line>add a vCard line</a> with the type
-   "<code title="">UID</code>" and with the result of <a href=#escaping-the-vcard-text-string>escaping
-   the vCard text string</a> of that <a href=#global-identifier>global identifier</a>
-   as the value to <var title="">output</var>.</li>
-
    <li>
 
     <p>For each element <var title="">element</var> that is <a href=#the-properties-of-an-item title="the properties of an item">a property of the item</a>
@@ -60126,10 +60129,8 @@
   <p>An item with the <a href=#item-types title="item types">item type</a> <dfn id=md-vevent title=md-vevent><code>http://microformats.org/profile/hcalendar#vevent</code></dfn>
   represents an event.</p>
 
-  <p>This vocabulary <a href=#support-global-identifiers-for-items title="support global identifiers for
-  items">supports global identifiers for items</a>. The
-  <a href=#global-identifier>global identifier</a> gives the persistent, globally unique
-  identifier for the calendar event.</p> <!-- UID -->
+  <p>This vocabulary does not <a href=#support-global-identifiers-for-items>support global identifiers for
+  items</a>.</p>
 
   <p>The following are the type's <a href=#defined-property-name title="defined property
   name">defined property names</a>. They are based on the
@@ -60475,10 +60476,22 @@
 
    </dd>
 
+                                   
+   <dt><dfn id=md-vevent-uid title=md-vevent-uid><code>uid</code></dfn></dt>
 
-   <!-- UID not included - use "itemid" -->
+   <dd>
 
+    <p>Gives a globally unique identifier corresponding to the
+    event.</p>
 
+    <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
+    text.</p>
+
+    <p>A single property with the name <code title=md-vevent-uid><a href=#md-vevent-uid>uid</a></code> may be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vevent><a href=#md-vevent>http://microformats.org/profile/hcalendar#vevent</a></code>.</p>
+
+   </dd>
+
+
    <dt><dfn id=md-vevent-exdate title=md-vevent-exdate><code>exdate</code></dfn></dt>
 
    <dd>
@@ -60683,11 +60696,6 @@
      DATE-TIME string representing the current date and time, with the
      annotation "<code title="">VALUE=DATE-TIME</code>", to <var title="">output</var>.  <a href=#refsRFC2445>[RFC2445]</a></li>
 
-     <li><p>If the <a href=#concept-item title=concept-item>item</a> has a
-     <a href=#global-identifier>global identifier</a>, <a href=#add-an-icalendar-line>add an iCalendar
-     line</a> with the type "<code title="">UID</code>" and that
-     <a href=#global-identifier>global identifier</a> as the value to <var title="">output</var>.</li>
-
      <li>
 
       <p>For each element <var title="">element</var> that is <a href=#the-properties-of-an-item title="the properties of an item">a property of the item</a>
@@ -60874,8 +60882,6 @@
   var stampString = '' + stamp.getUTCFullYear() + (stamp.getUTCMonth() + 1) + stamp.getUTCDate() + 'T' +
                          stamp.getUTCHours() + stamp.getUTCMinutes() + stamp.getUTCSeconds() + 'Z';
   var calendar = 'BEGIN:VCALENDAR\r\nPRODID:HTML\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nDTSTAMP:' + stampString + '\r\n';
-  if (node.itemId)
-    calendar += 'UID:' + node.itemId + '\r\n';
   for (var propIndex = 0; propIndex < node.properties.length; propIndex += 1) {
     var prop = node.properties[propIndex];
     var value = prop.itemValue;

Modified: source
===================================================================
--- source	2011-10-25 00:23:25 UTC (rev 6745)
+++ source	2011-10-25 03:02:04 UTC (rev 6746)
@@ -66048,11 +66048,8 @@
   title="md-vcard"><code>http://microformats.org/profile/hcard</code></dfn>
   represents a person's or organization's contact information.</p>
 
-  <p>This vocabulary <span title="support global identifiers for
-  items">supports global identifiers for items</span>. The
-  <span>global identifier</span> gives a value that represents a
-  globally unique identifier corresponding to the individual or
-  resource.</p> <!-- UID -->
+  <p>This vocabulary does not <span>support global identifiers for
+  items</span>.</p>
 
   <p>The following are the type's <span title="defined property
   name">defined property names</span>. They are based on the
@@ -67061,9 +67058,24 @@
    </dd>
 
 
-   <!-- UID not included - use "itemid" -->
+   <dt><dfn title="md-vcard-uid"><code>uid</code></dfn></dt>
 
+   <dd>
 
+    <p>Gives a globally unique identifier corresponding to the
+    person or organization.</p>
+
+    <p>The <span title="concept-property-value">value</span> must be
+    text.</p>
+
+    <p>A single property with the name <code
+    title="md-vcard-uid">uid</code> may be present within each <span
+    title="concept-item">item</span> with the type <code
+    title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+   </dd>
+
+
    <dt><dfn title="md-vcard-url"><code>url</code></dfn></dt>
 
    <dd>
@@ -67426,12 +67438,6 @@
    of <span>the <code>title</code> element</span> as the value to <var
    title="">output</var>.</p></li>
 
-   <li><p>If <var title="">node</var> has a <span>global
-   identifier</span>, <span>add a vCard line</span> with the type
-   "<code title="">UID</code>" and with the result of <span>escaping
-   the vCard text string</span> of that <span>global identifier</span>
-   as the value to <var title="">output</var>.</p></li>
-
    <li>
 
     <p>For each element <var title="">element</var> that is <span
@@ -68103,10 +68109,8 @@
   title="md-vevent"><code>http://microformats.org/profile/hcalendar#vevent</code></dfn>
   represents an event.</p>
 
-  <p>This vocabulary <span title="support global identifiers for
-  items">supports global identifiers for items</span>. The
-  <span>global identifier</span> gives the persistent, globally unique
-  identifier for the calendar event.</p> <!-- UID -->
+  <p>This vocabulary does not <span>support global identifiers for
+  items</span>.</p>
 
   <p>The following are the type's <span title="defined property
   name">defined property names</span>. They are based on the
@@ -68513,10 +68517,25 @@
 
    </dd>
 
+                                   
+   <dt><dfn title="md-vevent-uid"><code>uid</code></dfn></dt>
 
-   <!-- UID not included - use "itemid" -->
+   <dd>
 
+    <p>Gives a globally unique identifier corresponding to the
+    event.</p>
 
+    <p>The <span title="concept-property-value">value</span> must be
+    text.</p>
+
+    <p>A single property with the name <code
+    title="md-vevent-uid">uid</code> may be present within each <span
+    title="concept-item">item</span> with the type <code
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
+
+   </dd>
+
+
    <dt><dfn title="md-vevent-exdate"><code>exdate</code></dfn></dt>
 
    <dd>
@@ -68777,12 +68796,6 @@
      title="">output</var>.  <a
      href="#refsRFC2445">[RFC2445]</a></p></li>
 
-     <li><p>If the <span title="concept-item">item</span> has a
-     <span>global identifier</span>, <span>add an iCalendar
-     line</span> with the type "<code title="">UID</code>" and that
-     <span>global identifier</span> as the value to <var
-     title="">output</var>.</p></li>
-
      <li>
 
       <p>For each element <var title="">element</var> that is <span
@@ -69019,8 +69032,6 @@
   var stampString = '' + stamp.getUTCFullYear() + (stamp.getUTCMonth() + 1) + stamp.getUTCDate() + 'T' +
                          stamp.getUTCHours() + stamp.getUTCMinutes() + stamp.getUTCSeconds() + 'Z';
   var calendar = 'BEGIN:VCALENDAR\r\nPRODID:HTML\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nDTSTAMP:' + stampString + '\r\n';
-  if (node.itemId)
-    calendar += 'UID:' + node.itemId + '\r\n';
   for (var propIndex = 0; propIndex < node.properties.length; propIndex += 1) {
     var prop = node.properties[propIndex];
     var value = prop.itemValue;




More information about the Commit-Watchers mailing list