Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[acgiowt] (1) Define what entities XHTML UAs are to support.
git-svn-id: http://svn.whatwg.org/webapps@4691 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 11, 2010
1 parent 9a09ab2 commit f7bc366
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 15 deletions.
41 changes: 36 additions & 5 deletions complete.html

Large diffs are not rendered by default.

43 changes: 38 additions & 5 deletions index

Large diffs are not rendered by default.

79 changes: 74 additions & 5 deletions source
@@ -1,3 +1,4 @@
<!--START validation-->
<!--START complete-->
<!--START html--><!--START w3c-html-->

Expand Down Expand Up @@ -89304,11 +89305,35 @@ document.body.appendChild(text);
href="#refsXMLNS">[XMLNS]</a> <a href="#refsDOMCORE">[DOMCORE]</a>
<a href="#refsDOMEVENTS">[DOMEVENTS]</a></p>

<p>Certain algorithms in this specification <dfn title="feed the
parser">spoon-feed the parser</dfn> characters one string at a
time. In such cases, the <span>XML parser</span> must act as it
would have if faced with a single string consisting of the
concatenation of all those characters.</p>
<p>This specification provides the following additional information
that user agents should use when retrieving an external entity: the
public identifiers given in the following list all correspond to <a
href="<!--BOILERPLATE entities-dtd.url-->">the URL given by this
link</a>.</p>

<ul class="brief">
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;1.0&nbsp;Transitional//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;1.1//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;1.0&nbsp;Strict//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;1.0&nbsp;Frameset//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;Basic&nbsp;1.0//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;1.1&nbsp;plus&nbsp;MathML&nbsp;2.0//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;XHTML&nbsp;1.1&nbsp;plus&nbsp;MathML&nbsp;2.0&nbsp;plus&nbsp;SVG&nbsp;1.1//EN</code></li>
<li><code title="">-//W3C//DTD&nbsp;MathML&nbsp;2.0//EN</code></li>
<li><code title="">-//WAPFORUM//DTD&nbsp;XHTML&nbsp;Mobile&nbsp;1.0//EN</code></li>
</ul>

<p>Furthermore, user agents should attempt to retrieve the above
external entity's content when one of the above public identifiers
is used, and should not attempt to retrieve any other external
entity's content.</p>

<p class="note">This is not strictly a <span title="willful
violation">violation</span> of the XML specification, but it does
contradict the spirit of the XML specification's requirements. This
is motivated by a desire for user agents to all handle entities in
an interoperable fashion without requiring any network access for
handling external subsets. <a href="#refsXML">[XML]</a></p>

<p>When an <span>XML parser</span> creates a <code>script</code>
element, it must be marked as being <span>"parser-inserted"</span>.
Expand Down Expand Up @@ -89350,6 +89375,12 @@ document.body.appendChild(text);
the <span>HTML parser</span> is not needed in the <span>XML
parser</span>.</p>

<p>Certain algorithms in this specification <dfn title="feed the
parser">spoon-feed the parser</dfn> characters one string at a
time. In such cases, the <span>XML parser</span> must act as it
would have if faced with a single string consisting of the
concatenation of all those characters.</p>

<p>When an <span>XML parser</span> reaches the end of its input, it
must <span>stop parsing</span>, following the same rules as the
<span>HTML parser</span>.</p>
Expand Down Expand Up @@ -89504,6 +89535,11 @@ document.body.appendChild(text);
<code title="">isDefaultNamespace()</code> method on the element
would return true.</p>

<p class="note">If there is a <var title="">context</var> element,
no <code title="">DOCTYPE</code> is passed to the parser, and
therefore no external subset is referenced, and therefore no
entities will be recognised.</p>

</li>

<li>
Expand Down Expand Up @@ -98505,6 +98541,14 @@ interface <span>HTMLDocument</span> {
<dt id="refsWIN949">[WIN949]</dt>
<dd><cite><a href="http://www.microsoft.com/globaldev/reference/dbcs/949.mspx">Windows Codepage 949</a></cite>. Microsoft.</dd>

<dt id="refsWSAPI">[WSAPI]</dt>
<!--
<dd><cite><a href="http://www.w3.org/TR/websockets/">Web Sockets
API</a></cite>, I. Hickson. W3C.</dd>
-->
<dd><cite><a href="http://dev.w3.org/html5/websockets/">Web Sockets
API</a></cite>, I. Hickson. W3C.</dd>

<dt id="refsX121">[X121]</dt>
<dd><cite>Recommendation X.121 &mdash; International Numbering Plan for
Public Data Networks</cite>, CCITT Blue Book, Fascicle VIII.3,
Expand Down Expand Up @@ -98559,6 +98603,30 @@ interface <span>HTMLDocument</span> {
<dd><cite><a href="http://www.w3.org/TR/1999/REC-xslt-19991116">XSL
Transformations (XSLT) Version 1.0</a></cite>, J. Clark. W3C.</dd>

<!--END complete-->

<dt id="refsRFC2109">[RFC2109]</dt>
<dd><cite><a href="http://www.ietf.org/rfc/rfc2109.txt">HTTP State
Management Mechanism</a></cite>, D. Kristol,
L. Montulli. IETF.</dd>

<dt id="refsRFC2616">[RFC2616]</dt>
<dd><cite><a href="http://www.ietf.org/rfc/rfc2616.txt">Hypertext
Transfer Protocol &mdash; HTTP/1.1</a></cite>, R. Fielding, J. Gettys,
J. Mogul, H. Frystyk, L. Masinter, P. Leach, T. Berners-Lee. IETF.</dd>

<dt id="refsRFC2965">[RFC2965]</dt>
<dd><cite><a href="http://www.ietf.org/rfc/rfc2965.txt">HTTP State
Management Mechanism</a></cite>, D. Kristol,
L. Montulli. IETF.</dd>

<dt id="refsRFC5234">[RFC5234]</dt>
<dd><cite><a href="http://www.ietf.org/rfc/std/std68.txt">Augmented
BNF for Syntax Specifications: ABNF</a></cite>, D. Crocker,
P. Overell. IETF.</dd>

<!--START complete-->

<!--REFERENCES OFF-->
</dl>

Expand Down Expand Up @@ -99266,3 +99334,4 @@ Consistency in editorial style:
</html>
<!--END html--><!--END w3c-html-->
<!--END complete-->
<!--END validation-->

0 comments on commit f7bc366

Please sign in to comment.