cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20308] New: - Stylesheet includes not working with XSLTC
Date Wed, 28 May 2003 16:57:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20308

Stylesheet includes not working with XSLTC

           Summary: Stylesheet includes not working with XSLTC
           Product: Cocoon 2
           Version: 2.1m2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: one@xyz.net


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>.

Mime
View raw message