CSS charset determination

Hi,

http://www.w3.org/TR/REC-CSS2/syndata.html#q23 reads:

[...]
When a style sheet resides in a separate file, user agents must observe the
following priorities when determining a document's character encoding (from
highest priority to lowest):

  * An HTTP "charset" parameter in a "Content-Type" field.
  * The @charset at-rule.
  * Mechanisms of the language of the referencing document
    (e.g., in HTML, the "charset" attribute of the LINK element).
[...]

The lower precedence of the @charset rule stays in contradiction to XML and
HTML where the charset is defined _in the document_, why?
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
  "Everything we see or seem is but a dream within a dream" - E.A. Poe

Received on Saturday, 2 December 2000 16:52:06 UTC