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

a bit of cleanup updated with the new result strings Daniel

* error.c xmlschemas.c: a bit of cleanup
* result/schemas/*.err: updated with the new result strings
Daniel
This commit is contained in:
Daniel Veillard
2003-10-10 10:52:58 +00:00
parent 40c22b472b
commit 87db3a84f9
29 changed files with 47 additions and 38 deletions

View File

@ -263,7 +263,7 @@ xmlSchemaVErr3(xmlSchemaValidCtxtPtr ctxt, xmlNodePtr node, int error,
}
/* reajust to global error numbers */
error += XML_SCHEMAV_NOROOT - XML_SCHEMAS_ERR_NOROOT;
__xmlRaiseError(channel, data, ctxt, node, XML_FROM_SCHEMASP,
__xmlRaiseError(channel, data, ctxt, node, XML_FROM_SCHEMASV,
error, XML_ERR_ERROR, NULL, 0,
(const char *) str1, (const char *) str2,
(const char *) str3, 0, 0,
@ -295,7 +295,7 @@ xmlSchemaVErr(xmlSchemaValidCtxtPtr ctxt, xmlNodePtr node, int error,
}
/* reajust to global error numbers */
error += XML_SCHEMAV_NOROOT - XML_SCHEMAS_ERR_NOROOT;
__xmlRaiseError(channel, data, ctxt, node, XML_FROM_SCHEMASP,
__xmlRaiseError(channel, data, ctxt, node, XML_FROM_SCHEMASV,
error, XML_ERR_ERROR, NULL, 0,
(const char *) str1, (const char *) str2, NULL, 0, 0,
msg, str1, str2);