You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by st...@apache.org on 2005/02/22 11:15:32 UTC

svn commit: r154825 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java

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