From a7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 8 Jun 2006 10:59:26 +0200 Subject: Load /tmp/libxml2-2.6.26 into libxml2/branches/upstream/current. --- tree.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tree.c') 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)); } -- cgit v1.2.3