[Seaside] xml & ie

Avi Bryant avi at beta4.com
Sun May 23 00:17:32 CEST 2004


On May 22, 2004, at 2:07 PM, radoslav hodnicak wrote:

> Changing doctype won't help (I've tried) - it's a bug in IE. See also
> http://www.positioniseverything.net/articles/doctypes.html

"Internet Explorer has an unfortunate bug involving the xml prolog. If 
there is anything on the first line before the doctype, IE6 will switch 
into "quirks" mode. This means that using an xml prolog (<?xml 
version="1.0" encoding="UTF-8"?>) will cause the behavior. An HTML 
comment, even an empty one, will do the same."

Nice.  Thanks MS.

However, the prolog doesn't seem to change the validation either way, 
so it does look like we can just drop it and use a meta tag to specify 
the encoding.

Avi



More information about the Seaside mailing list