Re: @charset rules

* Boris Zbarsky wrote:
>The CSS2 spec says
>
>"At most one @charset rule may appear in an external style sheet and it must
>appear at the very start of the document, not preceded by any
>characters."
>
>I assume that means that whitespace before a @charset rule is invalid
>just like any other character?

Yes. Appendix F of XML 1.0 Second Edition gives you some hints how the
similar mechanism in XML 1.0 is supposed to work and why no characters
may precede the encoding declaration.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Tuesday, 16 October 2001 14:29:03 UTC