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);
         }


Reply via email to