mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
applied patch from #123105 about defaulted attributes from element coming
* parser.c: applied patch from #123105 about defaulted attributes from element coming from an entity Daniel
This commit is contained in:
4
parser.c
4
parser.c
@@ -11017,6 +11017,8 @@ xmlParseBalancedChunkMemoryInternal(xmlParserCtxtPtr oldctxt,
|
||||
ctxt->loadsubset |= XML_SKIP_IDS;
|
||||
}
|
||||
ctxt->dictNames = oldctxt->dictNames;
|
||||
ctxt->attsDefault = oldctxt->attsDefault;
|
||||
ctxt->attsSpecial = oldctxt->attsSpecial;
|
||||
|
||||
xmlParseContent(ctxt);
|
||||
if ((RAW == '<') && (NXT(1) == '/')) {
|
||||
@@ -11066,6 +11068,8 @@ xmlParseBalancedChunkMemoryInternal(xmlParserCtxtPtr oldctxt,
|
||||
|
||||
ctxt->sax = oldsax;
|
||||
ctxt->dict = NULL;
|
||||
ctxt->attsDefault = NULL;
|
||||
ctxt->attsSpecial = NULL;
|
||||
xmlFreeParserCtxt(ctxt);
|
||||
if (newDoc != NULL)
|
||||
xmlFreeDoc(newDoc);
|
||||
|
Reference in New Issue
Block a user