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:
@@ -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
|
||||||
|
3
parser.c
3
parser.c
@@ -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;
|
||||||
|
Reference in New Issue
Block a user