[ http://issues.apache.org/jira/browse/COCOON-710?page=all ]
Helma van der Linden closed COCOON-710:
---------------------------------------
Resolution: Fixed
> Stylesheet includes not working with XSLTC
> ------------------------------------------
>
> Key: COCOON-710
> URL: http://issues.apache.org/jira/browse/COCOON-710
> Project: Cocoon
> Type: Bug
> Components: * Cocoon Core
> Versions: 2.1.8-dev (Current SVN)
> Environment: Operating System: other
> Platform: Other
> Reporter: Dave Allen Barker Jr
> Assignee: Cocoon Developers Team
> Priority: Critical
>
> With a default build of Cocoon 2.1m2, goto
> <http://localhost:8888/samples/linkrewriter/sitedemo/welcome>. I see:
> An Error Occurred
> Failed to execute pipeline.
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.avalon.framework.CascadingRuntimeException: Error accessing
> attribute
> '/site/index/@href' from input module 'linkmap'. Error using source
> cocoon:/linkmap
> cause: org.apache.excalibur.xml.xslt.XSLTProcessorException: Unable to create
> templates for stylesheet: file:/C:/Program
> Files/cocoon-2.1m2/build/webapp/samples/linkrewriter/sitedemo/stylesheets/relativize-linkmap.xsl
> Notes
> The error seems to accure with any pipline using stylesheet with a
> <xsl:import/>.
> If I replace the import with the templates of the imported stylesheet (I've
> only
> tested with this specific case), the problem ceases.
> If I use the Xalan transformer instead of the default XSLTC, the problem
> ceases.
> It was suggested, "The problem was with the path resolving in XSLTC, ...", in
> <http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105410943605390>.
--
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