cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hoofe <>
Subject Re: Encoding problems
Date Fri, 17 Sep 2004 09:40:36 GMT
> Don't know exactly about Opera, but M$IE definitely doesn't evaluate
>            <?xml version="1.0" encoding="..."?>.
> Instead it wants to get the correct HTTP header's charset information.

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


Put this into your sitemap.xmap to produce output IE understands:

<map:serializer  ... >

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message