This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Reported by Björn Höhrmann: http://www.bjoernsworld.de/temp/xhtml-html.xhtml is application/xhtml+xml delivered valid HTML 2.0 document: <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"> <title// <p>... The Validator says "This Page Is NOT Valid HTML 2.0!" as a result of using the SGML parser in XML mode [...].
Not sure what, if anything, could be done about this. Targetting 0.7.0 for a review.
The HTML 2.0 FPI should be allowed only with a text/html media type so if one is found in a document served as app/*+xml we should emit a warning (possibly a fatal error) about it.
Yes we should report a fatal error. But the wording needs changing: "this page was sent with an XML MIME type, but is not well-formed XML"
Won't make it for 0.7.0.
The resolution of Bug 336, with a strong warning about the bogus media type, is the best we can do for such a pathological case. Reopen if you have any better idea.