- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 16 Oct 2009 20:47:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv17239
Modified Files:
Overview.html acknowledgements.html browsers.html comms.html
dom.html editing.html embedded-content-0.html forms.html
history.html iana-considerations.html index.html
infrastructure.html interactive-elements.html
introduction.html microdata.html
named-character-references.html obsolete.html offline.html
references.html semantics.html spec.html syntax.html
tabular-data.html text-level-semantics.html
the-canvas-element.html the-xhtml-syntax.html video.html
Log Message:
Remove reversed DNS label support from microdata. (whatwg r4152)
[updated by splitter]
Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- infrastructure.html 16 Oct 2009 20:17:20 -0000 1.357
+++ infrastructure.html 16 Oct 2009 20:47:38 -0000 1.358
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="introduction.html">← 1 Introduction</a> –
<a href="Overview.html#contents">Table of contents</a> –
@@ -771,14 +771,10 @@
what consists a valid token. When such restrictions are defined, the
tokens must all fit within those restrictions; other values are
non-conforming. If no such restrictions are specified, then all
- values are conforming.</p><h4 id="reversed-dns-identifiers"><span class="secno">2.4.8 </span>Reversed DNS identifiers</h4><p>A <dfn id="valid-reversed-dns-identifier">valid reversed DNS identifier</dfn> is a string that
- consists of a series of IDNA labels in reverse order (i.e. starting
- with the top-level domain), the prefix of which, when reversed and
- converted to ASCII, corresponds to a registered domain. <a href="references.html#refsRFC3490">[RFC3490]</a></p><p class="example">For instance, the string "<code title="">com.example.xn--74h</code>" is a <a href="#valid-reversed-dns-identifier">valid reversed DNS
- identifier</a> because the string "<code title="">example.com</code>" is a registered domain.</p><h4 id="syntax-references"><span class="secno">2.4.9 </span>References</h4><p>A <dfn id="valid-hash-name-reference">valid hash-name reference</dfn> to an element of type <var title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
+ values are conforming.</p><h4 id="syntax-references"><span class="secno">2.4.8 </span>References</h4><p>A <dfn id="valid-hash-name-reference">valid hash-name reference</dfn> to an element of type <var title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
character (#) followed by a string which exactly matches the value
of the <code title="">name</code> attribute of an element in the
- document with type <var title="">type</var>.</p><h4 id="mq"><span class="secno">2.4.10 </span>Media queries</h4><p>A string is a <dfn id="valid-media-query">valid media query</dfn> if it matches the
+ document with type <var title="">type</var>.</p><h4 id="mq"><span class="secno">2.4.9 </span>Media queries</h4><p>A string is a <dfn id="valid-media-query">valid media query</dfn> if it matches the
<code title="">media_query_list</code> production of the Media
Queries specification. <a href="references.html#refsMQ">[MQ]</a></p><p>A string <dfn id="matches-the-environment">matches the environment</dfn> of a view if it is
the empty string, a string consisting of only <a href="#space-character" title="space
Index: text-level-semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -d -r1.355 -r1.356
--- text-level-semantics.html 16 Oct 2009 20:17:21 -0000 1.355
+++ text-level-semantics.html 16 Oct 2009 20:47:39 -0000 1.356
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="semantics.html">← 4 The elements of HTML</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: history.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/history.html,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- history.html 16 Oct 2009 20:17:20 -0000 1.357
+++ history.html 16 Oct 2009 20:47:38 -0000 1.358
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="offline.html">← 6.7 Offline Web applications</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: tabular-data.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- tabular-data.html 16 Oct 2009 20:17:21 -0000 1.356
+++ tabular-data.html 16 Oct 2009 20:47:39 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="the-canvas-element.html">← 4.8.11 The canvas element</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: microdata.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/microdata.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- microdata.html 16 Oct 2009 20:17:20 -0000 1.356
+++ microdata.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="interactive-elements.html">← 4.11 Interactive elements</a> –
<a href="Overview.html#contents">Table of contents</a> –
@@ -409,35 +409,29 @@
re-used. Microdata is most useful, though, when it is used in
contexts where other authors and readers are able to cooperate to
make new uses of the markup.</p><p>For this purpose, it is necessary to give each <a href="#concept-item" title="concept-item">item</a> a type, such as
- "com.example.person", or "org.example.cat", or
- "net.example.band". Types are identified in two ways:</p><ul class="brief"><li>As <a href="infrastructure.html#url" title="URL">URLs</a>.
-
- </li><li>As <a href="infrastructure.html#valid-reversed-dns-identifier" title="valid reversed DNS identifier">reversed DNS
- labels</a>.
-
- </li></ul><p><a href="infrastructure.html#url" title="URL">URLs</a> are self-explanatory. <a href="infrastructure.html#valid-reversed-dns-identifier" title="valid reversed DNS identifier">Reversed DNS labels</a> are
- strings such as "org.example.animals.cat" or "com.example.band".</p><p>The type for an <a href="#concept-item" title="concept-item">item</a> is given
+ "http://example.com/person", or "http://example.org/cat", or
+ "http://band.example.net/". Types are identified as <a href="infrastructure.html#url" title="URL">URLs</a>.</p><p>The type for an <a href="#concept-item" title="concept-item">item</a> is given
as the value of an <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code>
attribute on the same element as the <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute.</p><div class="example">
- <p>Here, the item is "org.example.animals.cat":</p>
+ <p>Here, the item is "http://example.org/animals#cat":</p>
-<pre><section itemscope itemtype="org.example.animal.cat">
+<pre><section itemscope itemtype="http://example.org/animals#cat">
<h1 itemprop="name">Hedral</h1>
<p itemprop="desc">Hedral is a male american domestic
shorthair, with a fluffy black fur with white paws and belly.</p>
<img itemprop="img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
- <p>In this example the "org.example.animals.cat" item has three
+ <p>In this example the "http://example.org/animals#cat" item has three
properties, a "name" ("Hedral"), a "desc" ("Hedral is..."), and an
"img" ("hedral.jpeg").</p>
</div><p>An item can only have one type. The type gives the context for
the properties, thus defining a vocabulary: a property named "class"
- given for an item with the type "com.example.census.person" might
+ given for an item with the type "http://census.example/person" might
refer to the economic class of an individual, while a property named
- "class" given for an item with the type "com.example.school.teacher"
+ "class" given for an item with the type "http://example.com/school/teacher"
might refer to the classroom a teacher has been assigned.</p><h4 id="global-identifiers-for-items"><span class="secno">5.1.4 </span>Global identifiers for items</h4><p><i>This section is non-normative.</i></p><p>Sometimes, an <a href="#concept-item" title="concept-item">item</a> gives
information about a topic that has a global identifier. For example,
books can be identified by their ISBN number.</p><p>Vocabularies (as identified by the <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute) can be designed
@@ -481,59 +475,53 @@
ad-hoc vocabulary is adequate. For others, a vocabulary will need to
be designed. Where possible, authors are encouraged to re-use
existing vocabularies, as this makes content re-use easier.</p><p>When designing new vocabularies, identifiers can be created
- either using <a href="infrastructure.html#url" title="URL">URLs</a>, <a href="infrastructure.html#valid-reversed-dns-identifier" title="valid
- reversed DNS identifier">reversed DNS labels</a>, or, for
- properties, as plain words (with no dots or colons). For URLs,
- conflicts with other vocabularies can be avoided by only using
- identifiers that correspond to pages that the author has control
- over. Similarly, for reversed DNS labels conflicts can be avoided by
- using a domain name that the author has control over, or by using
- suffixes that correspond to the path components of pages that the
- author has control over.</p><div class="example">
+ either using <a href="infrastructure.html#url" title="URL">URLs</a>, or, for properties, as
+ plain words (with no dots or colons). For URLs, conflicts with other
+ vocabularies can be avoided by only using identifiers that
+ correspond to pages that the author has control over.</p><div class="example">
<p>For instance, if Jon and Adam both write content at <code title="">example.com</code>, at <code title="">http://example.com/jon/...</code> and <code title="">http://example.com/adam/...</code> respectively, then they
- could select identifiers of the form "com.example.jon.name" and
- "com.example.adam.name" respectively.</p>
+ could select identifiers of the form "http://example.com/~jon/name" and
+ "http://example.com/~adam/name" respectively.</p>
</div><p>Properties whose names are just plain words can only be used
within the context of the types for which they are intended;
- properties named using URLs or reversed DNS labels can be reused in
- items of any type. If an item has no type, and is not part of
- another item, then if its properties have names that are just plain
- words, they are not intended to be globally unique, and are instead
- only intended for limited use. Generally speaking, authors are
- encouraged to use either properties with globally unique names
- (URLs, reversed DNS labels) or ensure that their items are
- typed.</p><div class="example">
+ properties named using URLs can be reused in items of any type. If
+ an item has no type, and is not part of another item, then if its
+ properties have names that are just plain words, they are not
+ intended to be globally unique, and are instead only intended for
+ limited use. Generally speaking, authors are encouraged to use
+ either properties with globally unique names (URLs) or ensure that
+ their items are typed.</p><div class="example">
- <p>Here, an item is an "org.example.animals.cat", and most of the
+ <p>Here, an item is an "http://example.org/animals#cat", and most of the
properties have names that are words defined in the context of that
type. There are also a few additional properties whose names come
from other vocabularies.</p>
-<pre><section itemscope itemtype="org.example.animal.cat">
- <h1 itemprop="name com.example.fn">Hedral</h1>
+<pre><section itemscope itemtype="http://example.org/animals#cat">
+ <h1 itemprop="name http://example.com/fn">Hedral</h1>
<p itemprop="desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- itemprop="com.example.color">black</span> fur with <span
- itemprop="com.example.color">white</span> paws and belly.</p>
+ itemprop="http://example.com/color">black</span> fur with <span
+ itemprop="http://example.com/color">white</span> paws and belly.</p>
<img itemprop="img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
- <p>This example has one item with the type "org.example.animal.cat"
+ <p>This example has one item with the type "http://example.org/animals#cat"
and the following properties:</p>
<table><thead><tr><td>Property
</td><td>Value
</td></tr></thead><tbody><tr><td>name
</td><td>Hedral
- </td></tr><tr><td>com.example.fn
+ </td></tr><tr><td>http://example.com/fn
</td><td>Hedral
</td></tr><tr><td>desc
</td><td>Hedral is a male american domestic shorthair, with a fluffy black fur with white paws and belly.
- </td></tr><tr><td>com.example.color
+ </td></tr><tr><td>http://example.com/color
</td><td>black
- </td></tr><tr><td>com.example.color
+ </td></tr><tr><td>http://example.com/color
</td><td>white
</td></tr><tr><td>img
</td><td>.../hedral.jpeg
@@ -554,7 +542,7 @@
to obtain a list of all the top-level microdata items of one type
given in the document:</p>
- <pre>var cats = document.getItems("com.example.feline");</pre>
+ <pre>var cats = document.getItems("http://example.com/feline");</pre>
</div><p>Once an element representing an <a href="#concept-item" title="concept-item">item</a> has been obtained, its properties
can be extracted using the <code title="dom-properties"><a href="#dom-properties">properties</a></code> IDL attribute. This
@@ -565,11 +553,11 @@
with that name.</p><p>Each element that adds a property also has a <code title="dom-itemValue"><a href="#dom-itemvalue">itemValue</a></code> IDL attribute that returns
its value.</p><div class="example">
- <p>This sample gets the first item of type "net.example.user" and
+ <p>This sample gets the first item of type "http://example.net/user" and
then pops up an alert using the "name" property from
that item.</p>
- <pre>var user = document.getItems('net.example.user')[0];
+ <pre>var user = document.getItems('http://example.net/user')[0];
alert('Hello ' + user.properties['name'][0].content + '!');</pre>
</div><p>The <code><a href="infrastructure.html#htmlpropertycollection">HTMLPropertyCollection</a></code> object, when indexed by
@@ -579,12 +567,12 @@
values at once using <em>its</em> <code title="dom-PropertyNodeList-values"><a href="#dom-propertynodelist-values">values</a></code> attribute, which
returns an array of all the values.</p><div class="example">
- <p>In an earlier example, a "org.example.animals.cat" item had two
- "com.example.color" values. This script looks up the first such
+ <p>In an earlier example, a "http://example.org/animals#cat" item had two
+ "http://example.com/color" values. This script looks up the first such
item and then lists all its values.</p>
- <pre>var cat = document.getItems('org.example.animals.cat')[0];
-var colors = cat.properties['com.example.color'].values;
+ <pre>var cat = document.getItems('http://example.com/animals#cat')[0];
+var colors = cat.properties['http://example.com/color'].values;
var result;
if (colors.length == 0) {
result = 'Color unknown.';
@@ -621,12 +609,12 @@
<p>If faced with the following from an earlier example:</p>
- <pre><section itemscope item="org.example.animal.cat">
- <h1 itemprop="name com.example.fn">Hedral</h1>
+ <pre><section itemscope item="http://example.org/animals#cat">
+ <h1 itemprop="name http://example.com/fn">Hedral</h1>
<p itemprop="desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- itemprop="com.example.color">black</span> fur with <span
- itemprop="com.example.color">white</span> paws and belly.</p>
+ itemprop="http://example.com/color">black</span> fur with <span
+ itemprop="http://example.com/color">white</span> paws and belly.</p>
<img itemprop="img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
@@ -634,12 +622,12 @@
<ul><li>
<ul><li>name</li>
- <li>com.example.fn</li>
+ <li>http://example.com/fn</li>
<li>desc</li>
- <li>com.example.color</li>
+ <li>http://example.com/color</li>
<li>img</li>
</ul></li>
- </ul><p>(The duplicate occurrence of "com.example.color" is not included
+ </ul><p>(The duplicate occurrence of "http://example.com/color" is not included
in the list.)</p>
</div><h3 id="encoding-microdata"><span class="secno">5.2 </span>Encoding microdata</h3><h4 id="the-microdata-model"><span class="secno">5.2.1 </span>The microdata model</h4><p>The microdata model consists of groups of name-value pairs known
@@ -665,13 +653,11 @@
not be specified on <code><a href="semantics.html#itemref">itemref</a></code> elements.</p><hr><p>Elements with an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code>
attribute may have an <dfn id="attr-itemtype" title="attr-itemtype"><code>itemtype</code></dfn> attribute
specified, to give the <a href="#item-type">item type</a> of the <a href="#concept-item" title="concept-item">item</a>.</p><p>The <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute, if
- specified, must have a value that is either:</p><ul><li>A <a href="infrastructure.html#valid-url">valid URL</a> that is an <a href="infrastructure.html#absolute-url">absolute URL</a>
- for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
- <a href="infrastructure.html#prefix-match">prefix match</a>, or</li>
-
- <li>A <a href="infrastructure.html#valid-reversed-dns-identifier">valid reversed DNS identifier</a>.</li>
-
- </ul><p>The <dfn id="item-type">item type</dfn> of an <a href="#concept-item" title="concept-item">item</a> is the value of its element's <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute, if it has one and
+ specified, must have a value that is a <a href="infrastructure.html#valid-url">valid URL</a> that
+ is an <a href="infrastructure.html#absolute-url">absolute URL</a> for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
+ <a href="infrastructure.html#prefix-match">prefix match</a>.</p><!-- we disallow that prefix so that
+ we have somewhere to put future extensions, e.g. if we ever support
+ short type names --><p>The <dfn id="item-type">item type</dfn> of an <a href="#concept-item" title="concept-item">item</a> is the value of its element's <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute, if it has one and
its value is not the empty string. If the <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute is missing or its
value is the empty string, the <a href="#concept-item" title="concept-item">item</a> is said to have no <a href="#item-type">item
type</a>.</p><p>The <a href="#item-type">item type</a> must be a type defined in an <a href="#other-applicable-specifications" title="other applicable specifications">applicable
@@ -703,8 +689,6 @@
for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
<a href="infrastructure.html#prefix-match">prefix match</a>, or</li>
- <li>A <a href="infrastructure.html#valid-reversed-dns-identifier">valid reversed DNS identifier</a>, or</li>
-
<li>If the item is a <a href="#typed-item">typed item</a>: a <dfn id="defined-property-name">defined
property name</dfn> allowed in this situation according to the
specification that defines the <a href="#relevant-type">relevant type</a> for the
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- Overview.html 16 Oct 2009 20:17:20 -0000 1.358
+++ Overview.html 16 Oct 2009 20:47:37 -0000 1.359
@@ -241,7 +241,7 @@
</dl><p>This specification is available in the following formats:
<a href="spec.html">single page HTML</a>,
<a href="Overview.html">multipage HTML</a>.
-This is revision 1.3300.
+This is revision 1.3301.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2009 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -379,9 +379,8 @@
<li><a href="infrastructure.html#colors"><span class="secno">2.4.5 </span>Colors</a></li>
<li><a href="infrastructure.html#space-separated-tokens"><span class="secno">2.4.6 </span>Space-separated tokens</a></li>
<li><a href="infrastructure.html#comma-separated-tokens"><span class="secno">2.4.7 </span>Comma-separated tokens</a></li>
- <li><a href="infrastructure.html#reversed-dns-identifiers"><span class="secno">2.4.8 </span>Reversed DNS identifiers</a></li>
- <li><a href="infrastructure.html#syntax-references"><span class="secno">2.4.9 </span>References</a></li>
- <li><a href="infrastructure.html#mq"><span class="secno">2.4.10 </span>Media queries</a></li></ol></li>
+ <li><a href="infrastructure.html#syntax-references"><span class="secno">2.4.8 </span>References</a></li>
+ <li><a href="infrastructure.html#mq"><span class="secno">2.4.9 </span>Media queries</a></li></ol></li>
<li><a href="infrastructure.html#urls"><span class="secno">2.5 </span>URLs</a>
<ol><li><a href="infrastructure.html#terminology-0"><span class="secno">2.5.1 </span>Terminology</a></li>
<li><a href="infrastructure.html#interfaces-for-url-manipulation"><span class="secno">2.5.2 </span>Interfaces for URL manipulation</a></li></ol></li>
Index: embedded-content-0.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- embedded-content-0.html 16 Oct 2009 20:17:20 -0000 1.356
+++ embedded-content-0.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/dom.html,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -d -r1.359 -r1.360
--- dom.html 16 Oct 2009 20:17:20 -0000 1.359
+++ dom.html 16 Oct 2009 20:47:37 -0000 1.360
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="infrastructure.html">← 2 Common infrastructure</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: acknowledgements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- acknowledgements.html 16 Oct 2009 20:17:20 -0000 1.356
+++ acknowledgements.html 16 Oct 2009 20:47:37 -0000 1.357
@@ -218,7 +218,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="references.html">← References</a> –
<a href="Overview.html#contents">Table of contents</a>
Index: the-canvas-element.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- the-canvas-element.html 16 Oct 2009 20:17:21 -0000 1.358
+++ the-canvas-element.html 16 Oct 2009 20:47:39 -0000 1.359
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="video.html">← 4.8.7 The video element</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: iana-considerations.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- iana-considerations.html 16 Oct 2009 20:17:20 -0000 1.356
+++ iana-considerations.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="obsolete.html">← 11 Obsolete features</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: forms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/forms.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- forms.html 16 Oct 2009 20:17:20 -0000 1.358
+++ forms.html 16 Oct 2009 20:47:38 -0000 1.359
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="tabular-data.html">← 4.9 Tabular data</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: interactive-elements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- interactive-elements.html 16 Oct 2009 20:17:20 -0000 1.356
+++ interactive-elements.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="forms.html">← 4.10 Forms</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/editing.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- editing.html 16 Oct 2009 20:17:20 -0000 1.358
+++ editing.html 16 Oct 2009 20:47:37 -0000 1.359
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="history.html">← 6.8 Session history and navigation</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: video.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/video.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- video.html 16 Oct 2009 20:17:21 -0000 1.358
+++ video.html 16 Oct 2009 20:47:39 -0000 1.359
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="text-level-semantics.html">← 4.6 Text-level semantics</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/browsers.html,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -d -r1.359 -r1.360
--- browsers.html 16 Oct 2009 20:17:20 -0000 1.359
+++ browsers.html 16 Oct 2009 20:47:37 -0000 1.360
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="microdata.html">← 5 Microdata</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: the-xhtml-syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -d -r1.355 -r1.356
--- the-xhtml-syntax.html 16 Oct 2009 20:17:21 -0000 1.355
+++ the-xhtml-syntax.html 16 Oct 2009 20:47:39 -0000 1.356
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="named-character-references.html">← 9.2 Named character references</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/offline.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- offline.html 16 Oct 2009 20:17:21 -0000 1.356
+++ offline.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="browsers.html">← 6 Web browsers</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/syntax.html,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -d -r1.359 -r1.360
--- syntax.html 16 Oct 2009 20:17:21 -0000 1.359
+++ syntax.html 16 Oct 2009 20:47:39 -0000 1.360
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="comms.html">← 8 Communication</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: obsolete.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/obsolete.html,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- obsolete.html 16 Oct 2009 20:17:20 -0000 1.357
+++ obsolete.html 16 Oct 2009 20:47:38 -0000 1.358
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: named-character-references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- named-character-references.html 16 Oct 2009 20:17:20 -0000 1.357
+++ named-character-references.html 16 Oct 2009 20:47:38 -0000 1.358
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="syntax.html">← 9 The HTML syntax</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/references.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- references.html 16 Oct 2009 20:17:21 -0000 1.356
+++ references.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="index.html">← Index</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/semantics.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- semantics.html 16 Oct 2009 20:17:21 -0000 1.358
+++ semantics.html 16 Oct 2009 20:47:38 -0000 1.359
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: index.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/index.html,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- index.html 16 Oct 2009 20:17:20 -0000 1.356
+++ index.html 16 Oct 2009 20:47:38 -0000 1.357
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="iana-considerations.html">← IANA considerations</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: comms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/comms.html,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- comms.html 16 Oct 2009 20:17:20 -0000 1.358
+++ comms.html 16 Oct 2009 20:47:37 -0000 1.359
@@ -219,7 +219,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="editing.html">← 7 User Interaction</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -d -r1.359 -r1.360
--- spec.html 16 Oct 2009 20:17:21 -0000 1.359
+++ spec.html 16 Oct 2009 20:47:38 -0000 1.360
@@ -239,7 +239,7 @@
</dl><p>This specification is available in the following formats:
<a href=spec.html>single page HTML</a>,
<a href=Overview.html>multipage HTML</a>.
-This is revision 1.3300.
+This is revision 1.3301.
</p>
<p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
© 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -386,9 +386,8 @@
<li><a href=#colors><span class=secno>2.4.5 </span>Colors</a></li>
<li><a href=#space-separated-tokens><span class=secno>2.4.6 </span>Space-separated tokens</a></li>
<li><a href=#comma-separated-tokens><span class=secno>2.4.7 </span>Comma-separated tokens</a></li>
- <li><a href=#reversed-dns-identifiers><span class=secno>2.4.8 </span>Reversed DNS identifiers</a></li>
- <li><a href=#syntax-references><span class=secno>2.4.9 </span>References</a></li>
- <li><a href=#mq><span class=secno>2.4.10 </span>Media queries</a></li></ol></li>
+ <li><a href=#syntax-references><span class=secno>2.4.8 </span>References</a></li>
+ <li><a href=#mq><span class=secno>2.4.9 </span>Media queries</a></li></ol></li>
<li><a href=#urls><span class=secno>2.5 </span>URLs</a>
<ol>
<li><a href=#terminology-0><span class=secno>2.5.1 </span>Terminology</a></li>
@@ -1809,14 +1808,10 @@
what consists a valid token. When such restrictions are defined, the
tokens must all fit within those restrictions; other values are
non-conforming. If no such restrictions are specified, then all
- values are conforming.</p><h4 id=reversed-dns-identifiers><span class=secno>2.4.8 </span>Reversed DNS identifiers</h4><p>A <dfn id=valid-reversed-dns-identifier>valid reversed DNS identifier</dfn> is a string that
- consists of a series of IDNA labels in reverse order (i.e. starting
- with the top-level domain), the prefix of which, when reversed and
- converted to ASCII, corresponds to a registered domain. <a href=#refsRFC3490>[RFC3490]</a></p><p class=example>For instance, the string "<code title="">com.example.xn--74h</code>" is a <a href=#valid-reversed-dns-identifier>valid reversed DNS
- identifier</a> because the string "<code title="">example.com</code>" is a registered domain.</p><h4 id=syntax-references><span class=secno>2.4.9 </span>References</h4><p>A <dfn id=valid-hash-name-reference>valid hash-name reference</dfn> to an element of type <var title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
+ values are conforming.</p><h4 id=syntax-references><span class=secno>2.4.8 </span>References</h4><p>A <dfn id=valid-hash-name-reference>valid hash-name reference</dfn> to an element of type <var title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
character (#) followed by a string which exactly matches the value
of the <code title="">name</code> attribute of an element in the
- document with type <var title="">type</var>.</p><h4 id=mq><span class=secno>2.4.10 </span>Media queries</h4><p>A string is a <dfn id=valid-media-query>valid media query</dfn> if it matches the
+ document with type <var title="">type</var>.</p><h4 id=mq><span class=secno>2.4.9 </span>Media queries</h4><p>A string is a <dfn id=valid-media-query>valid media query</dfn> if it matches the
<code title="">media_query_list</code> production of the Media
Queries specification. <a href=#refsMQ>[MQ]</a></p><p>A string <dfn id=matches-the-environment>matches the environment</dfn> of a view if it is
the empty string, a string consisting of only <a href=#space-character title="space
@@ -21404,35 +21399,29 @@
re-used. Microdata is most useful, though, when it is used in
contexts where other authors and readers are able to cooperate to
make new uses of the markup.</p><p>For this purpose, it is necessary to give each <a href=#concept-item title=concept-item>item</a> a type, such as
- "com.example.person", or "org.example.cat", or
- "net.example.band". Types are identified in two ways:</p><ul class=brief><li>As <a href=#url title=URL>URLs</a>.
-
- </li><li>As <a href=#valid-reversed-dns-identifier title="valid reversed DNS identifier">reversed DNS
- labels</a>.
-
- </li></ul><p><a href=#url title=URL>URLs</a> are self-explanatory. <a href=#valid-reversed-dns-identifier title="valid reversed DNS identifier">Reversed DNS labels</a> are
- strings such as "org.example.animals.cat" or "com.example.band".</p><p>The type for an <a href=#concept-item title=concept-item>item</a> is given
+ "http://example.com/person", or "http://example.org/cat", or
+ "http://band.example.net/". Types are identified as <a href=#url title=URL>URLs</a>.</p><p>The type for an <a href=#concept-item title=concept-item>item</a> is given
as the value of an <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code>
attribute on the same element as the <code title=attr-itemscope><a href=#attr-itemscope>itemscope</a></code> attribute.</p><div class=example>
- <p>Here, the item is "org.example.animals.cat":</p>
+ <p>Here, the item is "http://example.org/animals#cat":</p>
-<pre><section itemscope itemtype="org.example.animal.cat">
+<pre><section itemscope itemtype="http://example.org/animals#cat">
<h1 itemprop="name">Hedral</h1>
<p itemprop="desc">Hedral is a male american domestic
shorthair, with a fluffy black fur with white paws and belly.</p>
<img itemprop="img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
- <p>In this example the "org.example.animals.cat" item has three
+ <p>In this example the "http://example.org/animals#cat" item has three
properties, a "name" ("Hedral"), a "desc" ("Hedral is..."), and an
"img" ("hedral.jpeg").</p>
</div><p>An item can only have one type. The type gives the context for
the properties, thus defining a vocabulary: a property named "class"
- given for an item with the type "com.example.census.person" might
+ given for an item with the type "http://census.example/person" might
refer to the economic class of an individual, while a property named
- "class" given for an item with the type "com.example.school.teacher"
+ "class" given for an item with the type "http://example.com/school/teacher"
might refer to the classroom a teacher has been assigned.</p><h4 id=global-identifiers-for-items><span class=secno>5.1.4 </span>Global identifiers for items</h4><p><i>This section is non-normative.</i></p><p>Sometimes, an <a href=#concept-item title=concept-item>item</a> gives
information about a topic that has a global identifier. For example,
books can be identified by their ISBN number.</p><p>Vocabularies (as identified by the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute) can be designed
@@ -21476,59 +21465,53 @@
ad-hoc vocabulary is adequate. For others, a vocabulary will need to
be designed. Where possible, authors are encouraged to re-use
existing vocabularies, as this makes content re-use easier.</p><p>When designing new vocabularies, identifiers can be created
- either using <a href=#url title=URL>URLs</a>, <a href=#valid-reversed-dns-identifier title="valid
- reversed DNS identifier">reversed DNS labels</a>, or, for
- properties, as plain words (with no dots or colons). For URLs,
- conflicts with other vocabularies can be avoided by only using
- identifiers that correspond to pages that the author has control
- over. Similarly, for reversed DNS labels conflicts can be avoided by
- using a domain name that the author has control over, or by using
- suffixes that correspond to the path components of pages that the
- author has control over.</p><div class=example>
+ either using <a href=#url title=URL>URLs</a>, or, for properties, as
+ plain words (with no dots or colons). For URLs, conflicts with other
+ vocabularies can be avoided by only using identifiers that
+ correspond to pages that the author has control over.</p><div class=example>
<p>For instance, if Jon and Adam both write content at <code title="">example.com</code>, at <code title="">http://example.com/jon/...</code> and <code title="">http://example.com/adam/...</code> respectively, then they
- could select identifiers of the form "com.example.jon.name" and
- "com.example.adam.name" respectively.</p>
+ could select identifiers of the form "http://example.com/~jon/name" and
+ "http://example.com/~adam/name" respectively.</p>
</div><p>Properties whose names are just plain words can only be used
within the context of the types for which they are intended;
- properties named using URLs or reversed DNS labels can be reused in
- items of any type. If an item has no type, and is not part of
- another item, then if its properties have names that are just plain
- words, they are not intended to be globally unique, and are instead
- only intended for limited use. Generally speaking, authors are
- encouraged to use either properties with globally unique names
- (URLs, reversed DNS labels) or ensure that their items are
- typed.</p><div class=example>
+ properties named using URLs can be reused in items of any type. If
+ an item has no type, and is not part of another item, then if its
+ properties have names that are just plain words, they are not
+ intended to be globally unique, and are instead only intended for
+ limited use. Generally speaking, authors are encouraged to use
+ either properties with globally unique names (URLs) or ensure that
+ their items are typed.</p><div class=example>
- <p>Here, an item is an "org.example.animals.cat", and most of the
+ <p>Here, an item is an "http://example.org/animals#cat", and most of the
properties have names that are words defined in the context of that
type. There are also a few additional properties whose names come
from other vocabularies.</p>
-<pre><section itemscope itemtype="org.example.animal.cat">
- <h1 itemprop="name com.example.fn">Hedral</h1>
+<pre><section itemscope itemtype="http://example.org/animals#cat">
+ <h1 itemprop="name http://example.com/fn">Hedral</h1>
<p itemprop="desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- itemprop="com.example.color">black</span> fur with <span
- itemprop="com.example.color">white</span> paws and belly.</p>
+ itemprop="http://example.com/color">black</span> fur with <span
+ itemprop="http://example.com/color">white</span> paws and belly.</p>
<img itemprop="img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
- <p>This example has one item with the type "org.example.animal.cat"
+ <p>This example has one item with the type "http://example.org/animals#cat"
and the following properties:</p>
<table><thead><tr><td>Property
</td><td>Value
</td></tr></thead><tbody><tr><td>name
</td><td>Hedral
- </td></tr><tr><td>com.example.fn
+ </td></tr><tr><td>http://example.com/fn
</td><td>Hedral
</td></tr><tr><td>desc
</td><td>Hedral is a male american domestic shorthair, with a fluffy black fur with white paws and belly.
- </td></tr><tr><td>com.example.color
+ </td></tr><tr><td>http://example.com/color
</td><td>black
- </td></tr><tr><td>com.example.color
+ </td></tr><tr><td>http://example.com/color
</td><td>white
</td></tr><tr><td>img
</td><td>.../hedral.jpeg
@@ -21549,7 +21532,7 @@
to obtain a list of all the top-level microdata items of one type
given in the document:</p>
- <pre>var cats = document.getItems("com.example.feline");</pre>
+ <pre>var cats = document.getItems("http://example.com/feline");</pre>
</div><p>Once an element representing an <a href=#concept-item title=concept-item>item</a> has been obtained, its properties
can be extracted using the <code title=dom-properties><a href=#dom-properties>properties</a></code> IDL attribute. This
@@ -21560,11 +21543,11 @@
with that name.</p><p>Each element that adds a property also has a <code title=dom-itemValue><a href=#dom-itemvalue>itemValue</a></code> IDL attribute that returns
its value.</p><div class=example>
- <p>This sample gets the first item of type "net.example.user" and
+ <p>This sample gets the first item of type "http://example.net/user" and
then pops up an alert using the "name" property from
that item.</p>
- <pre>var user = document.getItems('net.example.user')[0];
+ <pre>var user = document.getItems('http://example.net/user')[0];
alert('Hello ' + user.properties['name'][0].content + '!');</pre>
</div><p>The <code><a href=#htmlpropertycollection>HTMLPropertyCollection</a></code> object, when indexed by
@@ -21574,12 +21557,12 @@
values at once using <em>its</em> <code title=dom-PropertyNodeList-values><a href=#dom-propertynodelist-values>values</a></code> attribute, which
returns an array of all the values.</p><div class=example>
- <p>In an earlier example, a "org.example.animals.cat" item had two
- "com.example.color" values. This script looks up the first such
+ <p>In an earlier example, a "http://example.org/animals#cat" item had two
+ "http://example.com/color" values. This script looks up the first such
item and then lists all its values.</p>
- <pre>var cat = document.getItems('org.example.animals.cat')[0];
-var colors = cat.properties['com.example.color'].values;
+ <pre>var cat = document.getItems('http://example.com/animals#cat')[0];
+var colors = cat.properties['http://example.com/color'].values;
var result;
if (colors.length == 0) {
result = 'Color unknown.';
@@ -21616,12 +21599,12 @@
<p>If faced with the following from an earlier example:</p>
- <pre><section itemscope item="org.example.animal.cat">
- <h1 itemprop="name com.example.fn">Hedral</h1>
+ <pre><section itemscope item="http://example.org/animals#cat">
+ <h1 itemprop="name http://example.com/fn">Hedral</h1>
<p itemprop="desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- itemprop="com.example.color">black</span> fur with <span
- itemprop="com.example.color">white</span> paws and belly.</p>
+ itemprop="http://example.com/color">black</span> fur with <span
+ itemprop="http://example.com/color">white</span> paws and belly.</p>
<img itemprop="img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
@@ -21629,12 +21612,12 @@
<ul><li>
<ul><li>name</li>
- <li>com.example.fn</li>
+ <li>http://example.com/fn</li>
<li>desc</li>
- <li>com.example.color</li>
+ <li>http://example.com/color</li>
<li>img</li>
</ul></li>
- </ul><p>(The duplicate occurrence of "com.example.color" is not included
+ </ul><p>(The duplicate occurrence of "http://example.com/color" is not included
in the list.)</p>
</div><h3 id=encoding-microdata><span class=secno>5.2 </span>Encoding microdata</h3><h4 id=the-microdata-model><span class=secno>5.2.1 </span>The microdata model</h4><p>The microdata model consists of groups of name-value pairs known
@@ -21660,13 +21643,11 @@
not be specified on <code><a href=#itemref>itemref</a></code> elements.</p><hr><p>Elements with an <code title=attr-itemscope><a href=#attr-itemscope>itemscope</a></code>
attribute may have an <dfn id=attr-itemtype title=attr-itemtype><code>itemtype</code></dfn> attribute
specified, to give the <a href=#item-type>item type</a> of the <a href=#concept-item title=concept-item>item</a>.</p><p>The <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute, if
- specified, must have a value that is either:</p><ul><li>A <a href=#valid-url>valid URL</a> that is an <a href=#absolute-url>absolute URL</a>
- for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
- <a href=#prefix-match>prefix match</a>, or</li>
-
- <li>A <a href=#valid-reversed-dns-identifier>valid reversed DNS identifier</a>.</li>
-
- </ul><p>The <dfn id=item-type>item type</dfn> of an <a href=#concept-item title=concept-item>item</a> is the value of its element's <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute, if it has one and
+ specified, must have a value that is a <a href=#valid-url>valid URL</a> that
+ is an <a href=#absolute-url>absolute URL</a> for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
+ <a href=#prefix-match>prefix match</a>.</p><!-- we disallow that prefix so that
+ we have somewhere to put future extensions, e.g. if we ever support
+ short type names --><p>The <dfn id=item-type>item type</dfn> of an <a href=#concept-item title=concept-item>item</a> is the value of its element's <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute, if it has one and
its value is not the empty string. If the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> attribute is missing or its
value is the empty string, the <a href=#concept-item title=concept-item>item</a> is said to have no <a href=#item-type>item
type</a>.</p><p>The <a href=#item-type>item type</a> must be a type defined in an <a href=#other-applicable-specifications title="other applicable specifications">applicable
@@ -21698,8 +21679,6 @@
for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
<a href=#prefix-match>prefix match</a>, or</li>
- <li>A <a href=#valid-reversed-dns-identifier>valid reversed DNS identifier</a>, or</li>
-
<li>If the item is a <a href=#typed-item>typed item</a>: a <dfn id=defined-property-name>defined
property name</dfn> allowed in this situation according to the
specification that defines the <a href=#relevant-type>relevant type</a> for the
Index: introduction.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/introduction.html,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- introduction.html 16 Oct 2009 20:17:20 -0000 1.357
+++ introduction.html 16 Oct 2009 20:47:38 -0000 1.358
@@ -218,7 +218,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3300.</p>
+<p>This is revision 1.3301.</p>
</div><div>
<a href="Overview.html#contents">Table of contents</a> –
<a href="infrastructure.html">2 Common infrastructure →</a>
Received on Friday, 16 October 2009 20:47:47 UTC