Upstream changes

This commit is contained in:
Yevgen Muntyan 2006-10-14 14:02:15 -05:00
parent d5bfc26783
commit 04089010d5

View File

@ -231,15 +231,10 @@ process_properties (xmlTextReaderPtr reader,
xmlChar *name;
xmlChar *content;
if (child->type != XML_ELEMENT_NODE)
if (child->type != XML_ELEMENT_NODE ||
xmlStrcmp (child->name, BAD_CAST "property") != 0)
continue;
if (xmlStrcmp (child->name, BAD_CAST "property") != 0)
{
g_warning ("unknown element %s", (char*) child->name);
continue;
}
name = xmlGetProp (child, BAD_CAST "name");
content = xmlNodeGetContent (child);