W3C home > Mailing lists > Public > www-validator@w3.org > November 2009

Re: can .xhtml be validated?

From: Dag-Erling Smørgrav <des@des.no>
Date: Mon, 16 Nov 2009 10:16:08 +0100
To: shuhong zheng <hangzhouwandaqiao@gmail.com>
Cc: "www-validator\@w3.org" <www-validator@w3.org>
Message-ID: <86tywuq17r.fsf@ds4.des.no>
shuhong zheng <hangzhouwandaqiao@gmail.com> writes:
> can file with .xhtml extension be validated?

The validator does not care about extensions.

> [...] after I rename the file to .html, it passed the validation.  Can
> you please let me know what's the problem?

It is most likely a web server configuration issue.  Make sure the
server sends the correct Content-Type for .xhtml files.

Dag-Erling Smørgrav - des@des.no
Received on Monday, 16 November 2009 09:16:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:00 UTC