jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r154825 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java
Date Tue, 22 Feb 2005 10:15:32 GMT
Author: stefan
Date: Tue Feb 22 02:15:31 2005
New Revision: 154825

URL: http://svn.apache.org/viewcvs?view=rev&rev=154825
Log:
reimplementing Session.importXML & friends due to spec changes

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

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java?view=diff&r1=154824&r2=154825
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java
Tue Feb 22 02:15:31 2005
@@ -153,8 +153,10 @@
                 // process current node first
                 ImportState current = (ImportState) stack.peek();
                 // need to start current node
-                processNode(current, true, false);
-                current.started = true;
+                if (!current.started) {
+                    processNode(current, true, false);
+                    current.started = true;
+                }
             }
 
             // push new ImportState instance onto the stack



Mime
View raw message