[Seaside] xml & ie
Julian Fitzell
julian at beta4.com
Sun May 23 09:45:06 CEST 2004
Avi Bryant wrote:
>
> 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.
I'd still rather keep it by default and have a way to turn it off. The
pages won't validate properly without it and everything seaside
generates should be compliant. If a user wants to relax that, then they
should be able to. Also, do all browsers support the meta tag correctly?
Julian
More information about the Seaside
mailing list