- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 19 Jan 2009 19:49:22 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6448 Summary: Document Override goes to HTML 5 Product: Validator Version: 0.8.4 Platform: All URL: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.the- pope.com%2Flistind7.html;doctype=HTML+3.2 OS/Version: All Status: NEW Severity: normal Priority: P2 Component: check AssignedTo: dave.null@w3.org ReportedBy: ubipetrus@earthlink.net QAContact: www-validator-cvs@w3.org 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. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Monday, 19 January 2009 19:49:30 UTC