Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Why most of us should NOT use XHTML


encyclo - 3:49 pm on Apr 2, 2006 (gmt 0)


Ironically, the article referenced in the opening post is totally broken and unreadable in Safari.

No, Safari is totally broken, as it does what is called "MIME-type sniffing", ignoring the explicitly-declared text/plain MIME and overriding it due to the presence of markup.

This is actually an excellent example of the dangers explained by the article. What would happen if a user agent "did a Safari" and decided to parse all documents with an XHTML doctype as application/xhtml+xml? The vast majority would break, even the "valid" ones. Of course, any error in a document served as application/xhtml+xml is a fatal error, making the document totally inaccessible.

[edited by: encyclo at 3:50 pm (utc) on April 2, 2006]


Thread source:: http://www.webmasterworld.com/html/12026.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com