xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adelme...@apache.org
Subject svn commit: r670689 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLObj.java
Date Mon, 23 Jun 2008 18:01:25 GMT
Author: adelmelle
Date: Mon Jun 23 11:01:25 2008
New Revision: 670689

URL: http://svn.apache.org/viewvc?rev=670689&view=rev
Log:
Fix XMLObj.addCharacters(): incorrect after r670341

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLObj.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLObj.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLObj.java?rev=670689&r1=670688&r2=670689&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLObj.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLObj.java Mon Jun 23 11:01:25 2008
@@ -214,7 +214,7 @@
      */
     protected void addCharacters(char[] data, int start, int length,
                                  PropertyList pList, Locator locator) {
-        String str = new String(data, start, length - start);
+        String str = new String(data, start, length);
         org.w3c.dom.Text text = doc.createTextNode(str);
         element.appendChild(text);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message