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.

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

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