Closed
Bug 291913
Opened 20 years ago
Closed 20 years ago
Do not allow XHTML 1.1 to be parsed as HTML
Categories
(Core :: DOM: HTML Parser, enhancement)
Tracking
()
RESOLVED
INVALID
People
(Reporter: 32768, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050422 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050422 Firefox/1.0+ Firefox displays a (purportedly) XHTML 1.1 Website which has been served as text/html, without issuing any warnings or errors. The website is parsed with the HTML parser as it would with XHTML 1.0 as defined in Appendix C of the XHTML 1.0 spec. The XHTML 1.1 specification does not allow for XHTML 1.1 to be served as text/html. I know it isn't Firefox's responsibility to enforce this, but it might be a good opportunity to do so. Should Firefox help enforce this by displaying an error or warning when attempting to parse a document with a XHTML 1.1 doctype as HTML? Reproducible: Always Steps to Reproduce: 1. Load testcase (URL) 2. View page source Actual Results: File is parsed by HTML parser, displays without error or warning Expected Results: HTML parser should not parse file claiming to be XHTML 1.1
Comment 1•20 years ago
|
||
See the last sentence of the first paragraph here: <http://lists.w3.org/Archives/Public/www-html/2000Sep/0024.html>
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•