MIME type ignored when giving a HTML file as input?

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 UTC