Hi!
 
I'm designing the interface for mobile devices for a web portal using Cocoon.
 
When I test my pages on a iPaq (with Pocket Internet Explorer) I get the correct page, without errors, but with del xml header visualized at the beginning of every page.
<?xml version="1.0" encoding="ISO-8859-1"?> (and then I get the right content...)
Of couse I want to delete it!!
 
Here I write the informations I think are importants for this problem:
 
The XSPs that are called in a pipeline for a iPaq http request (for example) have at the beginning the xml header (<?xml version="1.0" encoding="ISO-8859-1"?>),
while the xsl doesn't.
Then I deliver the markup with this serializer:
 
<map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml-Transitional" pool-grow="2" pool-max="64" pool-min="2" src="">
    <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
    <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
    <encoding>ISO-8859-1</encoding>
</map:serializer>
 
 
I think the responsible of the writing of the xml header is the serializer, but I have no idea on how solve the problem.
Thank you for your help!
 
Nesto
 
 

Reply via email to