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

RE: Validator fails if file ends in .xhtml instead of .html

From: Smith, Ross (LAX) <ROSmith@ixl.com>
Date: Tue, 22 Aug 2000 16:35:34 -0400
Message-ID: <E355335FF679D21190B80008C7B1D89501B050FE@host3sub5.offices.ixl.com>
To: "'Terje Bless'" <link@tss.no>, W3C Validator <www-validator@w3.org>
> -----Original Message-----
> From: Terje Bless [mailto:link@tss.no]
> "Smith, Ross (LAX)" wrote:
> 
> >Why would the validator even care what extension the file has?
> 
> It doesn't, but your web server probably does. Without a specific URI to
> the problem file I can't be sure, but it sounds as if your web server is
> serving it up as one of the many XML MIME types (probably text/xml or
> application/xml). 

My web server was serving it as:

Content-Type: text/plain

When I added

text/html			html htm xhtml

to conf/mime.types and HUPed the server, it validates ok now.

Thanks for your help.  I never would have guessed that I could solve the
problem on my end.

-Ross
Received on Tuesday, 22 August 2000 16:36:57 GMT

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