- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 26 May 2009 10:30:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv920 Modified Files: Overview.html Log Message: Elaborate on willful violations. (whatwg r3138) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2295 retrieving revision 1.2296 diff -u -d -r1.2295 -r1.2296 --- Overview.html 26 May 2009 10:15:38 -0000 1.2295 +++ Overview.html 26 May 2009 10:30:14 -0000 1.2296 @@ -4149,8 +4149,8 @@ </ol><!-- XXX we might want to define "server-based naming authority", it's not clear RFC3986 does a good job of defining that anymore (earlier URI specs did) --><p class="note">These parsing rules are a <a href="#willful-violation">willful - violation</a> of RFC 3986 and RFC 3987 to handle legacy - content. <a href="#references">[RFC3986]</a> <a href="#references">[RFC3987]</a></p> + violation</a> of RFC 3986 and RFC 3987 (which do not define error + handling), motivated by a desire to handle legacy content. <a href="#references">[RFC3986]</a> <a href="#references">[RFC3987]</a></p> </div><div class="impl"> @@ -4824,8 +4824,10 @@ </dl></li> - </ol><p class="note">The above algorithm is a <a href="#willful-violation">willful violation</a> of the - HTTP specification. <a href="#references">[HTTP]</a></p> + </ol><p class="note">The above algorithm is a <a href="#willful-violation">willful + violation</a> of the HTTP specification, which requires that the + Content-Type headers be honored, despite implementation experience + showing that this is not pratical in many cases. <a href="#references">[HTTP]</a></p> <h4 id="content-type-sniffing:-web-pages"><span class="secno">2.7.2 </span>Content-Type sniffing: Web pages</h4> @@ -5419,8 +5421,9 @@ <tr><td> x-x-big5 <td> Big5 <td> <a href="#references">[BIG5]</a> <!-- XXX ? --> </table><p class="note">The requirement to treat certain encodings as other - encodings according to the table above is a <a href="#willful-violation">willful violation</a> of the - W3C Character Model specification. <a href="#references">[CHARMOD]</a></p> + encodings according to the table above is a <a href="#willful-violation">willful + violation</a> of the W3C Character Model specification, motivated + by a desire for compatibility with legacy content. <a href="#references">[CHARMOD]</a></p> <hr><p>User agents must not support the CESU-8, UTF-7, BOCU-1 and SCSU encodings. <a href="#references">[CESU8]</a> <a href="#references">[UTF7]</a> <a href="#references">[BOCU1]</a> <a href="#references">[SCSU]</a></p> @@ -31954,7 +31957,10 @@ <p>If <var title="">action</var> is the empty string, let <var title="">action</var> be <a href="#the-document-s-address">the document's address</a>.</p> - <p class="note">This step is a <a href="#willful-violation">willful violation</a> of RFC 3986. <a href="#references">[RFC3986]</a></p> + <p class="note">This step is a <a href="#willful-violation">willful violation</a> of + RFC 3986, which would require base URL processing here. This + violation is motivated by a desire for compatibility with legacy + content. <a href="#references">[RFC3986]</a></p> <!-- Don't ask me why. But that's what IE does. It even treats action="" differently from action=" " or action="#" (the latter @@ -42341,9 +42347,12 @@ <code><a href="#window">Window</a></code> object, then in JavaScript, the <code title="">this</code> keyword in the global scope must return the <code><a href="#window">Window</a></code> object's <code><a href="#windowproxy">WindowProxy</a></code> object.</p> - <p class="note">This is a <a href="#willful-violation">willful violation</a> of the JavaScript - specification current at the time of writing (ECMAScript edition - 3). <a href="#references">[ECMA262]</a></p> + <p class="note">This is a <a href="#willful-violation">willful violation</a> of the + JavaScript specification current at the time of writing + (ECMAScript edition 3). The JavaScript specification requires that + the code title="">this keyword in the global scope return + the global object, but this is not compatible with the security + design prevalent in implementations as specified herein. <a href="#references">[ECMA262]</a></p> </dd> @@ -44492,12 +44501,13 @@ line-based. Newlines must be represented by U+000A LINE FEED (LF) characters, U+000D CARRIAGE RETURN (CR) characters, or U+000D CARRIAGE RETURN (CR) U+000A LINE FEED (LF) pairs.<p class="note">This is a <a href="#willful-violation" title="willful violation">willful - double violation</a> of RFC2046. <a href="#references">[RFC2046]</a></p><!-- 2046 (and 2045) says that - charset="" is always allowed on text/*, but that harks back to the - old days before UTF-8 was widely used; 2046 also says that newlines - are always CRLF-delimited, which is not workable given the - widespread use of editors that use either lone LFs or lone CRs as - line break delimiters. --><p>The first line of an application cache manifest must consist of + double violation</a> of RFC2046, which requires all <code title="">text/*</code> types to support an open-ended set of + character encodings and only allows CRLF line breaks. These + requirements, however, are outdated; UTF-8 is now widely used, such + that supporting other encodings is no longer necessary, and use of + CR, LF, and CRLF line breaks is commonly supported and indeed + sometimes CRLF is <em>not</em> supported by text editors. <a href="#references">[RFC2046]</a></p><!-- also RFC 2045 for charset + --><p>The first line of an application cache manifest must consist of the string "CACHE", a single U+0020 SPACE character, the string "MANIFEST", and either a U+0020 SPACE character, a U+0009 CHARACTER TABULATION (tab) character, a U+000A LINE FEED (LF) character, or a
Received on Tuesday, 26 May 2009 10:30:27 UTC