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

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
like).

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