Hi everybody!

I have a very strange problem with cocoon-2.1.6:

I have an xml file, 'test.xml':

<?xml version="1.0" encoding="iso-8859-1"?>
<root>
        <child>foo</child>
        <child>bar</child>
</root>

the tabs are _real_ tab characters, not softtabs

and I setup a pipeline:

...
<map:match pattern="test.xml">
        <map:generate type="file" src="test.xml"/>
        <map:serialize type="xml"/>
</map:match>
...

the components are configured as in the default sitemap.

When I request 'test.xml', all tab characters are converted to decimal
entity references (&#9;) in the result. Other whitespace characters are
serialized "normally", the problem occurs only with tabs. I dont know what
to do.

I tried to modify the parameters of the XMLSerializer (encoding, indent,
method, etc), many things in the sitamap and cocoon.xconf, and i tried
a clean "factory" cocoon install, but nothing changed. Anyone can help
me?


I'm using:

- cocoon-2.1.6
- tomcat-5.5.7
- jdk-1.5.0


Thank you!

--
Gabor


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to