1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638

* parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick
  closing #111638
Daniel
This commit is contained in:
Daniel Veillard
2003-04-26 13:27:30 +00:00
parent 2b32e6f34c
commit c6abc3d85f
2 changed files with 6 additions and 1 deletions

View File

@ -9578,7 +9578,7 @@ xmlSAXParseDTD(xmlSAXHandlerPtr sax, const xmlChar *ExternalID,
*/
if ((ctxt->sax != NULL) && (ctxt->sax->resolveEntity != NULL))
input = ctxt->sax->resolveEntity(ctxt->userData, ExternalID, SystemID);
input = ctxt->sax->resolveEntity(ctxt, ExternalID, SystemID);
if (input == NULL) {
if (sax != NULL) ctxt->sax = NULL;
xmlFreeParserCtxt(ctxt);