jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r201592 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
Date Fri, 24 Jun 2005 10:59:04 GMT
Author: stefan
Date: Fri Jun 24 03:59:02 2005
New Revision: 201592

URL: http://svn.apache.org/viewcvs?rev=201592&view=rev
Log:
JCR-146: importXML prepending line feeds to tag values  

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java?rev=201592&r1=201591&r2=201592&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
Fri Jun 24 03:59:02 2005
@@ -103,6 +103,9 @@
                 if (text.trim().length() == 0) {
                     // ignore whitespace-only character data
                     log.debug("ignoring withespace character data: " + text);
+                    // reset handler
+                    textHandler.dispose();
+                    textHandler = null;
                     return;
                 }
 



Mime
View raw message