[html5] r6278 - [e] (0) Clarify that URLs and dates are strings in the microdata model. Fixing h [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Jul 7 15:53:57 PDT 2011


Author: ianh
Date: 2011-07-07 15:53:55 -0700 (Thu, 07 Jul 2011)
New Revision: 6278

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify that URLs and dates are strings in the microdata model.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13014

Modified: complete.html
===================================================================
--- complete.html	2011-07-07 21:14:13 UTC (rev 6277)
+++ complete.html	2011-07-07 22:53:55 UTC (rev 6278)
@@ -56332,9 +56332,9 @@
 
   </div>
 
-  <p>Properties can also have values that are <a href=#url title=URL>URLs</a>. This is achieved using the <code><a href=#the-a-element>a</a></code>
-  element and its <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
-  attribute, the <code><a href=#the-img-element>img</a></code> element and its <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, or other elements that
+  <p>When a string value is a <a href=#url title=URL>URLs</a>, it is
+  expressed using the <code><a href=#the-a-element>a</a></code> element and its <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, the
+  <code><a href=#the-img-element>img</a></code> element and its <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, or other elements that
   link to or embed external resources.</p>
 
   <div class=example>
@@ -56348,9 +56348,8 @@
 
   </div>
 
-  <p>Properties can also have values that are dates, times, or dates
-  and times. This is achieved using the <code><a href=#the-time-element>time</a></code> element and
-  its <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute.</p>
+  <p>When a string value is a date, time, or both a date and a time,
+  it is expressed using the <code><a href=#the-time-element>time</a></code> element and its <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute.</p>
 
   <div class=example>
 
@@ -56797,13 +56796,18 @@
   <p>The microdata model consists of groups of name-value pairs known
   as <a href=#concept-item title=concept-item>items</a>.</p>
 
-  <p>Each group is known as an <a href=#concept-item title=concept-item>item</a>. Each <a href=#concept-item title=concept-item>item</a> can have an <a href=#item-type>item type</a>,
-  a <a href=#global-identifier>global identifier</a> (if the <a href=#item-type>item type</a>
-  <a href=#support-global-identifiers-for-items title="support global identifiers for items">supports global
-  identifiers for its items</a>), and a list of name-value
-  pairs. Each name in the name-value pair is known as a <a href=#the-properties-of-an-item title="the properties of an item">property</a>, and each <a href=#the-properties-of-an-item title="the properties of an item">property</a> has one or more
-  <a href=#concept-property-value title=concept-property-value>values</a>. Each <a href=#concept-property-value title=concept-property-value>value</a> is either a string or itself a group of
-  name-value pairs (an <a href=#concept-item title=concept-item>item</a>).</p>
+  <p>Each group is known as an <a href=#concept-item title=concept-item>item</a>.
+  Each <a href=#concept-item title=concept-item>item</a> can have an <a href=#item-type>item
+  type</a>, a <a href=#global-identifier>global identifier</a> (if the <a href=#item-type>item
+  type</a> <a href=#support-global-identifiers-for-items title="support global identifiers for
+  items">supports global identifiers for its items</a>), and a list
+  of name-value pairs. Each name in the name-value pair is known as a
+  <a href=#the-properties-of-an-item title="the properties of an item">property</a>, and each
+  <a href=#the-properties-of-an-item title="the properties of an item">property</a> has one or
+  more <a href=#concept-property-value title=concept-property-value>values</a>. Each <a href=#concept-property-value title=concept-property-value>value</a> is either a string or
+  itself a group of name-value pairs (an <a href=#concept-item title=concept-item>item</a>). The names are unordered relative
+  to each other, but if a particular name has multiple values, they do
+  have a relative order.</p>
 
   <p>An <a href=#concept-item title=concept-item>item</a> is said to be a
   <dfn id=typed-item>typed item</dfn> when either it has an <a href=#item-type>item type</a>,

Modified: index
===================================================================
--- index	2011-07-07 21:14:13 UTC (rev 6277)
+++ index	2011-07-07 22:53:55 UTC (rev 6278)
@@ -56204,9 +56204,9 @@
 
   </div>
 
-  <p>Properties can also have values that are <a href=#url title=URL>URLs</a>. This is achieved using the <code><a href=#the-a-element>a</a></code>
-  element and its <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
-  attribute, the <code><a href=#the-img-element>img</a></code> element and its <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, or other elements that
+  <p>When a string value is a <a href=#url title=URL>URLs</a>, it is
+  expressed using the <code><a href=#the-a-element>a</a></code> element and its <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, the
+  <code><a href=#the-img-element>img</a></code> element and its <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, or other elements that
   link to or embed external resources.</p>
 
   <div class=example>
@@ -56220,9 +56220,8 @@
 
   </div>
 
-  <p>Properties can also have values that are dates, times, or dates
-  and times. This is achieved using the <code><a href=#the-time-element>time</a></code> element and
-  its <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute.</p>
+  <p>When a string value is a date, time, or both a date and a time,
+  it is expressed using the <code><a href=#the-time-element>time</a></code> element and its <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute.</p>
 
   <div class=example>
 
@@ -56669,13 +56668,18 @@
   <p>The microdata model consists of groups of name-value pairs known
   as <a href=#concept-item title=concept-item>items</a>.</p>
 
-  <p>Each group is known as an <a href=#concept-item title=concept-item>item</a>. Each <a href=#concept-item title=concept-item>item</a> can have an <a href=#item-type>item type</a>,
-  a <a href=#global-identifier>global identifier</a> (if the <a href=#item-type>item type</a>
-  <a href=#support-global-identifiers-for-items title="support global identifiers for items">supports global
-  identifiers for its items</a>), and a list of name-value
-  pairs. Each name in the name-value pair is known as a <a href=#the-properties-of-an-item title="the properties of an item">property</a>, and each <a href=#the-properties-of-an-item title="the properties of an item">property</a> has one or more
-  <a href=#concept-property-value title=concept-property-value>values</a>. Each <a href=#concept-property-value title=concept-property-value>value</a> is either a string or itself a group of
-  name-value pairs (an <a href=#concept-item title=concept-item>item</a>).</p>
+  <p>Each group is known as an <a href=#concept-item title=concept-item>item</a>.
+  Each <a href=#concept-item title=concept-item>item</a> can have an <a href=#item-type>item
+  type</a>, a <a href=#global-identifier>global identifier</a> (if the <a href=#item-type>item
+  type</a> <a href=#support-global-identifiers-for-items title="support global identifiers for
+  items">supports global identifiers for its items</a>), and a list
+  of name-value pairs. Each name in the name-value pair is known as a
+  <a href=#the-properties-of-an-item title="the properties of an item">property</a>, and each
+  <a href=#the-properties-of-an-item title="the properties of an item">property</a> has one or
+  more <a href=#concept-property-value title=concept-property-value>values</a>. Each <a href=#concept-property-value title=concept-property-value>value</a> is either a string or
+  itself a group of name-value pairs (an <a href=#concept-item title=concept-item>item</a>). The names are unordered relative
+  to each other, but if a particular name has multiple values, they do
+  have a relative order.</p>
 
   <p>An <a href=#concept-item title=concept-item>item</a> is said to be a
   <dfn id=typed-item>typed item</dfn> when either it has an <a href=#item-type>item type</a>,

Modified: source
===================================================================
--- source	2011-07-07 21:14:13 UTC (rev 6277)
+++ source	2011-07-07 22:53:55 UTC (rev 6278)
@@ -63571,10 +63571,10 @@
 
   </div>
 
-  <p>Properties can also have values that are <span
-  title="URL">URLs</span>. This is achieved using the <code>a</code>
-  element and its <code title="attr-hyperlink-href">href</code>
-  attribute, the <code>img</code> element and its <code
+  <p>When a string value is a <span title="URL">URLs</span>, it is
+  expressed using the <code>a</code> element and its <code
+  title="attr-hyperlink-href">href</code> attribute, the
+  <code>img</code> element and its <code
   title="attr-img-src">src</code> attribute, or other elements that
   link to or embed external resources.</p>
 
@@ -63589,9 +63589,9 @@
 
   </div>
 
-  <p>Properties can also have values that are dates, times, or dates
-  and times. This is achieved using the <code>time</code> element and
-  its <code title="attr-time-datetime">datetime</code> attribute.</p>
+  <p>When a string value is a date, time, or both a date and a time,
+  it is expressed using the <code>time</code> element and its <code
+  title="attr-time-datetime">datetime</code> attribute.</p>
 
   <div class="example">
 
@@ -64092,17 +64092,20 @@
   <p>The microdata model consists of groups of name-value pairs known
   as <span title="concept-item">items</span>.</p>
 
-  <p>Each group is known as an <span
-  title="concept-item">item</span>. Each <span
-  title="concept-item">item</span> can have an <span>item type</span>,
-  a <span>global identifier</span> (if the <span>item type</span>
-  <span title="support global identifiers for items">supports global
-  identifiers for its items</span>), and a list of name-value
-  pairs. Each name in the name-value pair is known as a <span
-  title="the properties of an item">property</span>, and each <span
-  title="the properties of an item">property</span> has one or more
-  <span title="concept-property-value">values</span>. Each <span title="concept-property-value">value</span> is either a string or itself a group of
-  name-value pairs (an <span title="concept-item">item</span>).</p>
+  <p>Each group is known as an <span title="concept-item">item</span>.
+  Each <span title="concept-item">item</span> can have an <span>item
+  type</span>, a <span>global identifier</span> (if the <span>item
+  type</span> <span title="support global identifiers for
+  items">supports global identifiers for its items</span>), and a list
+  of name-value pairs. Each name in the name-value pair is known as a
+  <span title="the properties of an item">property</span>, and each
+  <span title="the properties of an item">property</span> has one or
+  more <span title="concept-property-value">values</span>. Each <span
+  title="concept-property-value">value</span> is either a string or
+  itself a group of name-value pairs (an <span
+  title="concept-item">item</span>). The names are unordered relative
+  to each other, but if a particular name has multiple values, they do
+  have a relative order.</p>
 
   <p>An <span title="concept-item">item</span> is said to be a
   <dfn>typed item</dfn> when either it has an <span>item type</span>,




More information about the Commit-Watchers mailing list