cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [Patch] WML Serialization, part 2
Date Thu, 12 Jul 2001 06:50:57 GMT
Thanks for your patch!

I applied it, please cross check.

Carsten

> -----Urspr√ľngliche Nachricht-----
> Von: Leo Sutic [mailto:leo.sutic@inspireinfrastructure.com]
> Gesendet: Mittwoch, 11. Juli 2001 20:39
> An: Cocoon Developer's List
> Betreff: [Patch] WML Serialization, part 2
>
>
> It appears that while Nokia phones require ASCII encoding of the WML data,
> the phones do not like the <?xml encoding="ASCII"?> header, complaining
> about an unsupported encoding. The short-term solution that I've come up
> with is to simply omit the XML declaration.
>
> The patch below fixes this problem. I've tested with the 7110 (both) and
> 6210 emulators.
>
> /LS
>
> --- sitemap_orig_1.xmap       Wed Jul 11 20:36:51 2001
>
> +++ sitemap.xmap Wed Jul 11 20:36
> :32 2001
> @@ -50,6 +50,7 @@
>      <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
>
> <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
>      <encoding>ASCII</encoding>
> +    <omit-xml-declaration>yes</omit-xml-declaration>
>     </map:serializer>
>     <map:serializer name="svgxml" mime-type="image/svg-xml"
> src="org.apache.cocoon.serialization.XMLSerializer">
>      <doctype-public>-//W3C//DTD SVG 20000303
> Stylable//EN</doctype-public>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message