W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2002

MIME type ignored when giving a HTML file as input?

From: Jonas Jørgensen <jonasj@jonasj.dk>
Date: Tue, 19 Feb 2002 10:54:41 +0100
Message-ID: <3C7220E1.8030106@jonasj.dk>
To: www-validator-css@w3.org
Hi

I don't know if this is known bug (I'm not even sure that it's a bug at 
all), but the CSS validator seems to ignore the MIME type specified by 
the server if you give it an HTML file as input and the HTML file 
includes a <link rel="somecssfile.css" type="text/css">.

An example: The Content-Type returned for 
<http://www.physik.rwth-aachen.de/~rosenbl/bb/formats.css> is 
application/x-pointplus, so when trying to validate it
<http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.physik.rwth-aachen.de%2F%7Erosenbl%2Fbb%2Fformats.css&warning=1&profile=css2>, 
the validator says "I/O Error: Unknown mime type". But when you point 
the validator to an HTML document which has a <link> to the file, such 
as 
<http://jigsaw.w3.org/css-validator/validator?uri=http://www.physik.rwth-aachen.de/~rosenbl/bb/>, 
you are told that the file is valid CSS! Bug?

/Jonas
Received on Tuesday, 19 February 2002 04:57:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:10 GMT