sboag       99/12/13 00:08:00

  Modified:    src/org/apache/xalan/xslt ElemApplyTemplates.java
  Log:
  Code for optimization of node() commented out for the moment, in order to 
support last().
  
  Revision  Changes    Path
  1.2       +7 -4      
xml-xalan/src/org/apache/xalan/xslt/ElemApplyTemplates.java
  
  Index: ElemApplyTemplates.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/src/org/apache/xalan/xslt/ElemApplyTemplates.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ElemApplyTemplates.java   1999/11/08 20:56:13     1.1
  +++ ElemApplyTemplates.java   1999/12/13 08:08:00     1.2
  @@ -106,12 +106,15 @@
       }
       if(null == m_selectPattern)
       {
  -      if(null == m_stylesheet.m_defaultATXpath)
  +      if(true)
         {
  -        m_stylesheet.m_defaultATXpath 
  -          = m_stylesheet.createXPath("node()", this);
  +        if(null == m_stylesheet.m_defaultATXpath)
  +        {
  +          m_stylesheet.m_defaultATXpath 
  +            = m_stylesheet.createXPath("node()", this);
  +        }
  +        m_selectPattern = m_stylesheet.m_defaultATXpath;
         }
  -      m_selectPattern = m_stylesheet.m_defaultATXpath;
       }
     }
   
  
  
  

Reply via email to