1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-19 09:57:23 +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:
Daniel Veillard 1999-12-16 17:52:19 +00:00
parent 944b5ff4f6
commit 62ba71e7b4

2
tree.c
View File

@ -2642,7 +2642,7 @@ xmlNsPtr
xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace) {
xmlNsPtr cur;
if ((node == NULL) || (nameSpace == NULL)) return(NULL);
if (node == NULL) return(NULL);
while (node != NULL) {
cur = node->nsDef;
while (cur != NULL) {