I just now grabbed the cvs cocoon_2_0_3_branch and tried it. Exactly the same results as with released 2.0.3. Excerpts from my sitemaps are included below with indication of where it looks for the error files. Talk to you tomorrow.
Tim Excerpt from main sitemap: (not worried about this one...) <map:pipelines> <map:pipeline> <map:match pattern="**"> <map:mount check-reload="yes" src="file://c:/mydir/" uri-prefix=""/> </map:match> <map:handle-errors> <map:transform src="stylesheets/system/error2html.xsl"/> <map:serialize status-code="500"/> </map:handle-errors> </map:pipeline> </map:pipelines> Excerpt from subsitemap in c:/mydir: (BAD: hits C:\jakarta-tomcat-3.3.1\webapps\cocoon\error.xsl) <map:handle-errors> <map:transform src="error.xsl"/> <map:serialize type="xml"/> </map:handle-errors> <map:match pattern="*.*"> <map:act type="resource-exists"> <map:parameter name="url" value="{1}.xmap"/> <map:mount uri-prefix="" src="{../1}.xmap" check-reload="yes" reload-method="synchron"/> </map:act> </map:match> </map:pipeline> Excerpt from sub-subsitemap also in c:/mydir: (GOOD: hits C:\mydir\error.xsl) <map:pipeline> <map:match pattern="*.pdf"> <map:generate src="cocoon:/{1}.xsp" type="serverpages"/> <map:transform src="cocoon:/{1}.xsl"/> <map:serialize type="fo2pdf"/> </map:match> <map:handle-errors> <map:transform src="error.xsl"/> <map:serialize type="xml"/> </map:handle-errors> </map:pipeline> >>> [EMAIL PROTECTED] 09/17/02 12:14PM >>> Timothy Larson wrote: >In Cocoon 2.0.3, how is the base path determined for <map:handle-errors>? >I'm confused, because in different subsitemaps it either looks for files at the >same level as the current subsitemap or all the way out at the root sitemap. > It should be current sitemap. Have you tried 2.0.4-dev, does it have same problem? Vadim >Tim > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>