You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/04/25 16:10:51 UTC

DO NOT REPLY [Bug 19324] New: - XSLTC doesn't like "context://" pseudo protocol in xsl:include statements

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

XSLTC doesn't like "context://" pseudo protocol in xsl:include statements

           Summary: XSLTC doesn't like "context://" pseudo protocol in
                    xsl:include statements
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: stuart.roebuck@adolos.co.uk


I have some XSLT code that has worked happily in Cocoon using Xalan (without XSLTC) for many 
years which contains lines such as:

<xsl:include href="context://transform/edit_tools.xslt" />

To include XSLT from the root sitemap context into XSLT being processed in a sub-sitemap.

This fails under XSLTC, but works if the context: protocol is removed and a complete non-relative 
path is supplied.  This seems to imply that the fault is not in the inclusion itself, but in the 
interpretation of the pseudo protocol.