W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

Re: Validator doesn't send HTTP_ACCEPT headers, "Conflict between Mime Type and Document Type" warning is incorrect.

From: Andreas Prilop <Prilop2007@trashmail.net>
Date: Tue, 31 Jul 2007 15:38:10 +0200 (MEST)
To: www-validator@w3.org
cc: Sierk Bornemann <sierkb@gmx.de>
Message-ID: <Pine.GSO.4.63.0707311532001.18142@s5b004.rrzn.uni-hannover.de>

On Tue, 31 Jul 2007, Sierk Bornemann wrote:

>>   AddType   application/xhtml+xml;qs=0.95   xhtml
> Easy said. But how does this function with generated output *without*
> providing the content *twice*, either as .xhtml file and as .html file?

*Of course* the content exists twice:

Compare the content - they *are* different.
HTML and XHTML are different.

> But not for sites with many content files. It is far from practise,
> to provide all content files twice as .html and also as .xhtml files.

That would be a silly idea. When you have a single document, you
serve it with the appropriate MIME type.

> You need a method, to serve the MIMEtype dynamically for *one single
> document* depending on what the client accepts.

No, this is just a silly idea. You choose the correct MIME type
according to your document.

In memoriam Alan J. Flavell
Received on Tuesday, 31 July 2007 13:38:30 UTC

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