diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index 88f9bd7ce38604c94cd5d494e229161fa538693a..937e6ad7e20a071db784ea91d60d2e0f1a0f5c15 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -383,6 +383,9 @@ def SVGParseStyles(node, context):
         for elem in elems:
             s = elem.split(':')
 
+            if len(s) != 2:
+                continue
+
             name = s[0].strip().lower()
             val = s[1].strip()
 
@@ -1703,6 +1706,10 @@ svgGeometryClasses = {
 
 def parseAbstractNode(node, context):
     name = node.tagName.lower()
+
+    if name.startswith('svg:'):
+        name = name[4:]
+
     geomClass = svgGeometryClasses.get(name)
 
     if geomClass is not None: