sboag       00/12/21 07:58:52

  Modified:    java/src/org/apache/xpath/operations Variable.java
  Log:
  No real changes, just changes in the commented debugging stuff.
  
  Revision  Changes    Path
  1.8       +14 -11    
xml-xalan/java/src/org/apache/xpath/operations/Variable.java
  
  Index: Variable.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/operations/Variable.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Variable.java     2000/12/17 05:21:18     1.7
  +++ Variable.java     2000/12/21 15:58:51     1.8
  @@ -104,23 +104,26 @@
       // Is the variable fetched always the same?
       XObject result;
   
  -    //try
  -    {
  +//    try
  +//    {
         result = xctxt.getVariable(m_qname);
  -    }
  -    /*catch (Exception e)
  -    {
  -      error(xctxt, XPATHErrorResources.ER_COULDNOT_GET_VAR_NAMED,
  -            new Object[]{ m_qname.getLocalPart() });  //"Could not get 
variable named "+varName);
  +//    }
  +//    catch (Exception e)
  +//    {
  +//      error(xctxt, XPATHErrorResources.ER_COULDNOT_GET_VAR_NAMED,
  +//            new Object[]{ m_qname.getLocalPart() });  //"Could not get 
variable named "+varName);
  +//
  +//      result = null;
  +//    }
   
  -      result = null;
  -    }*/
  -
       if (null == result)
       {
         warn(xctxt, XPATHErrorResources.WG_ILLEGAL_VARIABLE_REFERENCE,
              new Object[]{ m_qname.getLocalPart() });  //"VariableReference 
given for variable out "+
  -
  +//      (new RuntimeException()).printStackTrace();
  +//      error(xctxt, XPATHErrorResources.ER_COULDNOT_GET_VAR_NAMED,
  +//            new Object[]{ m_qname.getLocalPart() });  //"Could not get 
variable named "+varName);
  +      
         result = new XNodeSet();
       }
   
  
  
  

Reply via email to