W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: HTML or XHTML - why do you use it?

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Wed, 8 Jan 2003 21:22:16 +0000
To: Ian Hickson <ian@hixie.ch>
Cc: "Peter Foti (PeterF)" <PeterF@SystolicNetworks.com>, "'www-html@w3.org'" <www-html@w3.org>
Message-ID: <20030108212216.GA1360@ophelia.goddamn.co.uk>
On Wed, Jan 08, 2003 at 09:42:33AM +0000, Ian Hickson wrote:
| But it's one of the many things people get wrong, and one of the many
| things that will screw up when people change their text/html XHTML files
| to use a real XML MIME type.

Ian, all your arguments in this thread so far seem to revolve around the 
fact that user agents will treat an xhtml file served as text/html 
differently from an xhtml file served as text/xml (or application/xml or 
application/xhtml+xml).

If a browser were to choose which rendering path to use (xml or tag soup) 
depending on, say, the doctype (a far more reliable method, as most OSes 
do not support mime types properly for local files) then there would be no 
problem.

While the current two major XHTML browsers (Gecko and Opera) do seem to 
rely solely on mime type, I would not be surprised if Microsoft, when IE 
finally does support XHTML, combined MIME types with some kind of doctype 
sniffing code -- they are hardly well-known for rigidly obeying mime 
types.

-- 
Toby A Inkster BSc (Hons) ARCS
E-mail:   tobyink@goddamn.co.uk
PGP:      http://www.goddamn.co.uk/tobyink/?id=12
Web Page: http://www.goddamn.co.uk/tobyink/
IM:       AIM:inka80 ICQ:6622880 YIM:tobyink Jabber:tobyink@a-message.de

Like I always say -- nothing can beat the BRATWURST here in DUSSELDORF!!

Received on Wednesday, 8 January 2003 16:23:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT