diff -Nrup a/src/common/xml.cpp b/src/common/xml.cpp --- a/src/common/xml.cpp 2014-06-05 06:18:39.000000000 +0200 +++ b/src/common/xml.cpp 2019-03-31 08:19:01.952035670 +0200 @@ -520,7 +520,7 @@ static mxml_type_t mxml_ufo_type_cb (xml * element name, hierarchy, etc... */ const char* type = mxmlElementGetAttr(node, "type"); if (type == nullptr) - type = node->value.element.name; + type = mxmlGetElement(node); if (!strcmp(type, "int")) return MXML_INTEGER;