W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2003

Re: MSIE6 bug: <?xml...> as first line

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 2 Jul 2003 10:40:34 -0400 (EDT)
To: CJ <hwoodcj@yahoo.co.uk>
Cc: "www-validator-css@w3.org" <www-validator-css@w3.org>, plh@w3.org
Message-ID: <Pine.LNX.4.56.0307020706290.18693@dhalsim.dreamhost.com>

On Sat, 28 Jun 2003, CJ wrote:
> Question: Is it *absolutely* mandatory that the <?xml...> be the first
> line (as the validator asserts)

Yes; however you can do away with the XML declaration altogether if you
put the character set declaration into the Content-Type line returned by
the server. (For more details, search for "configuring MIME types" or such

In general, though, since WinIE does not support XHTML, it's best to just
use HTML4 for now.

See: http://www.hixie.ch/advocacy/xhtml

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 2 July 2003 11:56:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:39 UTC