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

> -----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 UTC