cziegeler 2003/05/06 00:17:28
Modified: src/java/org/apache/cocoon/transformation/helpers TextRecorder.java Log: Fixing bug 19683 Revision Changes Path 1.2 +2 -7 cocoon-2.1/src/java/org/apache/cocoon/transformation/helpers/TextRecorder.java Index: TextRecorder.java =================================================================== RCS file: /home/cvs/cocoon-2.1/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:09:41 -0000 1.1 +++ TextRecorder.java 6 May 2003 07:17:28 -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() {