Skip to content

Commit

Permalink
[e] (0) Clarify that URLs and dates are strings in the microdata model.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13014

git-svn-id: http://svn.whatwg.org/webapps@6278 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 7, 2011
1 parent d827034 commit 603d6dd
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 44 deletions.
30 changes: 17 additions & 13 deletions complete.html
Expand Up @@ -56332,9 +56332,9 @@ <h4 id=the-basic-syntax><span class=secno>5.1.2 </span>The basic syntax</h4>

</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>
Expand All @@ -56348,9 +56348,8 @@ <h4 id=the-basic-syntax><span class=secno>5.1.2 </span>The basic syntax</h4>

</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>

Expand Down Expand Up @@ -56797,13 +56796,18 @@ <h4 id=the-microdata-model><span class=secno>5.2.1 </span>The microdata model</h
<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>,
Expand Down
30 changes: 17 additions & 13 deletions index
Expand Up @@ -56204,9 +56204,9 @@ contradict people?

</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>
Expand All @@ -56220,9 +56220,8 @@ contradict people?

</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>

Expand Down Expand Up @@ -56669,13 +56668,18 @@ document.body.appendChild(outer);</pre>
<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>,
Expand Down
39 changes: 21 additions & 18 deletions source
Expand Up @@ -63571,10 +63571,10 @@ contradict people?

</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>

Expand All @@ -63589,9 +63589,9 @@ contradict people?

</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">

Expand Down Expand Up @@ -64092,17 +64092,20 @@ document.body.appendChild(outer);</pre>
<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>,
Expand Down

0 comments on commit 603d6dd

Please sign in to comment.