- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 23 Oct 2009 22:16:32 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3262
Modified Files:
acknowledgements.html browsers.html comms.html dom.html
editing.html embedded-content-0.html forms.html history.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:
Reword the stuff about authors not using encodings to make more sense. (whatwg r4307)
[updated by splitter]
Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec/infrastructure.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- infrastructure.html 23 Oct 2009 22:06:36 -0000 1.615
+++ infrastructure.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -224,7 +224,7 @@
<a href="introduction.html">← 1 Introduction</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="dom.html">3 Semantics, structure, and APIs of HTML documents →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="infrastructure"><span class="secno">2 </span>Common infrastructure</h2><h3 id="terminology"><span class="secno">2.1 </span>Terminology</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>This specification refers to both HTML and XML attributes and IDL
@@ -353,12 +353,11 @@
to support do things outside that range? -->, ignoring bytes that
are the second and later bytes of multibyte sequences, all
correspond to single-byte sequences that map to the same Unicode
- characters as those bytes in ANSI_X3.4-1968 (US-ASCII). <a href="references.html#refsRFC1345">[RFC1345]</a></p><p class="note">This includes such encodings as Shift_JIS and
- variants of ISO-2022, even though it is possible in these encodings
- for bytes like 0x70 to be part of longer sequences that are
- unrelated to their interpretation as ASCII. It excludes such
- encodings as UTF-7, UTF-16, HZ-GB-2312, GSM03.38, and EBCDIC
- variants.</p><!--
+ characters as those bytes in ANSI_X3.4-1968 (US-ASCII). <a href="references.html#refsRFC1345">[RFC1345]</a></p><p class="note">This includes such encodings as Shift_JIS,
+ HZ-GB-2312, and variants of ISO-2022, even though it is possible in
+ these encodings for bytes like 0x70 to be part of longer sequences
+ that are unrelated to their interpretation as ASCII. It excludes
+ such encodings as UTF-7, UTF-16, GSM03.38, and EBCDIC variants.</p><!--
We'll have to change that if anyone comes up with a way to have a
document that is valid as two different encodings at once, with
different <meta charset> elements applying in each case.
Index: text-level-semantics.html
===================================================================
RCS file: /sources/public/html5/spec/text-level-semantics.html,v
retrieving revision 1.608
retrieving revision 1.609
diff -u -d -r1.608 -r1.609
--- text-level-semantics.html 23 Oct 2009 22:06:37 -0000 1.608
+++ text-level-semantics.html 23 Oct 2009 22:16:30 -0000 1.609
@@ -224,7 +224,7 @@
<a href="semantics.html">← 4 The elements of HTML</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="video.html">4.8.7 The video element →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="text-level-semantics"><span class="secno">4.6 </span>Text-level semantics</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h4 id="the-a-element"><span class="secno">4.6.1 </span>The <dfn><code>a</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt>
Index: the-canvas-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-canvas-element.html,v
retrieving revision 1.477
retrieving revision 1.478
diff -u -d -r1.477 -r1.478
--- the-canvas-element.html 23 Oct 2009 22:06:37 -0000 1.477
+++ the-canvas-element.html 23 Oct 2009 22:16:30 -0000 1.478
@@ -224,7 +224,7 @@
<a href="video.html">← 4.8.7 The video element</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="tabular-data.html">4.9 Tabular data →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h4 id="the-canvas-element"><span class="secno">4.8.11 </span>The <dfn id="canvas"><code>canvas</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/74">ISSUE-74</a> (canvas-accessibility) blocks progress to Last Call</span></p><dl class="element"><dt>Categories</dt>
Index: tabular-data.html
===================================================================
RCS file: /sources/public/html5/spec/tabular-data.html,v
retrieving revision 1.609
retrieving revision 1.610
diff -u -d -r1.609 -r1.610
--- tabular-data.html 23 Oct 2009 22:06:37 -0000 1.609
+++ tabular-data.html 23 Oct 2009 22:16:30 -0000 1.610
@@ -224,7 +224,7 @@
<a href="the-canvas-element.html">← 4.8.11 The canvas element</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="forms.html">4.10 Forms →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="tabular-data"><span class="secno">4.9 </span>Tabular data</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/32">ISSUE-32</a> (table-summary) blocks progress to Last Call</span></p><h4 id="the-table-element"><span class="secno">4.9.1 </span>The <dfn><code>table</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt>
Index: microdata.html
===================================================================
RCS file: /sources/public/html5/spec/microdata.html,v
retrieving revision 1.569
retrieving revision 1.570
diff -u -d -r1.569 -r1.570
--- microdata.html 23 Oct 2009 22:06:36 -0000 1.569
+++ microdata.html 23 Oct 2009 22:16:29 -0000 1.570
@@ -224,7 +224,7 @@
<a href="interactive-elements.html">← 4.11 Interactive elements</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="browsers.html">6 Web browsers →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="microdata"><span class="secno">5 </span><dfn>Microdata</dfn></h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/76">ISSUE-76</a> (Microdata/RDFa) blocks progress to Last Call</span></p><!-- v2
Index: embedded-content-0.html
===================================================================
RCS file: /sources/public/html5/spec/embedded-content-0.html,v
retrieving revision 1.605
retrieving revision 1.606
diff -u -d -r1.605 -r1.606
--- embedded-content-0.html 23 Oct 2009 22:06:35 -0000 1.605
+++ embedded-content-0.html 23 Oct 2009 22:16:29 -0000 1.606
@@ -224,7 +224,7 @@
<a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="semantics.html">4 The elements of HTML →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h6 id="embedded-content-0"><span class="secno">3.2.5.1.6 </span>Embedded content</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p><dfn id="embedded-content">Embedded content</dfn> is content that imports another
Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec/dom.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- dom.html 23 Oct 2009 22:06:35 -0000 1.615
+++ dom.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -224,7 +224,7 @@
<a href="infrastructure.html">← 2 Common infrastructure</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="embedded-content-0.html">3.2.5.1.6 Embedded content →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="dom"><span class="secno">3 </span>Semantics, structure, and APIs of HTML documents</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h3 id="documents"><span class="secno">3.1 </span>Documents</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Every XML and HTML document in an HTML UA is represented by a
Index: acknowledgements.html
===================================================================
RCS file: /sources/public/html5/spec/acknowledgements.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- acknowledgements.html 23 Oct 2009 22:06:35 -0000 1.615
+++ acknowledgements.html 23 Oct 2009 22:16:28 -0000 1.616
@@ -222,7 +222,7 @@
</div><nav>
<a href="references.html">← References</a> –
<a href="spec.html#contents">Table of contents</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 class="no-num" id="acknowledgements">Acknowledgements</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><!-- ACKS --><p>Thanks to
Index: history.html
===================================================================
RCS file: /sources/public/html5/spec/history.html,v
retrieving revision 1.609
retrieving revision 1.610
diff -u -d -r1.609 -r1.610
--- history.html 23 Oct 2009 22:06:36 -0000 1.609
+++ history.html 23 Oct 2009 22:16:29 -0000 1.610
@@ -224,7 +224,7 @@
<a href="offline.html">← 6.9 Offline Web applications</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="editing.html">7 User Interaction →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="history"><span class="secno">6.10 </span>Session history and navigation</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h4 id="the-session-history-of-browsing-contexts"><span class="secno">6.10.1 </span>The session history of browsing contexts</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The sequence of <code>Document</code>s in a <a href="browsers.html#browsing-context">browsing
Index: forms.html
===================================================================
RCS file: /sources/public/html5/spec/forms.html,v
retrieving revision 1.609
retrieving revision 1.610
diff -u -d -r1.609 -r1.610
--- forms.html 23 Oct 2009 22:06:35 -0000 1.609
+++ forms.html 23 Oct 2009 22:16:29 -0000 1.610
@@ -224,7 +224,7 @@
<a href="tabular-data.html">← 4.9 Tabular data</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="interactive-elements.html">4.11 Interactive elements →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="forms"><span class="secno">4.10 </span>Forms</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Forms allow unscripted client-server interaction: given a form, a
Index: interactive-elements.html
===================================================================
RCS file: /sources/public/html5/spec/interactive-elements.html,v
retrieving revision 1.609
retrieving revision 1.610
diff -u -d -r1.609 -r1.610
--- interactive-elements.html 23 Oct 2009 22:06:36 -0000 1.609
+++ interactive-elements.html 23 Oct 2009 22:16:29 -0000 1.610
@@ -224,7 +224,7 @@
<a href="forms.html">← 4.10 Forms</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="microdata.html">5 Microdata →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="interactive-elements"><span class="secno">4.11 </span>Interactive elements</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h4 id="the-details-element"><span class="secno">4.11.1 </span>The <dfn><code>details</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt>
Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec/editing.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- editing.html 23 Oct 2009 22:06:35 -0000 1.615
+++ editing.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -224,7 +224,7 @@
<a href="history.html">← 6.10 Session history and navigation</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="comms.html">8 Communication →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="editing"><span class="secno">7 </span><dfn>User Interaction</dfn></h2><p>This section describes various features that allow authors to
Index: video.html
===================================================================
RCS file: /sources/public/html5/spec/video.html,v
retrieving revision 1.484
retrieving revision 1.485
diff -u -d -r1.484 -r1.485
--- video.html 23 Oct 2009 22:06:37 -0000 1.484
+++ video.html 23 Oct 2009 22:16:30 -0000 1.485
@@ -224,7 +224,7 @@
<a href="text-level-semantics.html">← 4.6 Text-level semantics</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="the-canvas-element.html">4.8.11 The canvas element →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/7">ISSUE-7</a> (video-codecs), <a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-accessibility) and <a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil) block progress to Last Call</span></p><dl class="element"><dt>Categories</dt>
Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec/browsers.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- browsers.html 23 Oct 2009 22:06:35 -0000 1.615
+++ browsers.html 23 Oct 2009 22:16:28 -0000 1.616
@@ -224,7 +224,7 @@
<a href="microdata.html">← 5 Microdata</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="offline.html">6.9 Offline Web applications →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="browsers"><span class="secno">6 </span>Web browsers</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><div class="impl">
Index: the-xhtml-syntax.html
===================================================================
RCS file: /sources/public/html5/spec/the-xhtml-syntax.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- the-xhtml-syntax.html 23 Oct 2009 22:06:37 -0000 1.615
+++ the-xhtml-syntax.html 23 Oct 2009 22:16:30 -0000 1.616
@@ -224,7 +224,7 @@
<a href="named-character-references.html">← 9.6 Named character references</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="obsolete.html">12 Obsolete features →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<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
Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec/offline.html,v
retrieving revision 1.610
retrieving revision 1.611
diff -u -d -r1.610 -r1.611
--- offline.html 23 Oct 2009 22:06:36 -0000 1.610
+++ offline.html 23 Oct 2009 22:16:29 -0000 1.611
@@ -224,7 +224,7 @@
<a href="browsers.html">← 6 Web browsers</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="history.html">6.10 Session history and navigation →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="offline"><span class="secno">6.9 </span>Offline Web applications</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><!-- v2 ideas for appcache:
Index: obsolete.html
===================================================================
RCS file: /sources/public/html5/spec/obsolete.html,v
retrieving revision 1.607
retrieving revision 1.608
diff -u -d -r1.607 -r1.608
--- obsolete.html 23 Oct 2009 22:06:36 -0000 1.607
+++ obsolete.html 23 Oct 2009 22:16:29 -0000 1.608
@@ -224,7 +224,7 @@
<a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="iana.html">13 IANA considerations →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="obsolete"><span class="secno">12 </span>Obsolete features</h2><h3 id="obsolete-but-conforming-features"><span class="secno">12.1 </span>Obsolete but conforming features</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Features listed in this section will trigger warnings in
Index: named-character-references.html
===================================================================
RCS file: /sources/public/html5/spec/named-character-references.html,v
retrieving revision 1.608
retrieving revision 1.609
diff -u -d -r1.608 -r1.609
--- named-character-references.html 23 Oct 2009 22:06:36 -0000 1.608
+++ named-character-references.html 23 Oct 2009 22:16:29 -0000 1.609
@@ -224,7 +224,7 @@
<a href="syntax.html">← 9 The HTML syntax</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="the-xhtml-syntax.html">10 The XHTML syntax →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h3 id="named-character-references"><span class="secno">9.6 </span><dfn>Named character references</dfn></h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>This table lists the character reference names that are supported
Index: references.html
===================================================================
RCS file: /sources/public/html5/spec/references.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- references.html 23 Oct 2009 22:06:37 -0000 1.615
+++ references.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -224,7 +224,7 @@
<a href="index.html">← Index</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="acknowledgements.html">Acknowledgements →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 class="no-num" id="references">References</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><!--REFS--><!--END vCard--><!--END vEvent--><p>All references are normative unless marked "Non-normative".</p><!--START vCard--><!--START vEvent--><dl><dt id="refsABNF">[ABNF]</dt>
Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec/semantics.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- semantics.html 23 Oct 2009 22:06:37 -0000 1.615
+++ semantics.html 23 Oct 2009 22:16:30 -0000 1.616
@@ -224,7 +224,7 @@
<a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="text-level-semantics.html">4.6 Text-level semantics →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="semantics"><span class="secno">4 </span>The elements of HTML</h2><h3 id="the-root-element"><span class="secno">4.1 </span>The root element</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h4 id="the-html-element-0"><span class="secno">4.1.1 </span>The <dfn><code>html</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt>
@@ -1394,13 +1394,31 @@
<code><a href="#meta">meta</a></code> element with an <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code> attribute in the
<a href="#attr-meta-http-equiv-content-type" title="attr-meta-http-equiv-content-type">Encoding declaration
state</a>, then the character encoding used must be an
- <a href="infrastructure.html#ascii-compatible-character-encoding">ASCII-compatible character encoding</a>.</p><p>Authors should not use JIS_C6226-1983<!-- aka JIS-X-0208,
- x-JIS0208 -->, JIS_X0212-1990<!-- aka JIS-X-0212 -->, HZ-GB-2312<!--
- has crazy handling of ASCII "~" -->, encodings based on ISO-2022<!--
+ <a href="infrastructure.html#ascii-compatible-character-encoding">ASCII-compatible character encoding</a>.</p><p>Authors are encouraged to use UTF-8. Conformance checkers may
+ advise authors against using legacy encodings.</p><div class="impl">
+
+ <p>Authoring tools should default to using UTF-8 for newly-created
+ documents.</p>
+
+ </div><p>Encodings in which a series of bytes in the range 0x20 to 0x7E
+ can encode characters other than the corresponding characters in the
+ range U+0020 to U+007E represent a potential security vulnerability:
+ a user agent that does not support the encoding (or does not support
+ the label used to declare the encoding, or does not use the same
+ mechanism to detect the encoding of unlabelled content as another
+ user agent) might end up interpreting technically benign plain text
+ content as HTML tags and JavaScript. In particular, this applies to
+ encodings in which the bytes corresponding to "<code title=""><script></code>" in ASCII can encode a different
+ string. Authors should not use such encodings, which are known to
+ include JIS_C6226-1983<!-- aka JIS-X-0208, x-JIS0208 -->,
+ JIS_X0212-1990<!-- aka JIS-X-0212 -->, HZ-GB-2312<!-- has crazy
+ handling of ASCII "~" -->, encodings based on ISO-2022<!--
http://krijnhoetmer.nl/irc-logs/whatwg/20090628#l-422 and
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023797.html
- -->, and encodings based on EBCDIC. Authors should not use UTF-32.
- Authors must not use the CESU-8, UTF-7, BOCU-1 and SCSU encodings.
+ -->, and encodings based on EBCDIC. Furtermore, authors must not use
+ the CESU-8, UTF-7, BOCU-1 and SCSU encodings, which also fall into
+ this category, because these encodings were never intended for use
+ for Web content.
<a href="references.html#refsRFC1345">[RFC1345]</a><!-- for the JIS types -->
<a href="references.html#refsRFC1842">[RFC1842]</a><!-- HZ-GB-2312 -->
<a href="references.html#refsRFC1468">[RFC1468]</a><!-- ISO-2022-JP -->
@@ -1408,27 +1426,13 @@
<a href="references.html#refsRFC1554">[RFC1554]</a><!-- ISO-2022-JP-2 -->
<a href="references.html#refsRFC1922">[RFC1922]</a><!-- ISO-2022-CN and ISO-2022-CN-EXT -->
<a href="references.html#refsRFC1557">[RFC1557]</a><!-- ISO-2022-KR -->
- <a href="references.html#refsUNICODE">[UNICODE]</a>
<a href="references.html#refsCESU8">[CESU8]</a>
<a href="references.html#refsUTF7">[UTF7]</a>
<a href="references.html#refsBOCU1">[BOCU1]</a>
<a href="references.html#refsSCSU">[SCSU]</a>
<!-- no idea what to reference for EBCDIC, so... -->
- </p><p class="note">Most of these encodings are discouraged because of
- security concerns. If a hostile user can contribute text to a site
- using these encodings, bugs in the site's whitelisting filter or in
- a user agent can easily lead to the filter interpreting the
- contribution as "safe" while the user agent interprets the same
- contribution as containing a <code><a href="#script">script</a></code> element. This would
- enable cross-site scripting attacks. By avoiding these encodings,
- and always providing a <a href="#character-encoding-declaration">character encoding declaration</a>,
- an author is less likely to run into this kind of problem.</p><p>Authors are encouraged to use UTF-8. Conformance checkers may
- advise authors against using legacy encodings.</p><div class="impl">
-
- <p>Authoring tools should default to using UTF-8 for newly-created
- documents.</p>
-
- </div><p class="note">Using non-UTF-8 encodings can have unexpected
+ </p><p>Authors should not use UTF-32, as the HTML5 encoding detection
+ algorithms intentionally do not distinguish it from UTF-16. <a href="references.html#refsUNICODE">[UNICODE]</a></p><p class="note">Using non-UTF-8 encodings can have unexpected
results on form submission and URL encodings, which use the
<a href="dom.html#document-s-character-encoding">document's character encoding</a> by default.</p><p>In XHTML, the XML declaration should be used for inline character
encoding information, if necessary.</p><div class="example">
Index: index.html
===================================================================
RCS file: /sources/public/html5/spec/index.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- index.html 23 Oct 2009 22:06:36 -0000 1.615
+++ index.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -224,7 +224,7 @@
<a href="iana.html">← 13 IANA considerations</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="references.html">References →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 class="no-num" id="index">Index</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><div class="impl">
Index: comms.html
===================================================================
RCS file: /sources/public/html5/spec/comms.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- comms.html 23 Oct 2009 22:06:35 -0000 1.615
+++ comms.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -224,7 +224,7 @@
<a href="editing.html">← 7 User Interaction</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="syntax.html">9 The HTML syntax →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="comms"><span class="secno">8 </span>Communication</h2><h3 id="event-definitions"><span class="secno">8.1 </span>Event definitions</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Messages in <span>server-sent events</span>, <span>Web
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.617
retrieving revision 1.618
diff -u -d -r1.617 -r1.618
--- spec.html 23 Oct 2009 22:06:37 -0000 1.617
+++ spec.html 23 Oct 2009 22:16:30 -0000 1.618
@@ -242,7 +242,7 @@
</dl><p>This specification is available in the following formats:
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>.
-This is revision 1.3442.
+This is revision 1.3443.
</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
Index: introduction.html
===================================================================
RCS file: /sources/public/html5/spec/introduction.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- introduction.html 23 Oct 2009 22:06:36 -0000 1.615
+++ introduction.html 23 Oct 2009 22:16:29 -0000 1.616
@@ -222,7 +222,7 @@
</div><nav>
<a href="spec.html#contents">Table of contents</a> –
<a href="infrastructure.html">2 Common infrastructure →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="introduction"><span class="secno">1 </span>Introduction</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h3 id="background"><span class="secno">1.1 </span>Background</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p><i>This section is non-normative.</i></p><p>The World Wide Web's markup language has always been HTML. HTML
Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec/syntax.html,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- syntax.html 23 Oct 2009 22:06:37 -0000 1.615
+++ syntax.html 23 Oct 2009 22:16:30 -0000 1.616
@@ -224,7 +224,7 @@
<a href="comms.html">← 8 Communication</a> –
<a href="spec.html#contents">Table of contents</a> –
<a href="named-character-references.html">9.6 Named character references →</a>
- </nav><p>This is revision 1.3442.</p>
+ </nav><p>This is revision 1.3443.</p>
<h2 id="syntax"><span class="secno">9 </span><dfn>The HTML syntax</dfn></h2><p class="note">This section only describes the rules for
Received on Friday, 23 October 2009 22:16:35 UTC