You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/06/19 23:31:42 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemForEach.java

sboag       01/06/19 14:31:42

  Modified:    java/src/org/apache/xalan/templates ElemForEach.java
  Log:
  Have to send endCompose to the sort elements, or the mark
  stack will not be properly popped.
  
  Revision  Changes    Path
  1.22      +16 -0     xml-xalan/java/src/org/apache/xalan/templates/ElemForEach.java
  
  Index: ElemForEach.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemForEach.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- ElemForEach.java	2001/06/12 19:15:09	1.21
  +++ ElemForEach.java	2001/06/19 21:31:40	1.22
  @@ -170,6 +170,22 @@
           getStylesheetRoot().m_selectDefault.getExpression();
       }
     }
  +  
  +  /**
  +   * This after the template's children have been composed.
  +   */
  +  public void endCompose(StylesheetRoot sroot) throws TransformerException
  +  {
  +    int length = getSortElemCount();
  +
  +    for (int i = 0; i < length; i++)
  +    {
  +      getSortElem(i).endCompose(sroot);
  +    }
  +    
  +    super.endCompose(sroot);
  +  }
  +
   
     //  /**
     //   * This function is called after everything else has been
  
  
  

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