diff --git a/structr-ui/src/main/java/org/structr/web/importer/Importer.java b/structr-ui/src/main/java/org/structr/web/importer/Importer.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/web/importer/Importer.java
+++ b/structr-ui/src/main/java/org/structr/web/importer/Importer.java
@@ -306,7 +306,8 @@ public class Importer {
 			return createChildNodes(body, null, page);
 		}
 
-		return null;
+		// fallback, no head no body => document is parent
+		return createChildNodes(parsedDocument, null, page);
 	}
 
 	public DOMNode createChildNodes(final DOMNode parent, final Page page) throws FrameworkException {
Fixes import of shared components when using the non-cleaning XML parser
instead of the HTML parser for deployment imports.