This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When a Document Override of HTML 3.2, HTML 2.0, or ISO/IEC 15445:2000 ("ISO HTML") is specified, the validator attempts to parse the file as though it were overridden to HTML 5, even while still admitting the chosen version of HTML. For example, the file scanned with the URL given above contains no DOCTYPE declaration, so I have attempted to parse the file using the HTML 3.2 standard. (I realize the file does not fully conform to the HTML 3.2 standard in that it uses the <FONT> element inside the <PRE> element, but that should be the only complaint, other than the lack of a DOCTYPE declaration, on that file) The validator instead attemptes to parse it with the new experimental HTML 5 conformance checker and finds any number of complaints on the basis that the file is not HTML 5 at all. It reports "Errors found while checking this document as HTML5!" though later on it reports "DOCTYPE Override in effect! The DOCTYPE Declaration for 'HTML 3.2' has been inserted at the start of the document, but even if no errors are shown below the document will not be Valid until you add the new DOCTYPE Declaration." If the source code is listed, its first line shows as: 1. <!DOCTYPE html> One other observation I have made is that if the file already contains a DOCTYPE declaration of the document type to which the document override is set, the document is correctly scanned in accordance with the document type specified in both the document and the override.
*** This bug has been marked as a duplicate of bug 6250 ***