mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
patch from Marcus Clarke fixing a problem in entities parsing that was
* parser.c: patch from Marcus Clarke fixing a problem in entities parsing that was detected in KDe documentations environment. Daniel
This commit is contained in:
2
parser.c
2
parser.c
@ -9820,7 +9820,7 @@ xmlParseBalancedChunkMemoryInternal(xmlParserCtxtPtr oldctxt,
|
||||
ctxt->myDoc = oldctxt->myDoc;
|
||||
content = ctxt->myDoc->children;
|
||||
}
|
||||
ctxt->myDoc->children = xmlNewDocNode(newDoc, NULL,
|
||||
ctxt->myDoc->children = xmlNewDocNode(ctxt->myDoc, NULL,
|
||||
BAD_CAST "pseudoroot", NULL);
|
||||
if (ctxt->myDoc->children == NULL) {
|
||||
ctxt->sax = oldsax;
|
||||
|
Reference in New Issue
Block a user