mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
typo/bug found by Christian Glahn Daniel
* valid.c: typo/bug found by Christian Glahn Daniel
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Fri Oct 4 13:43:02 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* valid.c: typo/bug found by Christian Glahn
|
||||||
|
|
||||||
Sun Sep 29 19:44:10 CEST 2002 Igor Zlatkovic <igor@stud.fh-frankfurt.de>
|
Sun Sep 29 19:44:10 CEST 2002 Igor Zlatkovic <igor@stud.fh-frankfurt.de>
|
||||||
|
|
||||||
* xmlIO.c: applied Windows CE patch from Javier.
|
* xmlIO.c: applied Windows CE patch from Javier.
|
||||||
|
2
valid.c
2
valid.c
@ -4837,7 +4837,7 @@ xmlValidateOneCdataElement(xmlValidCtxtPtr ctxt, xmlDocPtr doc,
|
|||||||
int ret = 1;
|
int ret = 1;
|
||||||
xmlNodePtr cur, child;
|
xmlNodePtr cur, child;
|
||||||
|
|
||||||
if ((ctxt == NULL) || (doc == NULL) | (elem == NULL))
|
if ((ctxt == NULL) || (doc == NULL) || (elem == NULL))
|
||||||
return(0);
|
return(0);
|
||||||
|
|
||||||
child = elem->children;
|
child = elem->children;
|
||||||
|
6
xpath.c
6
xpath.c
@ -10582,13 +10582,13 @@ xmlXPathCompile(const xmlChar *str) {
|
|||||||
ctxt->comp = NULL;
|
ctxt->comp = NULL;
|
||||||
}
|
}
|
||||||
xmlXPathFreeParserContext(ctxt);
|
xmlXPathFreeParserContext(ctxt);
|
||||||
comp->expr = xmlStrdup(str);
|
|
||||||
#ifdef DEBUG_EVAL_COUNTS
|
|
||||||
if (comp != NULL) {
|
if (comp != NULL) {
|
||||||
|
comp->expr = xmlStrdup(str);
|
||||||
|
#ifdef DEBUG_EVAL_COUNTS
|
||||||
comp->string = xmlStrdup(str);
|
comp->string = xmlStrdup(str);
|
||||||
comp->nb = 0;
|
comp->nb = 0;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
return(comp);
|
return(comp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user