NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 195 - Try to fix the encoding sniffing algorithm...
Try to fix the encoding sniffing algorithm...
Status: RESOLVED NOTREPRODUCIBLE
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-23 13:22 CEST by Henri Sivonen
Modified: 2011-05-16 20:27 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-05-23 13:22:33 CEST
Index: source
===================================================================
--- source	(revision 1666)
+++ source	(revision 1667)
@@ -39539,8 +39539,7 @@
 
      <li><p>If the byte at <var title="">position</var> is
      <em>not</em> 0x3D (ASCII '='), abort the "get an attribute"
-     algorithm. Move <var title="">position</var> back to the previous
-     byte. The attribute's name is the value of <var
+     algorithm. The attribute's name is the value of <var
      title="">attribute name</var>, its value is the empty
      string.</p></li>
 
@@ -39571,8 +39570,9 @@
          byte.</li>
 
          <li>If the value of the byte at <var title="">position</var>
-         is the value of <var title="">b</var>, then abort the "get an
-         attribute" algorithm. The attribute's name is the value of
+         is the value of <var title="">b</var>, then advance <var
+         title="">position</var> to the next byte and abort the "get
+         an attribute" algorithm. The attribute's name is the value of
          <var title="">attribute name</var>, and its value is the
          value of <var title="">attribute value</var>.</li>