Hi,

Just did a clean build from CVS, and the 'hello.pdf' page complains:

org.apache.avalon.framework.component.ComponentException: UnnamedSelector: 
ComponentSelector could not find the component for hint: fo2pdf

And indeed, the fo2pdf serializer isn't declared in the sitemap. Any
reason for this, considering FOP is included in the Cocoon distribution?

Patch attached.


--Jeff
Index: webapp/sitemap.xmap
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/webapp/sitemap.xmap,v
retrieving revision 1.62
diff -u -r1.62 sitemap.xmap
--- webapp/sitemap.xmap 2001/11/23 09:25:55     1.62
+++ webapp/sitemap.xmap 2001/11/25 01:49:42
@@ -113,6 +113,7 @@
    <map:serializer name="xml"    mime-type="text/xml"         
src="org.apache.cocoon.serialization.XMLSerializer"
                    pool-max="32" pool-min="16" pool-grow="4"/>
    <map:serializer name="html"   mime-type="text/html"        
src="org.apache.cocoon.serialization.HTMLSerializer"/>
+   <map:serializer name="fo2pdf" mime-type="application/pdf"  
+src="org.apache.cocoon.serialization.FOPSerializer"/>
    <map:serializer name="vrml"   mime-type="model/vrml"       
src="org.apache.cocoon.serialization.TextSerializer"/>
    <map:serializer name="wap"    mime-type="text/vnd.wap.wml" 
src="org.apache.cocoon.serialization.XMLSerializer">
     <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>

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

Reply via email to