xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27476] - xsl:apply-imports does not work if the pattern is a NameTest with predicate
Date Fri, 05 Mar 2004 20:47:55 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=27476>.
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=27476

xsl:apply-imports does not work if the pattern is a NameTest with predicate





------- Additional Comments From joannet@ca.ibm.com  2004-03-05 20:47 -------
This bug seems to be related to template inlining optimization (set in 
Stylesheet).

If this optimization is enabled, then a template cannot be compiled twice 
because Template.translate would exit early if the current template has already 
been compiled.  However, Mode.compileApplyImports must compile the template 
again to generate another virtual method used by apply-imports.  Therefore, if 
this optimization is enabled, the second attempt to compile the template would 
generate no code in the translet.  If this optimization is not enabled, then 
each template would have it's own virtual method.  Thus, it only requires to be 
compiled once and can be invoked twice.

Mime
View raw message