xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From santiag...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler CallTemplate.java
Date Mon, 06 Oct 2003 13:53:13 GMT
santiagopg    2003/10/06 06:53:13

  Modified:    java/src/org/apache/xalan/xsltc/compiler CallTemplate.java
  Log:
  Fixed problem in XSLT parameter optimization. The search for the template being called should
start from the top-level stylesheet. The incorrect signature was generated when xsl:template
and xsl:call-template were located in different stylesheets.
  
  Revision  Changes    Path
  1.15      +2 -2      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/CallTemplate.java
  
  Index: CallTemplate.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/CallTemplate.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CallTemplate.java	8 Jul 2003 20:32:51 -0000	1.14
  +++ CallTemplate.java	6 Oct 2003 13:53:13 -0000	1.15
  @@ -280,7 +280,7 @@
        * template is not a simple named template.
        */
       public Template getCalleeTemplate() {
  -    	Stylesheet stylesheet = getStylesheet();
  +    	Stylesheet stylesheet = getXSLTC().getStylesheet();
       	Vector templates = stylesheet.getAllValidTemplates();
       	int size = templates.size();
       	for (int i = 0; i < size; i++) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message