xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mk...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemVariable.java
Date Thu, 05 Dec 2002 15:31:19 GMT
mkwan       2002/12/05 07:31:19

  Modified:    java/src/org/apache/xalan/templates ElemVariable.java
  Log:
  Commit the patch from Arun Yadav(arun.yadav@sun.com) to fix Bugzilla 15089.
  Don't add the func:result element to the variable table because it does not have
  a name.
  
  Revision  Changes    Path
  1.21      +1 -1      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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ElemVariable.java	6 Jun 2002 20:25:17 -0000	1.20
  +++ ElemVariable.java	5 Dec 2002 15:31:19 -0000	1.21
  @@ -397,7 +397,7 @@
         
       // Only add the variable if this is not a global.  If it is a global, 
       // it was already added by stylesheet root.
  -    if(!(m_parentNode instanceof Stylesheet))
  +    if(!(m_parentNode instanceof Stylesheet) && m_qname != null)
       {
         m_index = cstate.addVariableName(m_qname) - cstate.getGlobalsSize();
       }
  
  
  

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


Mime
View raw message