[Webkit-unassigned] [Bug 30140] XHTML parser more zealous than IE6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 13:56:33 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30140


Mark Rowe (bdash) <mrowe at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |INVALID
             Status|UNCONFIRMED                 |RESOLVED




--- Comment #2 from Mark Rowe (bdash) <mrowe at apple.com>  2009-10-06 13:56:33 PDT ---
Internet Explorer does not support XHTML, so its content type sniffing causes
it to treat the page as HTML.  Firefox and Chrome see the MIME type as
application/octet-stream and decide to start a download instead.  In Safari
CFNetwork’s content type sniffing determines that the page declares itself as
being XHTML so WebKit attempts to parse it as such, but the page isn’t valid
XHTML.  This is what results in the error being displayed.

No matter which way you look at it this page is just broken.  If it wants to be
parsed as HTML it should be served with the text/html MIME type.  If it wants
to be parsed as XHTML it should be valid XHTML.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list