Update for a libxml2 change that was making this code g_warn a lot
* e-xml-hash-utils.c (e_xml_to_hash): Update for a libxml2 change that was making this code g_warn a lot svn path=/trunk/; revision=20264
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2003-03-12 Dan Winship <danw@ximian.com>
|
||||
|
||||
* e-xml-hash-utils.c (e_xml_to_hash): Update for a libxml2 change
|
||||
that was making this code g_warn a lot
|
||||
|
||||
2003-03-06 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-request.c (e_request_string): Make the entry activate the
|
||||
|
||||
@ -38,7 +38,7 @@ e_xml_to_hash (xmlDoc *doc, EXmlHashType type)
|
||||
|
||||
root = xmlDocGetRootElement (doc);
|
||||
for (node = root->xmlChildrenNode; node; node = node->next) {
|
||||
if (node->name == NULL)
|
||||
if (node->name == NULL || node->type != XML_ELEMENT_NODE)
|
||||
continue;
|
||||
|
||||
if (type == E_XML_HASH_TYPE_OBJECT_UID &&
|
||||
|
||||
Reference in New Issue
Block a user