NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 515 - Handle <!DOCTYPE> in parser.
Handle <!DOCTYPE> in parser.
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: 2009-05-27 14:16 CEST by Henri Sivonen
Modified: 2011-05-16 20:34 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 2009-05-27 14:16:21 CEST
Index: source
===================================================================
--- source	(revision 2699)
+++ source	(revision 2700)
@@ -56763,18 +56763,18 @@
 
     <p>Append a <code>DocumentType</code> node to the
     <code>Document</code> node, with the <code title="">name</code>
-    attribute set to the name given in the DOCTYPE token; the <code
-    title="">publicId</code> attribute set to the public identifier
-    given in the DOCTYPE token, or the empty string if the public
-    identifier was missing; the <code title="">systemId</code>
-    attribute set to the system identifier given in the DOCTYPE token,
-    or the empty string if the system identifier was missing; and the
-    other attributes specific to <code>DocumentType</code> objects set
-    to null and empty lists as appropriate. Associate the
-    <code>DocumentType</code> node with the <code>Document</code>
-    object so that it is returned as the value of the <code
-    title="">doctype</code> attribute of the <code>Document</code>
-    object.</p>
+    attribute set to the name given in the DOCTYPE token, or the empty
+    string if the name was missing; the <code title="">publicId</code>
+    attribute set to the public identifier given in the DOCTYPE token,
+    or the empty string if the public identifier was missing; the
+    <code title="">systemId</code> attribute set to the system
+    identifier given in the DOCTYPE token, or the empty string if the
+    system identifier was missing; and the other attributes specific
+    to <code>DocumentType</code> objects set to null and empty lists
+    as appropriate. Associate the <code>DocumentType</code> node with
+    the <code>Document</code> object so that it is returned as the
+    value of the <code title="">doctype</code> attribute of the
+    <code>Document</code> object.</p>
 
     <p id="quirks-mode-doctypes">Then, if the DOCTYPE
     token matches one of the conditions in the following list, then