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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to