- From: poot <cvsmail@w3.org>
- Date: Fri, 7 Aug 2009 18:45:14 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Include MIME type registration sections. (whatwg r3552) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2744&r2=1.2745&f=h http://html5.org/tools/web-apps-tracker?from=3551&to=3552 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2744 retrieving revision 1.2745 diff -u -d -r1.2744 -r1.2745 --- Overview.html 7 Aug 2009 00:03:40 -0000 1.2744 +++ Overview.html 7 Aug 2009 09:44:31 -0000 1.2745 @@ -1178,6 +1178,12 @@ <li><a href="#localization"><span class="secno">13.1 </span>Localization</a></li> <li><a href="#declarative-3d-scenes"><span class="secno">13.2 </span>Declarative 3D scenes</a></li> <li><a href="#rendering-and-the-dom"><span class="secno">13.3 </span>Rendering and the DOM</a></ol></li> + <li><a class="no-num" href="#iana-considerations">IANA considerations</a> + <ol> + <li><a href="#text-html"><span class="secno">13.1 </span><code>text/html</code></a></li> + <li><a href="#application-xhtml-xml"><span class="secno">13.2 </span><code>application/xhtml+xml</code></a></li> + <li><a href="#text-cache-manifest"><span class="secno">13.3 </span><code>text/cache-manifest</code></a></li> + <li><a href="#application-microdata-json"><span class="secno">13.4 </span><code>application/microdata+json</code></a></ol></li> <li><a class="no-num" href="#index">Index</a></li> <li><a class="no-num" href="#references">References</a></li> <li><a class="no-num" href="#acknowledgements">Acknowledgements</a></ol> @@ -1295,15 +1301,16 @@ resources that use this abstract language, two of which are defined in this specification.<p>The first such concrete syntax is "HTML5". This is the format recommended for most authors. It is compatible with all legacy Web - browsers. If a document is transmitted with the MIME type <code title="">text/html</code>, then it will be processed as an "HTML5" + browsers. If a document is transmitted with the MIME type + <code><a href="#text-html">text/html</a></code>, then it will be processed as an "HTML5" document by Web browsers.<p>The second concrete syntax uses XML, and is known as "XHTML5". When a document is transmitted with an <a href="#xml-mime-type">XML MIME - type</a>, such as <code title="">application/xhtml+xml</code>, - then it is processed by an XML processor by Web browsers, and - treated as an "XHTML5" document. Authors are reminded that the - processing for XML and HTML differs; in particular, even minor - syntax errors will prevent an XML document from being rendered - fully, whereas they would be ignored in the "HTML5" syntax.<p>The "DOM5 HTML", "HTML5", and "XHTML5" representations cannot all + type</a>, such as <code><a href="#application-xhtml-xml">application/xhtml+xml</a></code>, then it is + processed by an XML processor by Web browsers, and treated as an + "XHTML5" document. Authors are reminded that the processing for XML + and HTML differs; in particular, even minor syntax errors will + prevent an XML document from being rendered fully, whereas they + would be ignored in the "HTML5" syntax.<p>The "DOM5 HTML", "HTML5", and "XHTML5" representations cannot all represent the same content. For example, namespaces cannot be represented using "HTML5", but they are supported in "DOM5 HTML" and "XHTML5". Similarly, documents that use the <code><a href="#the-noscript-element">noscript</a></code> @@ -1663,7 +1670,7 @@ element that forms part of the transform.</p> <p>Web browsers that support <a href="#syntax">the HTML syntax</a> must - process documents labeled as <code>text/html</code> as described + process documents labeled as <code><a href="#text-html">text/html</a></code> as described in this specification, so that users can interact with them.</p> <p>User agents that support scripting must also be conforming @@ -1864,10 +1871,10 @@ attributes from the <a href="#html-namespace-0">HTML namespace</a> and that are served over the wire (e.g. by HTTP) must be sent using an <a href="#xml-mime-type">XML MIME type</a> such as <code>application/xml</code> or - <code>application/xhtml+xml</code> and must not be served as - <code>text/html</code>. <a href="#references">[RFC3023]</a><p id="authors-using-html">Documents that use <a href="#syntax">the HTML + <code><a href="#application-xhtml-xml">application/xhtml+xml</a></code> and must not be served as + <code><a href="#text-html">text/html</a></code>. <a href="#references">[RFC3023]</a><p id="authors-using-html">Documents that use <a href="#syntax">the HTML syntax</a>, if they are served over the wire (e.g. by HTTP) must - be labeled with the <code>text/html</code> MIME type.<p class="impl" id="entity-references">The language in this + be labeled with the <code><a href="#text-html">text/html</a></code> MIME type.<p class="impl" id="entity-references">The language in this specification assumes that the user agent expands all entity references, and therefore does not include entity reference nodes in the DOM. If user agents do include entity reference nodes in the @@ -8065,7 +8072,7 @@ previous object, which is then returned.</p> <p>If the <var title="">type</var> argument is omitted or has the - value "<code title="">text/html</code>", then the resulting + value "<code><a href="#text-html">text/html</a></code>", then the resulting <code>Document</code> has an HTML parser associated with it, which can be given data to parse using <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code>. Otherwise, all content passed to <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> will be parsed @@ -8105,7 +8112,7 @@ follows:</p> <ol><li><p>Let <var title="">type</var> be the value of the first - argument, if there is one, or "<code>text/html</code>" + argument, if there is one, or "<code><a href="#text-html">text/html</a></code>" otherwise.</li> <li><p>Let <var title="">replace</var> be true if there is a second @@ -8197,7 +8204,7 @@ <p>If <var title="">type</var> is <em>not</em> now an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the string - "<code>text/html</code>", then act as if the tokenizer had emitted + "<code><a href="#text-html">text/html</a></code>", then act as if the tokenizer had emitted a start tag token with the tag name "pre", then set the <a href="#html-parser">HTML parser</a>'s <a href="#tokenization">tokenization</a> stage's <a href="#content-model-flag">content model flag</a> to <i title="">PLAINTEXT</i>.</p> @@ -40523,8 +40530,9 @@ element in the <a href="#atom-namespace">Atom namespace</a>. Add a <code title="">rel</code> attribute whose value is the string "<code title="">alternate</code>" to <var title="">x</var>. If the document being converted is an <a href="#html-documents" title="HTML documents">HTML document</a>, add a <code title="">type</code> attribute whose - value is the string "<code title="">text/html</code>" to <var title="">x</var>. Otherwise, the document being converted is an - <a href="#xml-documents" title="XML documents">XML document</a>; add a <code title="">type</code> attribute whose value is the string "<code title="">application/xhtml+xml</code>" to <var title="">x</var>. Append a text node with its data set to + value is the string "<code><a href="#text-html">text/html</a></code>" to <var title="">x</var>. Otherwise, the document being converted is an + <a href="#xml-documents" title="XML documents">XML document</a>; add a <code title="">type</code> attribute whose value is the string + "<code><a href="#application-xhtml-xml">application/xhtml+xml</a></code>" to <var title="">x</var>. Append a text node with its data set to <a href="#the-document-s-current-address">the document's current address</a> to <var title="">x</var>. Append <var title="">x</var> to the root element of <var title="">R</var>.</p> @@ -42921,8 +42929,9 @@ to an HTTP resource with an HTTP 204 No Content response.</p> <p>Otherwise, the URL must be treated in a manner equivalent to an - HTTP resource with a 200 OK response whose <a href="#content-type" title="Content-Type">Content-Type metadata</a> is <code title="">text/html</code> and whose response body is the return - value converted to a string value.</p> + HTTP resource with a 200 OK response whose <a href="#content-type" title="Content-Type">Content-Type metadata</a> is + <code><a href="#text-html">text/html</a></code> and whose response body is the return value + converted to a string value.</p> <p class="note">Certain contexts, in particular <code><a href="#the-img-element">img</a></code> elements, ignore the <a href="#content-type" title="Content-Type">Content-Type @@ -44204,7 +44213,7 @@ </dl><p>User agents should raise <code><a href="#security_err">SECURITY_ERR</a></code> exceptions if the methods are called with <var title="">scheme</var> or <var title="">mimeType</var> values that the UA deems to be "privileged". For example, a site attempting to register a handler - for <code>http</code> URLs or <code>text/html</code> content in a + for <code>http</code> URLs or <code><a href="#text-html">text/html</a></code> content in a Web browser would likely cause an exception to be raised.</p> <p>User agents must raise a <code><a href="#syntax_err">SYNTAX_ERR</a></code> exception if the @@ -44493,8 +44502,7 @@ clock.html clock.css clock.js</pre><p>With a small change to the HTML file, the manifest (served as - <code title="">text/cache-manifest</code>) is linked to the - application:<pre><!-- clock.html --> + <code><a href="#text-cache-manifest">text/cache-manifest</a></code>) is linked to the application:<pre><!-- clock.html --> <!DOCTYPE HTML> <html manifest="clock.manifest"> <head> @@ -44698,10 +44706,11 @@ # here is another set of files to cache, this time just the CSS file. CACHE: -style/default.css</pre><h5 id="writing-cache-manifests"><span class="secno">6.9.3.2 </span>Writing cache manifests</h5><p>Manifests must be served using the <code title="">text/cache-manifest</code> MIME type. All resources served - using the <code title="">text/cache-manifest</code> MIME type must - follow the syntax of application cache manifests, as described in - this section.<p>An application cache manifest is a text file, whose text is +style/default.css</pre><h5 id="writing-cache-manifests"><span class="secno">6.9.3.2 </span>Writing cache manifests</h5><p>Manifests must be served using the + <code><a href="#text-cache-manifest">text/cache-manifest</a></code> MIME type. All resources served + using the <code><a href="#text-cache-manifest">text/cache-manifest</a></code> MIME type must follow the + syntax of application cache manifests, as described in this + section.<p>An application cache manifest is a text file, whose text is encoded using UTF-8. Data in application cache manifests is line-based. Newlines must be represented by U+000A LINE FEED (LF) characters, U+000D CARRIAGE RETURN (CR) characters, or U+000D @@ -45176,7 +45185,8 @@ <p><i>Fetching the manifest</i>: <a href="#fetch">Fetch</a> the resource from <var title="">manifest URL</var>, and let <var title="">manifest</var> be that resource.</p> - <p>If the resource is labeled with the MIME type <code title="">text/cache-manifest</code>, parse <var title="">manifest</var> according to the <a href="#parse-a-manifest" title="parse a + <p>If the resource is labeled with the MIME type + <code><a href="#text-cache-manifest">text/cache-manifest</a></code>, parse <var title="">manifest</var> according to the <a href="#parse-a-manifest" title="parse a manifest">rules for parsing manifests</a>, obtaining a list of <a href="#concept-appcache-explicit" title="concept-appcache-explicit">explicit entries</a>, <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a> @@ -45239,8 +45249,8 @@ cancels the download, or the parser for manifests fails when checking the magic signature), or if the server returned a redirect, or if the resource is labeled with a MIME type other - than <code title="">text/cache-manifest</code>, then run the - <a href="#cache-failure-steps">cache failure steps</a>.</p> + than <code><a href="#text-cache-manifest">text/cache-manifest</a></code>, then run the <a href="#cache-failure-steps">cache + failure steps</a>.</p> </li> @@ -46886,21 +46896,21 @@ of the following types, jump to the appropriate entry in the following list, and process the resource as described there:</p> - <dl class="switch"><dt>"text/html"</dt> + <dl class="switch"><dt>"<code><a href="#text-html">text/html</a></code>"</dt> <dd>Follow the steps given in the <a href="#read-html" title="navigate-html">HTML document</a> section, and abort these steps.</dd> <!-- an <span>XML MIME type</span> --> - <dt>Any type ending in "+xml"</dt> - <dt>"application/xml"</dt> - <dt>"text/xml"</dt> + <dt>Any type ending in "<code title="">+xml</code>"</dt> + <dt>"<code>application/xml</code>"</dt> + <dt>"<code>text/xml</code>"</dt> <dd>Follow the steps given in the <a href="#read-xml" title="navigate-xml">XML document</a> section. If that section determines that the content is <em>not</em> to be displayed as a generic XML document, then proceed to the next step in this overall set of steps. Otherwise, abort these steps.</dd> - <dt>"text/plain"</dt> + <dt>"<code>text/plain</code>"</dt> <dd>Follow the steps given in the <a href="#read-text" title="navigate-text">plain text file</a> section, and abort these steps.</dd> @@ -47309,7 +47319,7 @@ (for example, the processing of fragment identifiers for <a href="#xml-mime-type" title="XML MIME type">XML MIME types</a> is the responsibility of RFC3023).</p> - <p>For HTML documents (and the <code>text/html</code> MIME type), + <p>For HTML documents (and the <code><a href="#text-html">text/html</a></code> MIME type), the following processing model must be followed to determine what <a href="#the-indicated-part-of-the-document">the indicated part of the document</a> is.</p> @@ -50512,8 +50522,7 @@ and <a href="#extracting-json" title="extracting JSON">extract the microdata from those nodes into a JSON form</a>, and then must add the resulting string to the <code title="dom-DragEvent-dataTransfer"><a href="#dom-dragevent-datatransfer">dataTransfer</a></code> member, - associated with the <code title="">application/microdata+json</code> format.</p> <!-- XXX - register --> + associated with the <code title="">application/microdata+json</code> format.</p> </li> @@ -52616,7 +52625,8 @@ <code><a href="#messageport">MessagePort</a></code> objects to disentangle them, so that their resources can be recollected. Creating many <code><a href="#messageport">MessagePort</a></code> objects and discarding them without closing them can lead to high - memory usage.<h2 id="syntax"><span class="secno">9 </span><dfn>The HTML syntax</dfn></h2><p class="note">This section only describes the rules for <code title="">text/html</code> resources. Rules for XML resources are + memory usage.<h2 id="syntax"><span class="secno">9 </span><dfn>The HTML syntax</dfn></h2><p class="note">This section only describes the rules for + <code><a href="#text-html">text/html</a></code> resources. Rules for XML resources are discussed in the section below entitled "<a href="#the-xhtml-syntax">The XHTML syntax</a>".<h3 id="writing"><span class="secno">9.1 </span>Writing HTML documents</h3><div class="impl"> @@ -59674,7 +59684,7 @@ <p>The <dfn id="xmlns-namespace">XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p> <hr><p>Data mining tools and other user agents that perform operations - on <code title="">text/html</code> content without running scripts, + on <code><a href="#text-html">text/html</a></code> content without running scripts, evaluating CSS or XPath expressions, or otherwise exposing the resulting DOM to arbitrary content, may "support namespaces" by just asserting that their DOM node analogues are in certain namespaces, @@ -62176,9 +62186,8 @@ > would are the equivalent to ¹, ², and ³. See also: http://www.w3.org/2003/entities/ --></div><h2 id="the-xhtml-syntax"><span class="secno">10 </span><dfn id="xhtml">The XHTML syntax</dfn></h2><p class="note">This section only describes the rules for XML - resources. Rules for <code title="">text/html</code> resources are - discussed in the section above entitled "<a href="#syntax">The HTML - syntax</a>".<div class="impl"> + resources. Rules for <code><a href="#text-html">text/html</a></code> resources are discussed + in the section above entitled "<a href="#syntax">The HTML syntax</a>".<div class="impl"> <h3 id="writing-xhtml-documents"><span class="secno">10.1 </span>Writing XHTML documents</h3> @@ -65947,7 +65956,273 @@ implements the <code><a href="#window">Window</a></code> interface. The other views can be reached using the <code><a href="#view">view</a></code> attribute of the <code>UIEvent</code> interface, during event propagation. There is no - way currently to enumerate all the views.</p><!-- XXX examples! --><h2 class="no-num" id="index">Index</h2><p><i>This section is non-normative.</i><table><caption>List of elements</caption> + way currently to enumerate all the views.</p><!-- XXX examples! --><h2 class="no-num" id="iana-considerations">IANA considerations</h2><!-- http://www.w3.org/2002/06/registering-mediatype.html --><p>This registration is for community review and will be submitted + to the IESG for review, approval, and registration with IANA.<h3 id="text-html"><span class="secno">13.1 </span><dfn><code>text/html</code></dfn></h3><!-- + To: ietf-types@iana.org + Subject: Registration of media type text/html + --><!-- + Obsoletes: + http://www.ietf.org/rfc/rfc2854 + --><dl><dt>Type name:</dt> + <dd>text</dd> + <dt>Subtype name:</dt> + <dd>html</dd> + <dt>Required parameters:</dt> + <dd>No required parameters</dd> + <dt>Optional parameters:</dt> + <dd> + <dl><dt><code title="">charset</code></dt> + <dd> + <p>The <code title="">charset</code> parameter may be provided + to definitively specify the <a href="#document-s-character-encoding">document's character + encoding</a>, overriding any <a href="#character-encoding-declaration" title="character encoding + declaration">character encoding declarations</a> in the + document. The parameter's value must be the name of the + character encoding used to serialize the file, must be a valid + character encoding name, and must be the preferred name for that + encoding. <a href="#references">[IANACHARSET]</a></p> + </dd> + </dl></dd> + <dt>Encoding considerations:</dt> + <dd>See the section on <a href="#character-encoding-declaration" title="character encoding + declaration">character encoding declarations</a>.</dd> + <dt>Security considerations:</dt> + <dd> + + <p>Entire novels have been written about the security + considerations that apply to HTML documents. Many are listed in + this document, to which the reader is referred for more + details. Some general concerns bear mentioning here, however:</p> + + <p>HTML is scripted language, and has a large number of APIs (some + of which are described in this document). Script can expose the + user to potential risks of information leakage, credential + leakage, cross-site scripting attacks, cross-site request + forgeries, and a host of other problems. While the designs in this + specification are intended to be safe if implemented correctly, a + full implementation is a massive undertaking and, as with any + software, user agents are likely to have security bugs.</p> + + <p>Even without scripting, there are specific features in HTML + which, for historical reasons, are required for broad + compatibility with legacy content but that expose the user to + unfortunate security problems. In particular, the <code><a href="#the-img-element">img</a></code> + element can be used in conjunction with some other features as a + way to effect a port scan from the user's location on the + Internet. This can expose local network topologies that the + attacker would otherwise not be able to determine.</p> + + </dd> + <dt>Interoperability considerations:</dt> + <dd> + Rules for processing both conforming and non-conforming content + are defined in this specification. + </dd> + <dt>Published specification:</dt> + <dd> + This document is the relevant specification. Labeling a resource + with the <code><a href="#text-html">text/html</a></code> type asserts that the resource is + an <a href="#html-documents" title="HTML documents">HTML document</a> using + <a href="#syntax">the HTML syntax</a>. + </dd> + <dt>Applications that use this media type:</dt> + <dd> + Web browsers, tools for processing Web content, HTML authoring + tools, search engines, validators. + </dd> + <dt>Additional information:</dt> + <dd> + <dl><dt>Magic number(s):</dt> + <dd>No sequence of bytes can uniquely identify an HTML + document. More information on detecting HTML documents is + available in the Content-Type Processing Model specification. <a href="#MIMESNIFF">[MIMESNIFF]</a></dd> + <dt>File extension(s):</dt> + <dd>"<code title="">html</code>" and "<code title="">htm</code>" + are commonly, but certainly not exclusively, used as the + extension for HTML documents.</dd> + <dt>Macintosh file type code(s):</dt> + <dd><code title="">TEXT</code></dd> + </dl></dd> + <dt>Person & email address to contact for further information:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Intended usage:</dt> + <dd>Common</dd> + <dt>Restrictions on usage:</dt> + <dd>No restrictions apply.</dd> + <dt>Author:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Change controller:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + </dl><p>Fragment identifiers used with <code><a href="#text-html">text/html</a></code> resources + refer to <a href="#the-indicated-part-of-the-document">the indicated part of the document</a>.<h3 id="application-xhtml-xml"><span class="secno">13.2 </span><dfn><code>application/xhtml+xml</code></dfn></h3><!-- + To: ietf-types@iana.org + Subject: Registration of media type application/xhtml+xml + --><!-- + Obsoletes: + http://www.ietf.org/rfc/rfc3236.txt + --><dl><dt>Type name:</dt> + <dd>application</dd> + <dt>Subtype name:</dt> + <dd>xhtml+xml</dd> + <dt>Required parameters:</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>Optional parameters:</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>Encoding considerations:</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>Security considerations:</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>Interoperability considerations:</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>Published specification:</dt> + <dd> + Labeling a resource with the <code><a href="#application-xhtml-xml">application/xhtml+xml</a></code> + type asserts that the resource is an XML document that likely has + a root element from the <a href="#html-namespace-0">HTML namespace</a>. As such, the + relevant specifications are the XML specification, the Namespaces + in XML specification, and this specification. <a href="#references">[XML]</a> <a href="#references">[XMLNAMES]</a> + </dd> + <dt>Applications that use this media type:</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>Additional information:</dt> + <dd> + <dl><dt>Magic number(s):</dt> + <dd>Same as for <code>application/xml</code> <a href="#references">[RFC3023]</a></dd> + <dt>File extension(s):</dt> + <dd>"<code title="">xhtml</code>" and "<code title="">xht</code>" + are sometimes used as extensions for XML resources that have a + root element from the <a href="#html-namespace-0">HTML namespace</a>.</dd> + <dt>Macintosh file type code(s):</dt> + <dd><code title="">TEXT</code></dd> + </dl></dd> + <dt>Person & email address to contact for further information:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Intended usage:</dt> + <dd>Common</dd> + <dt>Restrictions on usage:</dt> + <dd>No restrictions apply.</dd> + <dt>Author:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Change controller:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + </dl><p>Fragment identifiers used with <code><a href="#application-xhtml-xml">application/xhtml+xml</a></code> + resources have the same semantics as with any XML MIME type. <a href="#references">[RFC3023]</a><h3 id="text-cache-manifest"><span class="secno">13.3 </span><dfn><code>text/cache-manifest</code></dfn></h3><!-- + To: ietf-types@iana.org + Subject: Registration of media type text/cache-manifest + --><dl><dt>Type name:</dt> + <dd>text</dd> + <dt>Subtype name:</dt> + <dd>cache-manifest</dd> + <dt>Required parameters:</dt> + <dd>No parameters</dd> + <dt>Optional parameters:</dt> + <dd>No parameters</dd> + <dt>Encoding considerations:</dt> + <dd>Always UTF-8.</dd> + <dt>Security considerations:</dt> + <dd> + <p>Cache manifests themselves pose no immediate risk unless + sensitive information is included within the + manifest. Implementations, however, are required to follow + specific rules when populating a cache based on a cache manifest, + to ensure that certain origin-based restrictions are + honored. Failure to correctly implement these rules can result in + information leakage, cross-site scripting attacks, and the + like.</p> + </dd> + <dt>Interoperability considerations:</dt> + <dd> + Rules for processing both conforming and non-conforming content + are defined in this specification. + </dd> + <dt>Published specification:</dt> + <dd> + This document is the relevant specification. + </dd> + <dt>Applications that use this media type:</dt> + <dd> + Web browsers. + </dd> + <dt>Additional information:</dt> + <dd> + <dl><dt>Magic number(s):</dt> + <dd>Cache manifests begin with the US-ASCII string "<code title="">CACHE MANIFEST</code>", followed by either a U+0020 + SPACE character, a U+0009 CHARACTER TABULATION (tab) character, a + U+000A LINE FEED (LF) character, or a U+000D CARRIAGE RETURN (CR) + character.</dd> + <dt>File extension(s):</dt> + <dd>"<code title="">manifest</code>"</dd> + <dt>Macintosh file type code(s):</dt> + <dd>No specific Macintosh file type codes are recommended for this type.</dd> + </dl></dd> + <dt>Person & email address to contact for further information:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Intended usage:</dt> + <dd>Common</dd> + <dt>Restrictions on usage:</dt> + <dd>No restrictions apply.</dd> + <dt>Author:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Change controller:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + </dl><p>Fragment identifiers have no meaning with + <code><a href="#text-cache-manifest">text/cache-manifest</a></code> resources.<h3 id="application-microdata-json"><span class="secno">13.4 </span><dfn><code>application/microdata+json</code></dfn></h3><!-- + To: ietf-types@iana.org + Subject: Registration of media type application/microdata+json + --><dl><dt>Type name:</dt> + <dd>application</dd> + <dt>Subtype name:</dt> + <dd>microdata+json</dd> + <dt>Required parameters:</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>Optional parameters:</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>Encoding considerations:</dt> + <dd>Always UTF-8.</dd> + <dt>Security considerations:</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>Interoperability considerations:</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>Published specification:</dt> + <dd> + + Labeling a resource with the + <code><a href="#application-microdata-json">application/microdata+json</a></code> type asserts that the + resource is a JSON text that consists of an object with a single + entry called "<code title="">items</code>" consisting of an array + of entries, each of which consists of an object with two entries, + one called "<code title="">type</code>" whose value is an array of + strings, and one called "<code title="">properties</code>" whose + value is an object whose entries each have a value consisting of + an array of either objects or strings, the objects being of the + same form as the objects in the aforementioned "<code title="">items</code>" entry. As such, the relevant specifications + are the JSON specification and this specification. <a href="#references">[JSON]</a> + + </dd> + <dt>Applications that use this media type:</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>Additional information:</dt> + <dd> + <dl><dt>Magic number(s):</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>File extension(s):</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + <dt>Macintosh file type code(s):</dt> + <dd>Same as for <code>application/json</code> <a href="#references">[JSON]</a></dd> + </dl></dd> + <dt>Person & email address to contact for further information:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Intended usage:</dt> + <dd>Common</dd> + <dt>Restrictions on usage:</dt> + <dd>No restrictions apply.</dd> + <dt>Author:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Change controller:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + </dl><p>Fragment identifiers used with + <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="#references">[JSON]</a><h2 class="no-num" id="index">Index</h2><p><i>This section is non-normative.</i><table><caption>List of elements</caption> <thead><tr><th> Element <th> Categories <th> Parents @@ -66660,7 +66935,6 @@ field is not focused, the value is displayed differently. Seems like this would also be useful e.g. for <output> or something so you can display localised dates, etc. - XXX * update text/html RFC XXX * password and confirm password: can we have a way to do client-side validation of this? XXX * <input type="search"> @@ -66757,5 +67031,4 @@ XXX * s/raise/throw/g XXX * be clearer about arrays/lists/collections being zero-based despite using the term "/index/th". - XXX * update RFC 2854 (text/html reg) -->
Received on Friday, 7 August 2009 09:45:54 UTC