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: Gez Lemon <gez@juicystudio.com>
Date: Tue, 31 Jul 2007 09:23:12 +0100
Message-ID: <e2a28a920707310123v2f52d7afj92c40f7c8a1a631@mail.gmail.com>
To: "olivier Thereaux" <ot@w3.org>
Cc: "Andries Louw Wolthuizen" <info@andrieslouw.nl>, "www-validator Community" <www-validator@w3.org>

Hi Olivier,

On 31/07/07, olivier Thereaux <ot@w3.org> wrote:
> On Jul 31, 2007, at 14:07 , Andries Louw Wolthuizen wrote:
> > Try it for yourself, setup a page with:
> > http://juicystudio.com/article/content-negotiation.php#php
>
> Trying to work around browser bugs is very understandable, but an
> improvement to this technique would be to use application/xhtml+xml
> as the *default*, as it should be for XHTML 1.1. Not the other way
> around. Hence:
>
> * if accept headers present, and application/xhtml+xml not accepted,
> send text/html
> * else, send application/xhtml+xml
>
> I think this would be a much more sane behavior. Gez? What do you think?

Yes - as XHTML 1.1 should not be delivered with a MIME type of
text/html, the approach outlined here is far more sensible.

Cheers,

Gez

-- 
_____________________________
Supplement your vitamins
http://juicystudio.com
Received on Tuesday, 31 July 2007 12:19:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:25 GMT