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:
@ -1,3 +1,8 @@
|
|||||||
|
Sat Apr 26 15:26:04 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick
|
||||||
|
closing #111638
|
||||||
|
|
||||||
Sat Apr 26 14:00:58 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
Sat Apr 26 14:00:58 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* python/generator.py: fixed a problem in the generator where
|
* python/generator.py: fixed a problem in the generator where
|
||||||
|
2
parser.c
2
parser.c
@ -9578,7 +9578,7 @@ xmlSAXParseDTD(xmlSAXHandlerPtr sax, const xmlChar *ExternalID,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if ((ctxt->sax != NULL) && (ctxt->sax->resolveEntity != NULL))
|
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 (input == NULL) {
|
||||||
if (sax != NULL) ctxt->sax = NULL;
|
if (sax != NULL) ctxt->sax = NULL;
|
||||||
xmlFreeParserCtxt(ctxt);
|
xmlFreeParserCtxt(ctxt);
|
||||||
|
Reference in New Issue
Block a user