Commit 329456ab authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fix for xmlIOParseDTD same as previous and reported by Petr Pajas Daniel

* parser.c: fix for xmlIOParseDTD same as previous and reported
  by Petr Pajas
Daniel
parent c6abc3d8
Sat Apr 26 23:17:51 CEST 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: fix for xmlIOParseDTD same as previous and reported
by Petr Pajas
Sat Apr 26 15:26:04 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
* parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick
......
......@@ -9525,6 +9525,16 @@ xmlIOParseDTD(xmlSAXHandlerPtr sax, xmlParserInputBufferPtr input,
if (ctxt->wellFormed) {
ret = ctxt->myDoc->extSubset;
ctxt->myDoc->extSubset = NULL;
if (ret != NULL) {
xmlNodePtr tmp;
ret->doc = NULL;
tmp = ret->children;
while (tmp != NULL) {
tmp->doc = NULL;
tmp = tmp->next;
}
}
} else {
ret = NULL;
}
......
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