xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From il...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xpath/compiler OpMapVector.java
Date Fri, 01 Nov 2002 20:33:54 GMT
ilene       2002/11/01 12:33:54

  Modified:    java/src/org/apache/xpath/compiler OpMapVector.java
  Log:
  Patch for bugzilla #14178 - Long XPath expressions.  The token queue was 
  growing properly, but the operations map was missing the last element when 
  it grew.
  
  Revision  Changes    Path
  1.2       +1 -2      xml-xalan/java/src/org/apache/xpath/compiler/OpMapVector.java
  
  Index: OpMapVector.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/compiler/OpMapVector.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OpMapVector.java	7 Oct 2002 15:30:30 -0000	1.1
  +++ OpMapVector.java	1 Nov 2002 20:33:53 -0000	1.2
  @@ -122,13 +122,12 @@
   
         int newMap[] = new int[m_mapSize];
   
  -      System.arraycopy(m_map, 0, newMap, 0, m_map[m_lengthPos]);
  +      System.arraycopy(m_map, 0, newMap, 0, m_map[m_lengthPos]+1);
   
         m_map = newMap;
       }
   
       m_map[index] = value;
  -    
     }
     
     
  
  
  

---------------------------------------------------------------------
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