summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2006-06-08 10:59:26 +0200
committerMike Hommey <glandium@debian.org>2006-06-08 10:59:26 +0200
commita7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae (patch)
treef70d9afbc2bc584860755cb0f933a4405ee3c338 /tree.c
parent07a67fa4bcc1b8bf2651ab41e5fc54a05059cf7e (diff)
downloadlibxml2-a7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae.tar.gz
Load /tmp/libxml2-2.6.26 intoupstream/2.6.26.dfsg
libxml2/branches/upstream/current.
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));
}