mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-21 17:57:22 +03:00
- fixed a nasty bug destroying default namespace and Dia :-(
introduced in 1.8.0 - closed bug #3950 Daniel
This commit is contained in:
parent
944b5ff4f6
commit
62ba71e7b4
2
tree.c
2
tree.c
@ -2642,7 +2642,7 @@ xmlNsPtr
|
|||||||
xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace) {
|
xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace) {
|
||||||
xmlNsPtr cur;
|
xmlNsPtr cur;
|
||||||
|
|
||||||
if ((node == NULL) || (nameSpace == NULL)) return(NULL);
|
if (node == NULL) return(NULL);
|
||||||
while (node != NULL) {
|
while (node != NULL) {
|
||||||
cur = node->nsDef;
|
cur = node->nsDef;
|
||||||
while (cur != NULL) {
|
while (cur != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user