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

Re: Handling of MIME types for markup?

From: Liam Quinn <liam@htmlhelp.com>
Date: Thu, 19 Apr 2001 15:16:47 -0400 (EDT)
To: Nick Kew <nick@webthing.com>
cc: W3C Validator <www-validator@w3.org>
Message-ID: <Pine.LNX.4.30.0104191512440.1697-100000@localhost.localdomain>
On Sat, 7 Apr 2001, Terje Bless wrote:

> On 06.04.01 at 14:11, Nick Kew <nick@webthing.com> wrote:
> >[...] this applies whenever the validator has to fetch an external DTD.
> >
> >One element [is] the use of an "Accept: text/*" header when
> >SP retrieves a document via HTTP.  The rationale for this is that SP
> >has no use for non-text documents, and so shouldn't try to fetch them.
> >
> >In recent correspondence, Liam has suggested that this may not in
> >fact be the best, or even correct, thing to do:
> "text/*" is obviously too narrow.
> >So the questions for discussion are:
> >  (1) What MIME types *should* we accept?
> Every MIME type that SP can handle. This includes text/*ml,
> application/*ml, and whatever else they've come up with now. In practice
> this probably means that you have to keep track of all defined MIME types
> for SGML/XML and accept those -- until you finally give up and just list
> */* :-) -- and allow additional MIME types to be specified with
> --http-accept="text/vnd.wap.wml,sgml/*,xml/*" on the command line.

As a simple fix, I've released lq-nsgmls [1] with Accept: */* in
place of Accept: text/*.

[1] http://www.htmlhelp.com/tools/validator/src/lq-sp-

Liam Quinn
Received on Thursday, 19 April 2001 15:16:20 GMT

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