diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-06-17 14:50:34 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-06-17 14:50:34 +0000 |
commit | e3c81b50bfe913fdf70c61141b3223611368c78c (patch) | |
tree | 32faf996786152ddf90a69ad3d9487757db66766 /tree.c | |
parent | 6d473ed349020894228f29d334cba4749f9a7cea (diff) | |
download | android_external_libxml2-e3c81b50bfe913fdf70c61141b3223611368c78c.tar.gz android_external_libxml2-e3c81b50bfe913fdf70c61141b3223611368c78c.tar.bz2 android_external_libxml2-e3c81b50bfe913fdf70c61141b3223611368c78c.zip |
- tree.c: fixed xmlHasNsProp() accordingly to bug #55683
- doc/xml.html: updated with 2.3.11
Daniel
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -4300,11 +4300,8 @@ xmlHasNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace) { * no namespace on the attribute and the element carrying it */ if ((xmlStrEqual(prop->name, name)) && - (((prop->ns == NULL) && (node->ns != NULL) && - (xmlStrEqual(node->ns->href, nameSpace))) || - ((prop->ns != NULL) && - (xmlStrEqual(prop->ns->href, nameSpace))))) { - return(prop); + ((prop->ns != NULL) && (xmlStrEqual(prop->ns->href, nameSpace)))) { + return(prop); } prop = prop->next; } |