cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Larson" <>
Subject [2.0.5dev 20030212 snapshot] SWT: Cannot set serializer
Date Thu, 13 Feb 2003 16:07:14 GMT
Using Cocoon-2.0.5dev from the 2003-02-12 snapshot.
I am trying to write a PDF file to disk using the SourceWriting-Transformer.
The trouble is I cannot seem to set the serializer to "fo2pdf".
It insists on using the "xml" serializer, and even then fails with this message:

ERROR   (2003-02-13) 10:48.34:800   [access] (/cocoon-2.0.5-12/test/ PoolThread-4/CocoonServlet:
Problem with Cocoon servlet
org.apache.cocoon.ProcessingException: Exception during processing of cocoon://test/template.xml:
javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: org.apache.cocoon.ProcessingException:
Cannot get 'xml' serializer

The xml I am feeding to the SWT looks about like this:

<?xml version="1.0" encoding="UTF-8"?>
<source:write serializer="fo2pdf" xmlns:source="">
  <fo:root xmlns:fo="">

I call the SWT like this:

<map:transform type="swt">
  <map:parameter name="serializer" value="fo2pdf"/>

I define the SWT like this:

<map:transformer name="swt"
  <map:parameter name="serializer" value="fo2pdf"/>

Any help resolving this would be appreciated,

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

View raw message