summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tree.c b/tree.c
index 8a6b63a..d382e29 100644
--- a/tree.c
+++ b/tree.c
@@ -6347,13 +6347,6 @@ xmlSetProp(xmlNodePtr node, const xmlChar *name, const xmlChar *value) {
xmlFree(prefix);
if (ns != NULL)
return(xmlSetNsProp(node, ns, nqname, value));
- /*
- * If we get a QName and the prefix has no namespace-
- * binding in scope, then this is an error.
- * TODO: Previously this falled-back to non-ns handling.
- * Should we revert this?
- */
- return(NULL);
}
return(xmlSetNsProp(node, NULL, name, value));
}