jkesselm    02/05/17 15:35:30

  Modified:    java/src/org/apache/xalan/templates ElemVariable.java
  Log:
  Bugzilla 7118 REVERT -- This fix was provoking bug 9195, which
  is more severe.
  
  Revision  Changes    Path
  1.19      +6 -2      
xml-xalan/java/src/org/apache/xalan/templates/ElemVariable.java
  
  Index: ElemVariable.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemVariable.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ElemVariable.java 14 May 2002 20:33:18 -0000      1.18
  +++ ElemVariable.java 17 May 2002 22:35:29 -0000      1.19
  @@ -337,15 +337,19 @@
                // Bugzilla 7118: A variable set via an RTF may create local
                // variables during that computation. To keep them from 
overwriting
                // variables at this level, push a new variable stack.
  +             ////// PROBLEM: This is provoking a variable-used-before-set
  +             ////// problem in parameters. Needs more study.
                try
                {
  -                     xctxt.getVarStack().link(0);
  +                     //////////xctxt.getVarStack().link(0);
                        if(m_parentNode instanceof Stylesheet) // Global 
variable
                                df = transformer.transformToGlobalRTF(this);
                        else
                                df = transformer.transformToRTF(this);
        }
  -             finally{ xctxt.getVarStack().unlink(); }
  +             finally{ 
  +                     //////////////xctxt.getVarStack().unlink(); 
  +                     }
   
           var = new XRTreeFrag(df, xctxt, this);
         }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to