From c6abc3d85f132b91a54a36437f59ada5ea664950 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sat, 26 Apr 2003 13:27:30 +0000 Subject: [PATCH] applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638 * parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638 Daniel --- ChangeLog | 5 +++++ parser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0af76b33..437eaa27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Apr 26 15:26:04 CEST 2003 Daniel Veillard + + * parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick + closing #111638 + Sat Apr 26 14:00:58 CEST 2003 Daniel Veillard * python/generator.py: fixed a problem in the generator where diff --git a/parser.c b/parser.c index 19e4313d..80a6187e 100644 --- a/parser.c +++ b/parser.c @@ -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);