Hi there,
:-) I am still struggling with c2. I have the following dir structure
webapps/cocoon/Projekte/Cocoon2/tests/simple.xsp
/stylesheets/simple-page2html.xsl
/stylesheets/error2html.xsl
And the following sitemap.xmap in webapps/cocoon/Projekte/Cocoon2
<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- =========================== Components
================================ -->
<map:components>
<map:generators default="file"/>
<map:transformers default="xslt"/>
<map:readers default="resource"/>
<map:serializers default="html"/>
<map:selectors default="browser"/>
<map:matchers default="wildcard">
<map:matcher name="wildcard"
src="org.apache.cocoon.matching.WildcardURIMatcherFactory"/>
</map:matchers>
</map:components>
<!-- =========================== Pipelines
================================= -->
<map:pipelines>
<map:pipeline>
<map:match pattern="tests/simple">
<map:generate src="tests/simple.xsp"/>
<map:transform src="stylesheets/simple-page2html.xsl"/>
<map:serialize/>
</map:match>
<map:handle-errors>
<map:transform src="stylesheets/error2html.xsl"/>
<map:serialize status-code="500"/>
</map:handle-errors>
</map:pipeline>
</map:pipelines>
</map:sitemap>
<!-- end of file -->
I am somewhat stuck. Every time I try to access
http://localhost:8080/cocoon/Projekte/Cocoon2/tests/simple.xsp I receive
"Dokument contains no data". The Access to this uri is logged in
cocoon/WEB-INF/cocoon.log but there is no hint about an error or an
misconfiguration. It would be very kind if any of the C2 gurus could
point me in the correct direction
Regards
Michael
---------------------------------------------------------------------
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]>