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
diff --git a/parser.c b/parser.c
index 21d1b89..bca57f8 100644
--- a/parser.c
+++ b/parser.c
@@ -11017,6 +11017,8 @@
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 @@
ctxt->sax = oldsax;
ctxt->dict = NULL;
+ ctxt->attsDefault = NULL;
+ ctxt->attsSpecial = NULL;
xmlFreeParserCtxt(ctxt);
if (newDoc != NULL)
xmlFreeDoc(newDoc);