svn commit: r561205 - /xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/IndexManager.java

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: natalia
Date: Mon Jul 30 18:19:26 2007
New Revision: 561205

URL: http://svn.apache.org/viewvc?view=rev&rev=561205
Log:
Element value construction fixed

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/IndexManager.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/IndexManager.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/IndexManager.java?view=diff&rev=561205&r1=561204&r2=561205
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/IndexManager.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/IndexManager.java Mon Jul 30 18:19:26 2007
@@ -598,8 +598,7 @@
         }
 
         public void characters(char ch[], int start, int length) {
-            String val = new String(ch);
-            info.sb.append(val);
+            info.sb.append(ch, start, length);
         }
 
         public void symbolID(short symbolID) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.