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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to