1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-10 08:58:16 +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:
Daniel Veillard 2003-10-27 14:54:49 +00:00
parent 1d75c8a822
commit 95d2d5b1cf
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 27 09:43:48 EST 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from #123105 about defaulted attributes
from element coming from an entity
Mon Oct 27 21:12:27 HKT 2003 William Brack <wbrack@mmm.com.hk>
* xmllint.c: fixed warning message from IRIX (bug 125182)

View File

@ -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);