mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-13 13:17:36 +03:00
fixed bug #125812, about XPointer in XInclude failing but not returning an
* xinclude.c: fixed bug #125812, about XPointer in XInclude failing but not returning an error. Daniel
This commit is contained in:
parent
a8ff65d784
commit
798ae54344
@ -1,3 +1,8 @@
|
||||
Mon Nov 3 17:51:28 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xinclude.c: fixed bug #125812, about XPointer in XInclude
|
||||
failing but not returning an error.
|
||||
|
||||
Mon Nov 3 17:18:22 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* valid.c: fixed bug #125811 related to DTD post validation
|
||||
|
@ -1394,6 +1394,13 @@ loaded:
|
||||
xmlFree(fragment);
|
||||
return(-1);
|
||||
case XPATH_NODESET:
|
||||
if ((xptr->nodesetval == NULL) ||
|
||||
(xptr->nodesetval->nodeNr <= 0)) {
|
||||
xmlXPathFreeContext(xptrctxt);
|
||||
xmlFree(URL);
|
||||
xmlFree(fragment);
|
||||
return(-1);
|
||||
}
|
||||
case XPATH_RANGE:
|
||||
case XPATH_LOCATIONSET:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user