cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/serializers XMLSerializer.java
Date Wed, 03 May 2000 19:18:35 GMT
balld       00/05/03 12:18:35

  Modified:    src/org/apache/cocoon/serializers Tag: xml-cocoon2
                        XMLSerializer.java
  Log:
  bug fix in XMLSerializer
  Submitted by:	David Marshall <dmarshall@vmguys.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.6   +2 -2      xml-cocoon/src/org/apache/cocoon/serializers/Attic/XMLSerializer.java
  
  Index: XMLSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/serializers/Attic/XMLSerializer.java,v
  retrieving revision 1.1.4.5
  retrieving revision 1.1.4.6
  diff -u -r1.1.4.5 -r1.1.4.6
  --- XMLSerializer.java	2000/02/28 18:41:06	1.1.4.5
  +++ XMLSerializer.java	2000/05/03 19:18:35	1.1.4.6
  @@ -23,7 +23,7 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.4.5 $ $Date: 2000/02/28 18:41:06 $
  + * @version CVS $Revision: 1.1.4.6 $ $Date: 2000/05/03 19:18:35 $
    */
   public class XMLSerializer extends AbstractSerializer implements XMLConsumer {
       /** The namespaces table */
  @@ -360,7 +360,7 @@
       private void printSafe(char data[], int start, int len)
       throws SAXException {
           int end=start+len;
  -        if(!this.dtd) for(int x=0; x<end; x++) this.printSafe(data[x]);
  +        if(!this.dtd) for(int x=start; x<end; x++) this.printSafe(data[x]);
       }
   
       /** Print data from a character array */
  
  
  

Mime
View raw message