mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
augnemting the APIs, cleanups. cleanup bug #111005 added some missing
* include/libxml/relaxng.h relaxng.c include/libxml/xmlreader.h xmlreader.c: augnemting the APIs, cleanups. * parser.c: cleanup bug #111005 * xmlIO.c: added some missing comments Daniel
This commit is contained in:
4
parser.c
4
parser.c
@ -10273,7 +10273,6 @@ xmlDocPtr
|
||||
xmlSAXParseEntity(xmlSAXHandlerPtr sax, const char *filename) {
|
||||
xmlDocPtr ret;
|
||||
xmlParserCtxtPtr ctxt;
|
||||
char *directory = NULL;
|
||||
|
||||
ctxt = xmlCreateFileParserCtxt(filename);
|
||||
if (ctxt == NULL) {
|
||||
@ -10286,9 +10285,6 @@ xmlSAXParseEntity(xmlSAXHandlerPtr sax, const char *filename) {
|
||||
ctxt->userData = NULL;
|
||||
}
|
||||
|
||||
if ((ctxt->directory == NULL) && (directory == NULL))
|
||||
directory = xmlParserGetDirectory(filename);
|
||||
|
||||
xmlParseExtParsedEnt(ctxt);
|
||||
|
||||
if (ctxt->wellFormed)
|
||||
|
Reference in New Issue
Block a user