You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2001/06/18 20:29:44 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/readers CharReader.java

sandygao    01/06/18 11:29:43

  Modified:    java/src/org/apache/xerces/readers CharReader.java
  Log:
  applying patch for [bug 709] in bugzilla: xml file with size exactly 16KB.
  
  Revision  Changes    Path
  1.2       +6 -6      xml-xerces/java/src/org/apache/xerces/readers/CharReader.java
  
  Index: CharReader.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/readers/CharReader.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CharReader.java	1999/11/09 01:12:31	1.1
  +++ CharReader.java	2001/06/18 18:29:39	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -10,7 +10,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -18,7 +18,7 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution,
  - *    if any, must include the following acknowledgment:  
  + *    if any, must include the following acknowledgment:
    *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowledgment may appear in the software itself,
  @@ -26,7 +26,7 @@
    *
    * 4. The names "Xerces" and "Apache Software Foundation" must
    *    not be used to endorse or promote products derived from this
  - *    software without prior written permission. For written 
  + *    software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache",
  @@ -92,7 +92,7 @@
       // When we fill a chunk there may be data that was read from the
       // input stream that has not been "processed".  We need to save
       // that data, and any in-progress state, between the calls to
  -    // fillCurrentChunk() in these instance variables.  
  +    // fillCurrentChunk() in these instance variables.
       //
       private boolean fCheckOverflow = false;
       private char[] fOverflow = null;
  @@ -193,7 +193,7 @@
                           //
                           boolean alldone = copyNormalize(fOverflow, fOverflowOffset, fMostRecentData, fOutputOffset);
                           if (alldone) {
  -                            if (fOverflowEnd == CharDataChunk.CHUNK_SIZE) {
  +                            if (fOutputOffset == CharDataChunk.CHUNK_SIZE) {
                                   //
                                   // Special case - everything fit into the overflow buffer,
                                   // except that there is no room for the nul char we use to
  
  
  

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