cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@apache.org>
Subject Re: AW: XMLSerializer replaces tabs with &#9;
Date Mon, 06 Dec 2004 21:04:55 GMT
> I tried replacing 
> 
> <xml-serializer
> class="org.apache.cocoon.components.sax.XMLByteStreamCompiler"
> logger="core.xml-serializer" pool-grow="4" pool-max="32" pool-min="8"/>
> 
> with 
> 
> <xml-serializer class="org.apache.cocoon.components.sax.XMLSerializer"
> logger="core.xml-serializer" pool-grow="4" pool-max="32" pool-min="8"/>

Ehm... what? No ...you better not replace the XMLByteStreamCompiler
like that ;-)

> in cocoon.xconf (and I hope this is what you were talking about), but had
> the same problem with my tabs. 

We have these two serializers

./src/java/org/apache/cocoon/serialization/XMLSerializer.java
./src/blocks/serializers/java/org/apache/cocoon/components/serializers/XMLSerializer.java

The first one uses the javax TransformerHandler,
the second one is a cocoon implementation.

Sorry, for pointing you to the cocoon.xconf
usually they are specified inside the sitemap.


  <map:serializers default="html">
     <map:serializer
         mime-type="text/xml"
         name="xml"
         src="org.apache.cocoon.serialization.XMLSerializer"/>

...but for me it seems like we are still using the
old one as a default...

cheers
--
Torsten

Mime
View raw message