Hi Tilman, In your first transformer element (the SimpleTransformer one), use "type" as the attribute instead of "name." Since you used "name," the sitemap doesn't find a type, and uses the default. And since the default is xslt (unless you've modified it), it expects a src attribute, which is why it complains that the stylesheet URI is null. Anyway, hope that helps!
Harry -----Original Message----- From: Tilman Rassy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:01 AM To: [EMAIL PROTECTED] Subject: Problem with transformer "src" attribute Hi, I wrote s simple transformer and called it in my sitemap as follows: <map:match pattern="mumie/test/transformers/SimpleTransformer"> <map:generate src="test/SimpleTransformer_testpage.xml"/> <map:transform name="SimpleTransformer"/> <map:transform src="test/xsl/test.xsl"/> <map:serialize/> </map:match> When I want to acces the corresponding URL, I get the following error message: Cocoon 2 - Internal server error type fatal message Stylesheet URI can't be null description org.apache.cocoon.ProcessingException: Stylesheet URI can't be null sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/mumie/test/transformers/SimpleTransformer path-info mumie/test/transformers/SimpleTransformer It seems that the src="test/xsl/test.xsl" statement in the sitemap has no effect. When I ommit my own transformer, everythimg works fine. My transformer's setup method does nothing. May this be the problem? But why do the two transformers influence each other? Many thanks in advance, Tilman --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>