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

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

From: Smith, Ross (LAX) <ROSmith@ixl.com>
Date: Tue, 22 Aug 2000 15:39:38 -0400
Message-ID: <E355335FF679D21190B80008C7B1D89501B050FA@host3sub5.offices.ixl.com>
To: "'www-validator@w3.org'" <www-validator@w3.org>
Using http://validator.w3.org/ to a file that ends in .xhmtl, I get the
following error:

Uh oh! I got the following unknown error:
/usr/local/bin/nsgmls:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt
d:262:27:E: omitted tag minimization parameter can be omitted only if
"OMITTAG NO" is specified on the SGML declaration Please make sure you
specified the DOCTYPE properly! 

If I rename the file to end in .html, all is well.

Why would the validator even care what extension the file has?

Thanks,

Ross
Received on Tuesday, 22 August 2000 15:40:18 GMT

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