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

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

From: Terje Bless <link@tss.no>
Date: Tue, 22 Aug 2000 22:11:36 +0200
Message-ID: <39A2DE78.A7E680D8@tss.no>
To: W3C Validator <www-validator@w3.org>
CC: "Smith, Ross (LAX)" <ROSmith@ixl.com>
"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). The Validator doesn't grok this and barfs as you've
described. It's a bug and I've promised, but not yet delivered, a patch
for it. Hopefully I'll get it out sometime this week (add time for
Gerald to approve and apply it before you start getting impatient
Received on Tuesday, 22 August 2000 16:11:41 UTC

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