xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/lib/sql DTMDocument.java
Date Fri, 20 Dec 2002 23:18:40 GMT
johng       2002/12/20 15:18:40

  Modified:    java/src/org/apache/xalan/lib/sql DTMDocument.java
  Log:
  Fixed minor bug with for loop in getNodeData. Removed
  direct access to child node array
  
  Revision  Changes    Path
  1.10      +1 -1      xml-xalan/java/src/org/apache/xalan/lib/sql/DTMDocument.java
  
  Index: DTMDocument.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/lib/sql/DTMDocument.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DTMDocument.java	20 Dec 2002 18:59:11 -0000	1.9
  +++ DTMDocument.java	20 Dec 2002 23:18:39 -0000	1.10
  @@ -460,7 +460,7 @@
      */
     protected void getNodeData(int nodeIdx, FastStringBuffer buf)
     {
  -    for ( int child = m_firstch.elementAt(nodeIdx) ; child != DTM.NULL ; child = m_nextsib.elementAt(child)
)
  +    for ( int child = _firstch(nodeIdx) ; child != DTM.NULL ; child = _nextsib(child) )
       {
         Object o = m_ObjectArray.getAt(child);
         if ( o == S_ELEMENT_NODE )
  
  
  

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