svn commit: r645329 - /xml/xindice/trunk/java/src/org/apache/xindice/xml/sax/SetContentHandler.java

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: natalia
Date: Sun Apr  6 16:27:25 2008
New Revision: 645329

URL: http://svn.apache.org/viewvc?rev=645329&view=rev
Log:
Fix processing of characters 

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/xml/sax/SetContentHandler.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/xml/sax/SetContentHandler.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/xml/sax/SetContentHandler.java?rev=645329&r1=645328&r2=645329&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/xml/sax/SetContentHandler.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/xml/sax/SetContentHandler.java Sun Apr  6 16:27:25 2008
@@ -280,7 +280,7 @@
      */
     public void characters(char ch[], int start, int length) throws SAXException {
         try {
-            XMLUtilities.escape(ch, start, length, true);
+            newContent.append(XMLUtilities.escape(ch, start, length, true));
         } catch (XindiceRuntimeException e) {
             throw new SAXException(e);
         }
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.