You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2004/03/22 15:33:35 UTC

DO NOT REPLY [Bug 27841] New: - Current template rule affected by calling named template

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27841>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27841

Current template rule affected by calling named template

           Summary: Current template rule affected by calling named template
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.transformer
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: zongaro@ca.ibm.com


Suppose stylesheet A imports stylesheet B, which imports stylesheet C.  If a 
template in stylesheet A is matched, and calls a named template in stylesheet 
B, and that named template executes an xsl:apply-imports, the "current template 
rule" [1], for the purposes of apply-imports, should still be the template in 
stylesheet A.  However, Xalan-J Interpretive is behaving as if the current 
template rule was in stylesheet B, and is only apply imported templates from 
stylesheet C.

[1] http://www.w3.org/TR/xslt#apply-imports