Re: Unable to find style sheet when charset is specified in MIME-type

* Vincent Lönngren wrote:
>If the style sheet location is specified like this:
>
><link rel="stylesheet" href="stylesheet.css" type="text/css;
>charset="utf-8"/>
>
>the style sheet is not found by the validator. If the charset
>specification is removed, the style sheet is found and validated. Case
>(UTF-8 or utf-8) does not make a difference.

I've asked the HTML Working Group for clarification whether this is
actually allowed

  http://www.w3.org/mid/40ccdc4d.97400945@smtp.bjoern.hoehrmann.de

but they have so far refused to comment, so it is not clear to me what
the correct behavior would be which means this is unlikely going to get
fixed any time soon. Clearly, this is not supposed to be marked up that
way, you are rather expected to use

  <link rel     = "stylesheet"
        href    = "stylesheet.css"
        type    = "text/css"
        charset = "utf-8" />

The CSS Validator should be able to find the style sheet then.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Thursday, 2 December 2004 16:09:12 UTC