cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Haller" <>
Subject [2.1.9] sourcewriting transformer/serializer strange behaviour
Date Thu, 13 Apr 2006 13:44:22 GMT

by upgrading from 2.1.7 to 2.1.9 I've found strange effects regarding
serializing with the sourcewriting transformer.

The relevant parts of the sitemap:

   <map:transformer name="write-source-utf-8" 
      <map:parameter name="serializer" value="xml-utf-8"/>  

   <map:serializer logger="sitemap.serializer.xml" 
          mime-type="text/xml; charset=utf-8" 
   <map:transform src="xslt/rssstore.xslt" label="debug8" >
      <map:parameter name="path" value="news" />
   <map:transform type="write-source" label="debug9" >
      <map:parameter name="serializer" value="xml-utf-8"/>
   <map:serialize type="xml-utf-8"/>

Using the above I receive the following message from the transform:

<sourceResult xmlns:source="">
	<message>There was a problem looking up a component:
org.apache.avalon.framework.service.ServiceException: serializers:
ComponentSelector could not find the component for hint [xml-utf-8] (key

Changing the transform type from write-source to write-source-utf-8
gives the correct result, i.e.
the output is written with the utf-8 encoding.

Using the write-source-utf-8 transformer without the parameter
(name=serializer ...) ends up
with the output written with iso-8859-1 encoding.

btw. the result of the pipeline (the sourcewriting result xml) is
always written with iso-8859-1 encoding.

Any suggestions?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message