Upstream changes
This commit is contained in:
parent
d5bfc26783
commit
04089010d5
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user