trying to fix a problem in namespaced attribute handling raised by
* tree.c: trying to fix a problem in namespaced attribute handling
raised by Christian Glahn
Daniel
diff --git a/tree.c b/tree.c
index 83bf621..13ebe1e 100644
--- a/tree.c
+++ b/tree.c
@@ -5261,9 +5261,7 @@
return(-1);
while (prop != NULL) {
if ((xmlStrEqual(prop->name, name)) &&
- (((prop->ns == NULL) && (node->ns != NULL) &&
- (xmlStrEqual(node->ns->href, ns->href))) ||
- ((prop->ns != NULL) && (xmlStrEqual(prop->ns->href, ns->href))))) {
+ (prop->ns != NULL) && (xmlStrEqual(prop->ns->href, ns->href))) {
if (prev == NULL)
node->properties = prop->next;
else