[ http://issues.apache.org/jira/browse/COCOON-34?page=all ] Helma van der Linden reopened COCOON-34: ----------------------------------------
reopened just to set the resolution to fixed > JspGenerator doesn't allow relative src > --------------------------------------- > > Key: COCOON-34 > URL: http://issues.apache.org/jira/browse/COCOON-34 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.0 Alpha > Environment: Operating System: other > Platform: Other > Reporter: Sergio Carvalho > Assignee: Cocoon Developers Team > > When the JspGenerator src parameter is a path relative to the current sitemap > context, the generator will fail, producing a > org.apache.jasper.JasperException: Unable to compile class for JSP > To reproduce: > * Remove the leading slash from the JSP sample pipeline src parameter. It > becomes: > <map:match pattern="jsp/*"> > <map:generate type="jsp" src="docs/samples/jsp/{1}.jsp"/> > <map:transform src="stylesheets/page/simple-page2html.xsl"/> > <map:serialize type="html"/> > </map:match> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira