diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-04-27 17:13:01 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-04-27 17:13:01 +0000 |
commit | 61d80a2822b2678dee885ac2850295cc96277c63 (patch) | |
tree | c20e57b44e7fc01cb3260a4b4055854ea58a2bba /debugXML.c | |
parent | dbb14a72f092e70213ae7aadbc04abacccd35aa7 (diff) | |
download | libxml2-61d80a2822b2678dee885ac2850295cc96277c63.tar.gz |
- parserInternals.c xpath.[ch]: some UTF8 cleanup on
xmlXPathParseName
- xpath.c: Igor Zlatkovic suggested a change for NAN and MSC
- debugXML.c: avoid compilation problems if compiling without
HTML support, Igor Zlatkovic
- win32/libxml2/libxml2.def.src: being able to compile without
XPath on Windows
Daniel
Diffstat (limited to 'debugXML.c')
-rw-r--r-- | debugXML.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1723,7 +1723,9 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input, "%s is an XSLT value tree\n", arg); break; } +#ifdef LIBXML_XPATH_ENABLED xmlXPathFreeNodeSetList(list); +#endif } else { xmlGenericError(xmlGenericErrorContext, "%s: no such node\n", arg); @@ -1787,7 +1789,9 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input, "%s is an XSLT value tree\n", arg); break; } +#ifdef LIBXML_XPATH_ENABLED xmlXPathFreeNodeSetList(list); +#endif } else { xmlGenericError(xmlGenericErrorContext, "%s: no such node\n", arg); @@ -1855,7 +1859,9 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input, "%s is an XSLT value tree\n", arg); break; } +#ifdef LIBXML_XPATH_ENABLED xmlXPathFreeNodeSetList(list); +#endif } else { xmlGenericError(xmlGenericErrorContext, "%s: no such node\n", arg); |