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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to