W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Re: @charset rules

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 16 Oct 2001 20:27:54 +0200
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: www-style@w3.org
Message-ID: <8tuostglc7f3imuc2mcm9jrvo5h87u9ds4@4ax.com>
* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT