W3C home > Mailing lists > Public > www-validator@w3.org > October 2000

Re: .html and nothing else

From: Gerald Oskoboiny <gerald@w3.org>
Date: Tue, 3 Oct 2000 00:15:56 -0400
To: Terje Bless <link@tss.no>
Cc: W3C Validator <www-validator@w3.org>
Message-ID: <20001003001556.N5289@w3.org>
On Sat, Sep 30, 2000 at 04:09:56PM +0200, Terje Bless wrote:
> On 28.09.00 at 14:48, Shane P. McCarron <shane@aptest.com> wrote:
> >the media type for XHTML files should continue to be text/html
> Which is a really stupid idea and whoever thought it up should be taken out
> back and summarly executed IMO. This is in effect lying about what you are
> sending, forcing user agents to resort to content sniffing to figure out
> whether to treat this as SGML or XML; of course, in the case of the bastard
> hybrid XHTML, you need to treat it as _both_. :-(

This would be more on-topic on www-html, but:

Serving XHTML as text/html is useful in that it allows people to
write their documents in a format that can be viewed by everyone,
yet also processed with XML tools.

For example, the W3C home page is XHTML and is safely viewed by
tens of thousands of people as text/html, but there's also an RSS
feed that's generated automatically from the XHTML using XSLT:


Gerald Oskoboiny       <gerald@w3.org>  +1 613 261 6630
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Tuesday, 3 October 2000 00:15:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:28 UTC