1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixing bug 118559

This commit is contained in:
William M. Brack
2003-07-31 14:47:38 +00:00
parent 97e018861b
commit 78637da0ea
12 changed files with 82 additions and 40 deletions

View File

@ -350,7 +350,6 @@ xmlParserValidityError(void *ctx, const char *msg, ...)
char * str;
int len = xmlStrlen((const xmlChar *) msg);
static int had_info = 0;
int need_context = 0;
if ((len > 1) && (msg[len - 2] != ':')) {
if (ctxt != NULL) {
@ -363,7 +362,6 @@ xmlParserValidityError(void *ctx, const char *msg, ...)
}
}
xmlGenericError(xmlGenericErrorContext, "validity error: ");
need_context = 1;
had_info = 0;
} else {
had_info = 1;