Generators can only generate xml. A reader does not return xml, so what you are trying will
never work
Regards Ard
I try to use coccon:\\ to call the pipeline in another application, but for html it works fine, but for PNG (using reader), it couldn't work. I got the error message asStreaming of an internal pipeline is not possible with a reader.
how can I make it works for PNG file
I have two application under cocoon: test1 test2in test1 sitemap:<map:match pattern="ext/**/*.html"><map:act type="serverpages" src=""><map:generate src=" cocoon://test2/*.html"/></map:act>......</map:match>
<map:match pattern="ext/**/*.png"><map:generate src="cocoon://xa-xq/framed/{4}/{5}/{1}/{6}/png/{7}.png "/><map:act type="serverpages" src=""><map:generate src=" cocoon://test2/*.png"/></map:act>......</map:match>
in test2 sitemap:
<map:match pattern="*.html">
<map:generate ...>
<map:serializer ..>
</map:match><map:match pattern="*.png">
<map:read src="png/{1}.png" mime-type ="image/png"/>
</map:match>
