1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

tried to fix an error problem on entity content failure reported by

* parser.c: tried to fix an error problem on entity content failure
  reported by Michael Day
Daniel

svn path=/trunk/; revision=3613
This commit is contained in:
Daniel Veillard
2007-05-02 16:50:03 +00:00
parent c51f51c9c2
commit 1ca1be2ad5
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
Wed May 2 18:47:33 CEST 2007 Daniel Veillard <daniel@veillard.com>
* parser.c: tried to fix an error problem on entity content failure
reported by Michael Day
Wed May 2 18:23:35 CEST 2007 Daniel Veillard <daniel@veillard.com> Wed May 2 18:23:35 CEST 2007 Daniel Veillard <daniel@veillard.com>
* configure.in: typo patch from Bjorn Reese * configure.in: typo patch from Bjorn Reese

View File

@@ -6097,7 +6097,8 @@ xmlParseReference(xmlParserCtxtPtr ctxt) {
} }
} else if ((ret != XML_ERR_OK) && } else if ((ret != XML_ERR_OK) &&
(ret != XML_WAR_UNDECLARED_ENTITY)) { (ret != XML_WAR_UNDECLARED_ENTITY)) {
xmlFatalErr(ctxt, ret, NULL); xmlFatalErrMsgStr(ctxt, XML_ERR_UNDECLARED_ENTITY,
"Entity '%s' failed to parse\n", ent->name);
} else if (list != NULL) { } else if (list != NULL) {
xmlFreeNodeList(list); xmlFreeNodeList(list);
list = NULL; list = NULL;