diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-10-10 14:10:40 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-10-10 14:10:40 +0000 |
commit | 659e71ec2476d24bfca0d6432a69ef9a49a62be4 (patch) | |
tree | 25c3a793c2d31b4d6c355cb439af0c8362698619 /catalog.c | |
parent | d96cce1abe2cd10f10074e07c56520fbbba9f3ef (diff) | |
download | libxml2-659e71ec2476d24bfca0d6432a69ef9a49a62be4.tar.gz |
Setting up the framework for structured error reporting, touches a lot of
* HTMLparser.c c14n.c catalog.c error.c globals.c parser.c
parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c
xmlschemas.c xpath.c xpointer.c include/libxml/globals.h
include/libxml/parser.h include/libxml/valid.h
include/libxml/xmlerror.h: Setting up the framework for structured
error reporting, touches a lot of modules, but little code now
the error handling trail has been cleaned up.
Daniel
Diffstat (limited to 'catalog.c')
-rw-r--r-- | catalog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -197,7 +197,7 @@ static int xmlCatalogInitialized = 0; static void xmlCatalogErrMemory(const char *extra) { - __xmlRaiseError(NULL, NULL, NULL, NULL, XML_FROM_CATALOG, + __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_CATALOG, XML_ERR_NO_MEMORY, XML_ERR_ERROR, NULL, 0, extra, NULL, NULL, 0, 0, "Memory allocation failed : %s\n", extra); @@ -217,7 +217,7 @@ xmlCatalogErr(xmlCatalogEntryPtr catal, xmlNodePtr node, int error, const char *msg, const xmlChar *str1, const xmlChar *str2, const xmlChar *str3) { - __xmlRaiseError(NULL, NULL, catal, node, XML_FROM_CATALOG, + __xmlRaiseError(NULL, NULL, NULL, catal, node, XML_FROM_CATALOG, error, XML_ERR_ERROR, NULL, 0, (const char *) str1, (const char *) str2, (const char *) str3, 0, 0, |