Commit a512d76e authored by Rob Richards's avatar Rob Richards

Revert behavior change in xmlSetProp to handle attributes with colons in

* tree.c: Revert behavior change in xmlSetProp to handle attributes
  with colons in name and no namespace.
parent 64f7e1a8
Mon May 22 13:33:12 CEST 2006 Rob Richards <rrichards@ctindustries.net>
* tree.c: Revert behavior change in xmlSetProp to handle attributes
with colons in name and no namespace.
Fri May 19 21:56:43 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xpath.c: Substituted all remaining calls to xmlXPathCmpNodes()
......
......@@ -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));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment