jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1393445 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/XmlImportHandler.java
Date Wed, 03 Oct 2012 11:59:22 GMT
Author: mreutegg
Date: Wed Oct  3 11:59:21 2012
New Revision: 1393445

URL: http://svn.apache.org/viewvc?rev=1393445&view=rev
Log:
OAK-357: XmlImportHandler creates incorrect hierarchy

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/XmlImportHandler.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/XmlImportHandler.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/XmlImportHandler.java?rev=1393445&r1=1393444&r2=1393445&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/XmlImportHandler.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/XmlImportHandler.java
Wed Oct  3 11:59:21 2012
@@ -96,6 +96,12 @@ public class XmlImportHandler extends De
                 throw new SAXException(e);
             }
             values.clear();
+        } else if ("node".equals(localName)) {
+            try {
+                node = node.getParent();
+            } catch (RepositoryException e) {
+                throw new SAXException(e);
+            }
         }
     }
 



Mime
View raw message