1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixed 2 bugs pointed in #116448 Daniel

* debugXML.c xpath.c: fixed 2 bugs pointed in #116448
Daniel
This commit is contained in:
Daniel Veillard
2003-07-06 17:57:42 +00:00
parent ffe4f5ec16
commit 7a985a18c2
3 changed files with 14 additions and 1 deletions

View File

@ -5942,6 +5942,8 @@ xmlXPathGetElementsByIds (xmlDocPtr doc, const xmlChar *ids) {
xmlAttrPtr attr;
xmlNodePtr elem = NULL;
if (ids == NULL) return(NULL);
ret = xmlXPathNodeSetCreate(NULL);
while (IS_BLANK(*cur)) cur++;