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:
@ -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);
|
||||
|
Reference in New Issue
Block a user