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:44:30 UTC
DO NOT REPLY [Bug 27843] 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=27843>.
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=27843
Current template rule affected by calling named template
Summary: Current template rule affected by calling named template
Product: XalanJ2
Version: CurrentCVS
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan.xsltc
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, XSLTC is behaving as if the current
template rule was in stylesheet B, and is only apply imported templates from
stylesheet C.
See bug 27841, which is the same problem reported against Xalan-J Interpretive,
for stylesheets, input and expected output.
[1] http://www.w3.org/TR/xslt#apply-imports