Sorry everybody, 
This is not a repost, but might be a bug in cocoon.
I found a solution to my other problem, but I wanted to inform this group.

Consider this line in the sitemap
<map:generate src="http://web/implements/db/{1}/{2}.xsp"; type="xsp"/>

This works, whereas the line
<map:generate src="cocoon:/db/{1}/{2}.xsp" type="xsp"/>

gives this error:

message The namespace prefix "xsp-request" was not declared.

description org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: org.xml.sax.SAXParseException: The namespace prefix "xsp-request"
was not declared.

If anybody can point me at any stupidity, please do, but I think it's a cocoon 
problem.... Anyway, I got a solution.


                        <map:match pattern="db/*/*.xsp">
                                <map:generate src="db/{1}/{2}.xml"/>
                                <map:transform src="xsl/db.generatexsp.xsl"/>
                                <map:serialize type="xml"/>
                        </map:match>
                        <map:match pattern="db/*/*.html">
                                <map:generate 
src="http://web/implements/db/{1}/{2}.xsp"; type="xsp"/>

                                <!--map:transform src="xsl/html.xmlpage.xsl">
                                        <map:parameter name="relpath" 
value="./../.."/>
                                </map:transform-->
                                <map:serialize type="xml"/>
                        </map:match>

-- 
Met vriendelijke groeten,
Kind regards,
Bien à vous,

Yves Vindevogel

Implements
Kempische Steenweg 206  --  3500 Hasselt  --  Belgium
Phone/Fax: +32 (11) 43.55.76  --  Mobile: +32 (478) 80.82.91
Mail: [EMAIL PROTECTED]  --  www.implements.be

Quote: The winner never says participating is more important than winning.

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

Reply via email to