Commit 14be0a17 authored by Daniel Veillard's avatar Daniel Veillard

Small fixups: - xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg -

Small fixups:
- xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg
- parserInternals.c: removed unneeded test raised by Stric
Daniel
parent e1dc0114
Sat Mar 3 19:45:59 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg
* parserInternals.c: removed unneeded test raised by Stric
Sat Mar 3 13:04:37 CET 2001 Bjorn Reese <breese@users.sourceforge.net>
* xpath.c: Fixed xmlXPathNodeCollectAndTest (problem reported
......
......@@ -2196,12 +2196,9 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
ctxt->spaceTab[0] = -1;
ctxt->space = &ctxt->spaceTab[0];
if (sax == NULL) {
ctxt->sax = &xmlDefaultSAXHandler;
} else {
ctxt->sax = sax;
memcpy(sax, &xmlDefaultSAXHandler, sizeof(xmlSAXHandler));
}
ctxt->sax = sax;
memcpy(sax, &xmlDefaultSAXHandler, sizeof(xmlSAXHandler));
ctxt->userData = ctxt;
ctxt->myDoc = NULL;
ctxt->wellFormed = 1;
......
#
# Configuration file for using the XML library in GNOME applications
#
XML_LIBDIR="@XML_LIBDIR@"
XML_LIBS="@XML_LIBS@"
XML_INCLUDEDIR="@XML_INCLUDEDIR@"
MODULE_VERSION="xml-@VERSION@"
XML2_LIBDIR="@XML_LIBDIR@"
XML2_LIBS="@XML_LIBS@"
XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
MODULE_VERSION="xml2-@VERSION@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment