- tree.c: fixed xmlHasNsProp() accordingly to bug #55683
- doc/xml.html: updated with 2.3.11
Daniel
diff --git a/tree.c b/tree.c
index 3858990..3676a26 100644
--- a/tree.c
+++ b/tree.c
@@ -4300,11 +4300,8 @@
 	 *         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;
     }