[html5] r1291 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 29 12:56:04 PST 2008


Author: ianh
Date: 2008-02-29 12:56:03 -0800 (Fri, 29 Feb 2008)
New Revision: 1291

Modified:
   index
   source
Log:
[e] (0) make it clear you can't have more than one BOM

Modified: index
===================================================================
--- index	2008-02-29 20:40:47 UTC (rev 1290)
+++ index	2008-02-29 20:56:03 UTC (rev 1291)
@@ -38484,8 +38484,12 @@
 
   <p>Given an encoding, the bytes in the input stream must be converted to
    Unicode characters for the tokeniser, as described by the rules for that
-   encoding, except that leading U+FEFF BYTE ORDER MARK characters must not
-   be stripped by the encoding layer.
+   encoding, except that the leading U+FEFF BYTE ORDER MARK character, if
+   any, must not be stripped by the encoding layer (it is stripped by the
+   rule below).</p>
+  <!-- this is to
+  prevent two leading BOMs from being both stripped, once by the
+  decoder, and once by the parser -->
 
   <p>Bytes or sequences of bytes in the original byte stream that could not
    be converted to Unicode characters must be converted to U+FFFD REPLACEMENT
@@ -46301,13 +46305,13 @@
    Hickson, Antti Koivisto, Arphen Lin, Asbjørn Ulsberg, Ben Godfrey,
    Ben Meadowcroft, Benjamin Hawkes-Lewis, Bert Bos, Billy Wong, Bjoern
    Hoehrmann, Boris Zbarsky, Brad Fults, Brad Neuberg, Brady Eidson, Brendan
-   Eich, Brett Wilson, Brian Campbell, Cameron McCormack, Carlos
+   Eich, Brett Wilson, Brian Campbell, Brian Smith, Cameron McCormack, Carlos
    Perelló Marín, Chao Cai, &#xc724;&#xc11d;&#xcc2c; (Channy
    Yun), Charl van Niekerk, Charles Iliya Krempeaux, Charles McCathieNevile,
    Christian Biesinger, Christian Johansen, Chriswa, Collin Jackson, Daniel
    Brumbaugh Keeney, Daniel Glazman, Daniel Peng, Daniel Spång, Darin
-   Alder, Darin Fisher, Dave Singer, Dave Townsend<!-- Mossop on moz
-  irc -->,
+   Alder, Darin Fisher, Dave Singer, Dave Townsend<!-- Mossop on
+  moz irc -->,
    David Baron, David Flanagan, David Håsäther, David Hyatt, Derek
    Featherstone, DeWitt Clinton, Dimitri Glazkov, dolphinling, Doron
    Rosenberg, Doug Kramer, Eira Monstad, Elliotte Harold, Erik Arvidsson,

Modified: source
===================================================================
--- source	2008-02-29 20:40:47 UTC (rev 1290)
+++ source	2008-02-29 20:56:03 UTC (rev 1291)
@@ -36038,8 +36038,11 @@
 
   <p>Given an encoding, the bytes in the input stream must be
   converted to Unicode characters for the tokeniser, as described by
-  the rules for that encoding, except that leading U+FEFF BYTE ORDER
-  MARK characters must not be stripped by the encoding layer.</p>
+  the rules for that encoding, except that the leading U+FEFF BYTE
+  ORDER MARK character, if any, must not be stripped by the encoding
+  layer (it is stripped by the rule below).</p> <!-- this is to
+  prevent two leading BOMs from being both stripped, once by the
+  decoder, and once by the parser -->
 
   <p>Bytes or sequences of bytes in the original byte stream that
   could not be converted to Unicode characters must be converted to
@@ -42254,14 +42257,14 @@
   Anthony Hickson, Antti Koivisto, Arphen Lin, Asbjørn Ulsberg,
   Ben Godfrey, Ben Meadowcroft, Benjamin Hawkes-Lewis, Bert Bos, Billy
   Wong, Bjoern Hoehrmann, Boris Zbarsky, Brad Fults, Brad Neuberg,
-  Brady Eidson, Brendan Eich, Brett Wilson, Brian Campbell, Cameron
-  McCormack, Carlos Perelló Marín, Chao Cai,
-  &#xc724;&#xc11d;&#xcc2c; (Channy Yun), Charl van Niekerk, Charles
-  Iliya Krempeaux, Charles McCathieNevile, Christian Biesinger,
-  Christian Johansen, Chriswa, Collin Jackson, Daniel Brumbaugh
-  Keeney, Daniel Glazman, Daniel Peng, Daniel Spång, Darin
-  Alder, Darin Fisher, Dave Singer, Dave Townsend<!-- Mossop on moz
-  irc -->, David Baron, David Flanagan, David Håsäther,
+  Brady Eidson, Brendan Eich, Brett Wilson, Brian Campbell, Brian
+  Smith, Cameron McCormack, Carlos Perelló Marín, Chao
+  Cai, &#xc724;&#xc11d;&#xcc2c; (Channy Yun), Charl van Niekerk,
+  Charles Iliya Krempeaux, Charles McCathieNevile, Christian
+  Biesinger, Christian Johansen, Chriswa, Collin Jackson, Daniel
+  Brumbaugh Keeney, Daniel Glazman, Daniel Peng, Daniel Spång,
+  Darin Alder, Darin Fisher, Dave Singer, Dave Townsend<!-- Mossop on
+  moz irc -->, David Baron, David Flanagan, David Håsäther,
   David Hyatt, Derek Featherstone, DeWitt Clinton, Dimitri Glazkov,
   dolphinling, Doron Rosenberg, Doug Kramer, Eira Monstad, Elliotte
   Harold, Erik Arvidsson, Evan Martin, fantasai, Franck 'Shift'




More information about the Commit-Watchers mailing list