You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/05/06 09:18:44 UTC

cvs commit: cocoon-2.0/src/java/org/apache/cocoon/transformation/helpers TextRecorder.java

cziegeler    2003/05/06 00:18:44

  Modified:    src/java/org/apache/cocoon/transformation/helpers
                        TextRecorder.java
  Log:
  Fixing bug 19683
  
  Revision  Changes    Path
  1.2       +2 -7      cocoon-2.0/src/java/org/apache/cocoon/transformation/helpers/TextRecorder.java
  
  Index: TextRecorder.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.0/src/java/org/apache/cocoon/transformation/helpers/TextRecorder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TextRecorder.java	9 Mar 2003 00:03:25 -0000	1.1
  +++ TextRecorder.java	6 May 2003 07:18:44 -0000	1.2
  @@ -71,12 +71,7 @@
   
       public void characters(char ary[], int start, int length)
       throws SAXException {
  -        String value = new String(ary, start, length).trim();
  -        if (value.length() > 0) {
  -            buffer.append(value);
  -        } else {
  -            buffer.append(' ');
  -        }
  +        buffer.append(new String(ary, start, length));
       }
   
       public String getText() {