W3C home > Mailing lists > Public > www-validator@w3.org > April 2004

Re: The error message for uploading a non html document

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Tue, 27 Apr 2004 22:49:45 +0300
To: www-validator list <www-validator@w3.org>
Message-Id: <1083095385.5478.308.camel@bobcat.mine.nu>

On Tue, 2004-04-27 at 15:53, David Dorward wrote:
> On 27 Apr 2004, at 13:40, Dru Sellers wrote:
> <snip>
> paraphrase: "The error message for an unsupported content type is not 
> very helpful".
> >  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
> For various reasons, mostly described at 
> <http://htmlhelp.com/tools/validator/charset.html>, this isn't a very 
> good solution.

Additionally, in the current Validator implementation, it would not have
any effect wrt. the content type.  The Content-Type header sent by the
uploading browser or the server serving a document is what counts.

The <meta> stuff is used only for resolving the charset, and even there,
only as a fallback or a sanity/consistency check (with a possibly
included charset in the real Content-Type header and/or XML encoding).

> I'd suggest something along the lines of:

The beta version at http://validator.w3.org:8001/ already has a somewhat
improved message along those lines.  It can be further improved though.
Received on Tuesday, 27 April 2004 15:49:51 UTC

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