]> spindle.queued.net Git - midori/commitdiff
Skip "owner" elements, these are not metadata keys
authorChristian Dywan <christian@twotoasts.de>
Sat, 18 Jul 2009 14:24:56 +0000 (16:24 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 18 Jul 2009 14:24:56 +0000 (16:24 +0200)
midori/midori-array.c

index 79a82f7596313c0814d1ce277889c3a0a5476b9d..de61c95a2e44184231aef2c2c2921a51ef5f79ed 100644 (file)
@@ -135,6 +135,11 @@ katze_xbel_parse_info (KatzeItem* item,
                 xmlAttrPtr properties = cur->properties;
                 while (properties)
                 {
+                    if (!xmlStrcmp (properties->name, (xmlChar*)"owner"))
+                    {
+                        properties = properties->next;
+                        continue;
+                    }
                     xmlChar* value = xmlGetProp (cur, properties->name);
                     if (properties->ns && properties->ns->prefix)
                     {