- From: poot <cvsmail@w3.org>
- Date: Wed, 14 Apr 2010 05:53:21 +0900 (JST)
- To: public-html-diffs@w3.org
microdata; hixie: Make microdata not depend on HTML5 for now to decouple them process-wise. (whatwg r5037) http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.65&r2=1.66&f=h http://html5.org/tools/web-apps-tracker?from=5036&to=5037 =================================================================== RCS file: /sources/public/html5/md/Overview.html,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- Overview.html 13 Apr 2010 01:52:59 -0000 1.65 +++ Overview.html 13 Apr 2010 20:53:06 -0000 1.66 @@ -1,4 +1,4 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><!-- when publishing, change bits marked ZZZ --><html lang="en-US-x-Hixie"><title>HTML Microdata</title><style type="text/css"> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><!-- when publishing, change bits marked ZZZ --><!-- bits marked YYY are for not depending on HTML5 --><html lang="en-US-x-Hixie"><title>HTML Microdata</title><style type="text/css"> pre { margin-left: 2em; white-space: pre-wrap; } h2 { margin: 3em 0 1em 0; } h3 { margin: 2.5em 0 1em 0; } @@ -384,10 +384,7 @@ This specification is the 13 April 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>The contents of this specification are also part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a specification</a> published by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a - license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All - normative content in the HTML5 specification, unless specifically - overridden by this specification, is intended to be the basis for - this specification.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 + license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!--YYY BOILERPLATE middle-w3c-html-module-status--><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/40318/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a @@ -399,10 +396,8 @@ <ol class="toc"> <li><a href="#common-infrastructure"><span class="secno">1 </span>Common infrastructure</a> <ol> - <li><a href="#dependencies"><span class="secno">1.1 </span>Dependencies</a></li> - <li><a href="#terminology"><span class="secno">1.2 </span>Terminology</a></li> - <li><a href="#conformance-requirements"><span class="secno">1.3 </span>Conformance requirements</a></li> - <li><a href="#htmlpropertiescollection-0"><span class="secno">1.4 </span>HTMLPropertiesCollection</a></ol></li> + <li><a href="#conformance-requirements"><span class="secno">1.1 </span>Conformance requirements</a></li> + <li><a href="#htmlpropertiescollection-0"><span class="secno">1.2 </span>HTMLPropertiesCollection</a></ol></li> <li><a href="#introduction"><span class="secno">2 </span>Introduction</a> <ol> <li><a href="#overview"><span class="secno">2.1 </span>Overview</a></li> @@ -418,49 +413,113 @@ <li><a href="#names:-the-itemprop-attribute"><span class="secno">3.3 </span>Names: the <code>itemprop</code> attribute</a></li> <li><a href="#values"><span class="secno">3.4 </span>Values</a></li> <li><a href="#associating-names-with-items"><span class="secno">3.5 </span>Associating names with items</a></ol></li> - <li><a href="#microdata-dom-api"><span class="secno">4 </span>Microdata DOM API</a></li> - <li><a href="#other-changes-to-html5"><span class="secno">5 </span>Other changes to HTML5</a> + <li><a href="#microdata-dom-api"><span class="secno">4 </span>Microdata DOM API</a> <ol> - <li><a href="#content-models"><span class="secno">5.1 </span>Content models</a></li> - <li><a href="#drag-and-drop"><span class="secno">5.2 </span>Drag-and-drop</a></ol></li> - <li><a href="#converting-html-to-other-formats"><span class="secno">6 </span>Converting HTML to other formats</a> + <li><a href="#drag-and-drop"><span class="secno">4.1 </span>Drag-and-drop</a></ol></li> + <li><a href="#converting-html-to-other-formats"><span class="secno">5 </span>Converting HTML to other formats</a> <ol> - <li><a href="#json"><span class="secno">6.1 </span>JSON</a></li> - <li><a href="#rdf"><span class="secno">6.2 </span>RDF</a> + <li><a href="#json"><span class="secno">5.1 </span>JSON</a></li> + <li><a href="#rdf"><span class="secno">5.2 </span>RDF</a> <ol> - <li><a href="#examples"><span class="secno">6.2.1 </span>Examples</a></ol></ol></li> - <li><a href="#iana"><span class="secno">7 </span>IANA considerations</a> + <li><a href="#examples"><span class="secno">5.2.1 </span>Examples</a></ol></ol></li> + <li><a href="#iana"><span class="secno">6 </span>IANA considerations</a> <ol> - <li><a href="#application-microdata-json"><span class="secno">7.1 </span><code>application/microdata+json</code></a></ol></li> + <li><a href="#application-microdata-json"><span class="secno">6.1 </span><code>application/microdata+json</code></a></ol></li> <li><a class="no-num" href="#references">References</a></li> <li><a class="no-num" href="#acknowledgements">Acknowledgements</a></ol> -<!--end-toc--><hr><h2 id="common-infrastructure"><span class="secno">1 </span>Common infrastructure</h2><h3 id="dependencies"><span class="secno">1.1 </span>Dependencies</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>This specification depends on the Web IDL and HTML5 - specifications. <a href="#refsWEBIDL">[WEBIDL]</a> <a href="#refsHTML5">[HTML5]</a><h3 id="terminology"><span class="secno">1.2 </span>Terminology</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>This specification relies heavily on the HTML5 specification to - define underlying terms.<p>HTML5 defines the concept of DOM <dfn id="collections">collections</dfn>, and of - IDL attributes <dfn id="reflect" title="reflect">reflecting</dfn> content - attributes. It also defines <dfn id="tree-order">tree order</dfn> and the concept of - a node's <dfn id="home-subtree">home subtree</dfn>.<p>HTML5 defines the terms <dfn id="url">URL</dfn>, <dfn id="valid-url">valid URL</dfn>, - <dfn id="absolute-url">absolute URL</dfn>, and <dfn id="resolve-a-url">resolve a URL</dfn>.<p>HTML5 defines the terms <dfn id="alphanumeric-ascii-characters">alphanumeric ASCII characters</dfn>, - <dfn id="space-characters">space characters</dfn> <dfn id="split-a-string-on-spaces">split a string on spaces</dfn>, - <dfn id="converted-to-ascii-uppercase">converted to ASCII uppercase</dfn>, and <dfn id="prefix-match">prefix - match</dfn>.<p>HTML5 defines the meaning of the term <dfn id="html-element">HTML element</dfn>, as - well as all the elements referenced in this specification. It - defines the specific concept of <dfn id="the-title-element">the <code>title</code> - element</dfn> in the context of a <code>Document</code>. In the - context of content models it defines the terms <dfn id="flow-content">flow - content</dfn> and <dfn id="phrasing-content">phrasing content</dfn>. It also defines what - an element's <dfn id="concept-id" title="concept-ID">ID</dfn> or <dfn id="language">language</dfn> - is in HTML.<p>HTML5 defines the set of <dfn id="global-attributes">global attributes</dfn>, as well as +<!--end-toc--><hr><h2 id="common-infrastructure"><span class="secno">1 </span>Common infrastructure</h2><p>This specification is designed to be used with a <dfn id="host-language">host + language</dfn> that defines the following terms:<ul class="brief"><li>DOM <dfn id="collections">collections</dfn> + <li>The <dfn id="htmlcollection-interface"><code>HTMLCollection</code> interface</dfn> + <li><dfn id="reflect" title="reflect">Reflection</dfn> of IDL attributes + <li><dfn id="tree-order">Tree order</dfn> in a DOM tree + <li>A node's <dfn id="home-subtree">home subtree</dfn> + <li><dfn id="url">URL</dfn> + <li><dfn id="valid-url">Valid URL</dfn> + <li><dfn id="absolute-url">Absolute URL</dfn> + <li><dfn id="resolve-a-url">Resolve a URL</dfn>. + <li><dfn id="alphanumeric-ascii-characters">Alphanumeric ASCII characters</dfn> + <li><dfn id="space-characters">Space characters</dfn> + <li><dfn id="split-a-string-on-spaces">Split a string on spaces</dfn> + <li><dfn id="converted-to-ascii-uppercase">Converted to ASCII uppercase</dfn> + <li><dfn id="prefix-match">Prefix match</dfn> + <li><dfn id="html-elements">HTML elements</dfn> + <li>The <dfn id="htmlelement"><code>HTMLElement</code></dfn> interface + <li>The <dfn id="htmldocument"><code>HTMLDocument</code></dfn> interface + <li><dfn id="the-title-element">The <code>title</code> element</dfn> in the context of an <code><a href="#htmldocument">HTMLDocument</a></code> + <li><dfn id="flow-content">Flow content</dfn> + <li><dfn id="phrasing-content">Phrasing content</dfn> + <li>An element's <dfn id="concept-id" title="concept-ID">ID</dfn> + <li>An element's <dfn id="language">language</dfn> + <li>A set of <dfn id="global-attributes">global attributes</dfn> + <li><dfn id="boolean-attribute">Boolean attribute</dfn> + <li><dfn id="unordered-set-of-unique-space-separated-tokens">Unordered set of unique space-separated tokens</dfn> + <li><dfn id="valid-non-negative-integer">Valid non-negative integer</dfn> + <li><dfn id="concept-date" title="concept-date">Date</dfn> + <li><dfn id="concept-time" title="concept-time">Time</dfn> + <li><dfn id="concept-datetime" title="concept-datetime">Global date and time</dfn> + <li><dfn id="valid-date-string">Valid date string</dfn> + <li><dfn id="valid-global-date-and-time-string">Valid global date and time string</dfn> + <li><dfn id="the-document-s-current-address">The document's current address</dfn> + <li><dfn id="drag-and-drop-initialization-steps">Drag-and-drop initialization steps</dfn> + <li>The <dfn id="list-of-dragged-nodes">list of dragged nodes</dfn> + </ul><p>The <a href="#host-language">host language</a> also defines the elements used in + this specification.</p><!-- YYY + <h3>Dependencies</h3> + + <p>This specification depends on the Web IDL and HTML5 + specifications. <a href="#refsWEBIDL">[WEBIDL]</a> <a + href="#refsHTML5">[HTML5]</a></p> + + + <h3>Terminology</h3> + + <p>This specification relies heavily on the HTML5 specification to + define underlying terms.</p> + + <p>HTML5 defines the concept of DOM <dfn>collections</dfn> and the + <dfn><code>HTMLCollection</code></dfn> interface, as well as the + concept of IDL attributes <dfn title="reflect">reflecting</dfn> + content attributes. It also defines <dfn>tree order</dfn> and the + concept of a node's <dfn>home subtree</dfn>.</p> + + <p>HTML5 defines the terms <dfn>URL</dfn>, <dfn>valid URL</dfn>, + <dfn>absolute URL</dfn>, and <dfn>resolve a URL</dfn>.</p> + + <p>HTML5 defines the terms <dfn>alphanumeric ASCII characters</dfn>, + <dfn>space characters</dfn> <dfn>split a string on spaces</dfn>, + <dfn>converted to ASCII uppercase</dfn>, and <dfn>prefix + match</dfn>.</p> + + <p>HTML5 defines the meaning of the term <dfn>HTML elements</dfn>, as + well as all the elements referenced in this specification. It also + defines the <dfn><code>HTMLElement</code></dfn> and + <dfn><code>HTMLDocument</code></dfn> interfaces. It defines the + specific concept of <dfn>the <code>title</code> element</dfn> in the + context of an <code>HTMLDocument</code>. In the context of content + models it defines the terms <dfn>flow content</dfn> and + <dfn>phrasing content</dfn>. It also defines what an element's <dfn + title="concept-ID">ID</dfn> or <dfn>language</dfn> is in HTML.</p> + + <p>HTML5 defines the set of <dfn>global attributes</dfn>, as well as terms used in describing attributes and their processing, such as - the concept of a <dfn id="boolean-attribute">boolean attribute</dfn>, of an <dfn id="unordered-set-of-unique-space-separated-tokens">unordered - set of unique space-separated tokens</dfn>, of a <dfn id="valid-non-negative-integer">valid - non-negative integer</dfn>, of a <dfn id="concept-date" title="concept-date">date</dfn>, a <dfn id="concept-time" title="concept-time">time</dfn>, a <dfn id="concept-datetime" title="concept-datetime">global date and time</dfn>, a <dfn id="valid-date-string">valid - date string</dfn>, and a <dfn id="valid-global-date-and-time-string">valid global date and time - string</dfn>.<p>HTML5 defines what <dfn id="the-document-s-current-address">the document's current address</dfn> - is.<p>Finally, HTML5 also defines the concepts of <dfn id="drag-and-drop-initialization-steps">drag-and-drop - initialization steps</dfn> and of the <dfn id="list-of-dragged-nodes">list of dragged + the concept of a <dfn>boolean attribute</dfn>, of an <dfn>unordered + set of unique space-separated tokens</dfn>, of a <dfn>valid + non-negative integer</dfn>, of a <dfn + title="concept-date">date</dfn>, a <dfn + title="concept-time">time</dfn>, a <dfn + title="concept-datetime">global date and time</dfn>, a <dfn>valid + date string</dfn>, and a <dfn>valid global date and time + string</dfn>.</p> + + <p>HTML5 defines what <dfn>the document's current address</dfn> + is.</p> + + <p>Finally, HTML5 also defines the concepts of <dfn>drag-and-drop + initialization steps</dfn> and of the <dfn>list of dragged nodes</dfn>, which come up in the context of drag-and-drop - interfaces.</p><!--FIXUP 2dcontext +1--><h3 id="conformance-requirements"><span class="secno">1.3 </span>Conformance requirements</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><!--FIXUP 2dcontext -1--><p>All diagrams, examples, and notes in this specification are + interfaces.</p> + +--><!--FIXUP 2dcontext +1--><h3 id="conformance-requirements"><span class="secno">1.1 </span>Conformance requirements</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><!--FIXUP 2dcontext -1--><p>All diagrams, examples, and notes in this specification are non-normative, as are all sections explicitly marked non-normative. Everything else in this specification is normative.<p>The key words "MUST", "MUST NOT", "REQUIRED", <!--"SHALL", "SHALL NOT",--> "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and @@ -508,7 +567,7 @@ e.g. to prevent denial of service attacks, to guard against running out of memory, or to work around platform-specific limitations.</p> - </div><h3 id="htmlpropertiescollection-0"><span class="secno">1.4 </span>HTMLPropertiesCollection</h3><p>The <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> interface represents a + </div><h3 id="htmlpropertiescollection-0"><span class="secno">1.2 </span>HTMLPropertiesCollection</h3><p>The <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> interface represents a <a href="#collections" title="collections">collection</a> of elements that add name-value pairs to a particular <a href="#concept-item" title="concept-item">item</a> in the <span>microdata</span> model.<pre class="idl">interface <dfn id="htmlpropertiescollection">HTMLPropertiesCollection</dfn> : <span>HTMLCollection</span> { @@ -970,7 +1029,7 @@ in the list.)</p> </div><h2 id="encoding-microdata"><span class="secno">3 </span>Encoding microdata</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The following attributes are added as <a href="#global-attributes">global - attributes</a> to HTML elements:<ul class="brief"><li><code title="attr-itemid"><a href="#attr-itemid">itemid</a></code></li> + attributes</a> to <a href="#html-elements">HTML elements</a>:<ul class="brief"><li><code title="attr-itemid"><a href="#attr-itemid">itemid</a></code></li> <li><code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code></li> <li><code title="attr-itemref"><a href="#attr-itemref">itemref</a></code></li> <li><code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code></li> @@ -988,7 +1047,7 @@ item">property</a> of a <a href="#typed-item">typed item</a>. The <dfn id="relevant-type">relevant type</dfn> for a <a href="#typed-item">typed item</a> is the <a href="#concept-item" title="concept-item">item</a>'s <a href="#item-type">item type</a>, if it has one, or else is the <a href="#relevant-type">relevant type</a> of the <a href="#concept-item" title="concept-item">item</a> for which it is a <a href="#the-properties-of-an-item" title="the - properties of an item">property</a>'s <a href="#concept-property-value" title="concept-property-value">value</a>.<h3 id="items"><span class="secno">3.2 </span>Items</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Every <span title="HTML elements">HTML element</span> may have an + properties of an item">property</a>'s <a href="#concept-property-value" title="concept-property-value">value</a>.<h3 id="items"><span class="secno">3.2 </span>Items</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Every <a href="#html-elements" title="HTML elements">HTML element</a> may have an <dfn id="attr-itemscope" title="attr-itemscope"><code>itemscope</code></dfn> attribute specified. The <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute is a <a href="#boolean-attribute">boolean attribute</a>.<p>An element with the <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> @@ -1043,7 +1102,7 @@ specified, must have a value that is an <a href="#unordered-set-of-unique-space-separated-tokens">unordered set of unique space-separated tokens</a> consisting of <a href="#concept-id" title="concept-ID">IDs</a> of elements in the same <a href="#home-subtree">home subtree</a>.<p>The <code title="attr-itemref"><a href="#attr-itemref">itemref</a></code> attribute must not - be specified on elements that do not have an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute specified.<h3 id="names:-the-itemprop-attribute"><span class="secno">3.3 </span>Names: the <dfn title="attr-itemprop"><code>itemprop</code></dfn> attribute</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Every <span title="HTML elements">HTML element</span> may have an + be specified on elements that do not have an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute specified.<h3 id="names:-the-itemprop-attribute"><span class="secno">3.3 </span>Names: the <dfn title="attr-itemprop"><code>itemprop</code></dfn> attribute</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Every <a href="#html-elements" title="HTML elements">HTML element</a> may have an <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute specified, if doing so <a href="#the-properties-of-an-item" title="the properties of an item">adds a property</a> to one or more <a href="#concept-item" title="concept-item">items</a> (as defined below).<p>The <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, if @@ -1317,11 +1376,11 @@ <dd>The mailbox. <dt>license <dd><code title="">http://www.opensource.org/licenses/mit-license.php</code> - </dl></div><h2 id="microdata-dom-api"><span class="secno">4 </span>Microdata DOM API</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><pre class="idl">[Supplemental] interface <span>HTMLDocument</span> { <!--WARNING: ALSO DUPLICATED IN HTMLDocument SECTION--> + </dl></div><h2 id="microdata-dom-api"><span class="secno">4 </span>Microdata DOM API</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><pre class="idl">[Supplemental] interface <a href="#htmldocument">HTMLDocument</a> { <!--WARNING: ALSO DUPLICATED IN HTMLDocument SECTION--> NodeList <a href="#dom-document-getitems" title="dom-document-getItems">getItems</a>(in optional DOMString typeNames); // <span>microdata</span> }; -[Supplemental] interface <span>HTMLElement</span> { +[Supplemental] interface <a href="#htmlelement">HTMLElement</a> { // <span>microdata</span> <!--WARNING: ALSO DUPLICATED IN HTMLElement SECTION--> attribute boolean <a href="#dom-itemscope" title="dom-itemScope">itemScope</a>; attribute DOMString <a href="#dom-itemtype" title="dom-itemType">itemType</a>; @@ -1384,19 +1443,19 @@ <code>NodeList</code> object must be returned.</p> <p>The <dfn id="dom-itemscope" title="dom-itemScope"><code>itemScope</code></dfn> IDL - attribute on <span>HTML elements</span> must <a href="#reflect">reflect</a> + attribute on <a href="#html-elements">HTML elements</a> must <a href="#reflect">reflect</a> the <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> content attribute. The <dfn id="dom-itemtype" title="dom-itemType"><code>itemType</code></dfn> IDL - attribute on <span>HTML elements</span> must <a href="#reflect">reflect</a> + attribute on <a href="#html-elements">HTML elements</a> must <a href="#reflect">reflect</a> the <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> content attribute, as if it was a regular string attribute, not a <a href="#url">URL</a> string attribute. The <dfn id="dom-itemid" title="dom-itemId"><code>itemId</code></dfn> IDL attribute on - <span>HTML elements</span> must <a href="#reflect">reflect</a> the <code title="attr-itemid"><a href="#attr-itemid">itemid</a></code> content attribute. The <dfn id="dom-itemprop" title="dom-itemProp"><code>itemProp</code></dfn> IDL attribute on - <span>HTML elements</span> must <a href="#reflect">reflect</a> the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> content attribute. The <dfn id="dom-itemref" title="dom-itemRef"><code>itemRef</code></dfn> IDL attribute on - <span>HTML elements</span> must <a href="#reflect">reflect</a> the <code title="attr-itemref"><a href="#attr-itemref">itemref</a></code> content attribute.</p> + <a href="#html-elements">HTML elements</a> must <a href="#reflect">reflect</a> the <code title="attr-itemid"><a href="#attr-itemid">itemid</a></code> content attribute. The <dfn id="dom-itemprop" title="dom-itemProp"><code>itemProp</code></dfn> IDL attribute on + <a href="#html-elements">HTML elements</a> must <a href="#reflect">reflect</a> the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> content attribute. The <dfn id="dom-itemref" title="dom-itemRef"><code>itemRef</code></dfn> IDL attribute on + <a href="#html-elements">HTML elements</a> must <a href="#reflect">reflect</a> the <code title="attr-itemref"><a href="#attr-itemref">itemref</a></code> content attribute.</p> <p>The <dfn id="dom-properties" title="dom-properties"><code>properties</code></dfn> IDL - attribute on <span>HTML elements</span> must return an + attribute on <a href="#html-elements">HTML elements</a> must return an <code><a href="#htmlpropertiescollection">HTMLPropertiesCollection</a></code> rooted at the <code>Document</code> node, whose filter matches only elements that have <a href="#property-names">property names</a> and are <a href="#the-properties-of-an-item" title="the properties @@ -1480,15 +1539,32 @@ <pre>for (var index = 0; index < element.itemRef.length; index += 1) process(document.getElementById(element.itemRef[index]));</pre> - </div><h2 id="other-changes-to-html5"><span class="secno">5 </span>Other changes to HTML5</h2><h3 id="content-models"><span class="secno">5.1 </span>Content models</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is + </div><!--YYY + <h2>Other changes to HTML5</h2> + + <h3>Content models</h3> + + <p>If the <code title="attr-itemprop">itemprop</code> attribute is present on <code>link</code> or <code>meta</code>, they are - <a href="#flow-content">flow content</a> and <a href="#phrasing-content">phrasing content</a>. The + <span>flow content</span> and <span>phrasing content</span>. The <code>link</code> and <code>meta</code> elements may be used where - <a href="#phrasing-content">phrasing content</a> is expected if the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present.<p>If a <code>link</code> element has an <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, the <code title="attr-link-rel">rel</code> attribute may be omitted.<p>If a <code>meta</code> element has an <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, the <code title="attr-meta-name">name</code>, <code title="attr-meta-http-equiv">http-equiv</code>, and <code title="attr-meta-charset">charset</code> attributes must be omitted, + <span>phrasing content</span> is expected if the <code + title="attr-itemprop">itemprop</code> attribute is present.</p> + + <p>If a <code>link</code> element has an <code + title="attr-itemprop">itemprop</code> attribute, the <code + title="attr-link-rel">rel</code> attribute may be omitted.</p> + + <p>If a <code>meta</code> element has an <code + title="attr-itemprop">itemprop</code> attribute, the <code + title="attr-meta-name">name</code>, <code + title="attr-meta-http-equiv">http-equiv</code>, and <code + title="attr-meta-charset">charset</code> attributes must be omitted, and the <code title="attr-meta-content">content</code> attribute - must be present.<div class="impl"> + must be present.</p> +--><div class="impl"> - <h3 id="drag-and-drop"><span class="secno">5.2 </span>Drag-and-drop</h3> + <h3 id="drag-and-drop"><span class="secno">4.1 </span>Drag-and-drop</h3> <p>The <a href="#drag-and-drop-initialization-steps">drag-and-drop initialization steps</a> are: @@ -1501,12 +1577,12 @@ </li> </ol></div><div class="impl"> - <h2 id="converting-html-to-other-formats"><span class="secno">6 </span>Converting HTML to other formats</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + <h2 id="converting-html-to-other-formats"><span class="secno">5 </span>Converting HTML to other formats</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> - <h3 id="json"><span class="secno">6.1 </span>JSON</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + <h3 id="json"><span class="secno">5.1 </span>JSON</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> <p>Given a list of nodes <var title="">nodes</var> in a <code>Document</code>, a user agent must run the following algorithm @@ -1578,7 +1654,7 @@ <li><p>Return <var title="">result</var>.</li> - </ol><h3 id="rdf"><span class="secno">6.2 </span>RDF</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + </ol><h3 id="rdf"><span class="secno">5.2 </span>RDF</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> <p>To <dfn id="extracting-rdf" title="extracting rdf">convert a <code>Document</code> to RDF</dfn>, a user agent must run the following algorithm:</p> @@ -1887,7 +1963,7 @@ <li><p>Return <var title="">subject</var>.</li> - </ol><h4 id="examples"><span class="secno">6.2.1 </span>Examples</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + </ol><h4 id="examples"><span class="secno">5.2.1 </span>Examples</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> <p><i>This section is non-normative.</i></p> @@ -1984,7 +2060,7 @@ - </div><h2 id="iana"><span class="secno">7 </span>IANA considerations</h2><!-- http://www.w3.org/2002/06/registering-mediatype.html --><h3 id="application-microdata-json"><span class="secno">7.1 </span><dfn><code>application/microdata+json</code></dfn></h3><p>This registration is for community review and will be submitted + </div><h2 id="iana"><span class="secno">6 </span>IANA considerations</h2><!-- http://www.w3.org/2002/06/registering-mediatype.html --><h3 id="application-microdata-json"><span class="secno">6.1 </span><dfn><code>application/microdata+json</code></dfn></h3><p>This registration is for community review and will be submitted to the IESG for review, approval, and registration with IANA.</p><!-- To: ietf-types@iana.org Subject: Registration of media type application/microdata+json @@ -2043,8 +2119,12 @@ <code><a href="#application-microdata-json">application/microdata+json</a></code> resources have the same semantics as when used with <code>application/json</code>. <a href="#refsJSON">[JSON]</a><h2 class="no-num" id="references">References</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><!--REFS--><p>All references are normative unless marked "Non-normative".</p><!-- Dates are only included for standards older than the Web, because the newer ones keep changing. --><dl><dt id="refsHTML5">[HTML5]</dt> - <dd><cite><a href="http://dev.w3.org/html5/spec/">HTML5</a></cite>, - I. Hickson, D. Hyatt. W3C.</dd> + <dd> +<!--YYYEND microdata--> + (Non-normative) +<!--YYYSTART microdata--> + <cite><a href="http://dev.w3.org/html5/spec/">HTML5</a></cite>, + I. Hickson. W3C.</dd> <dt id="refsJSON">[JSON]</dt> <dd><cite><a href="http://www.ietf.org/rfc/rfc4627.txt">The
Received on Tuesday, 13 April 2010 20:53:52 UTC