diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-07-13 23:07:49 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-07-13 23:07:49 +0000 |
commit | da0aa4cfdbd9b71e01bc452c95d044bbe66e1b5a (patch) | |
tree | 5ee33b648f2be4054990cbaefb9f0a05c2ff8d15 /error.c | |
parent | 358fef4b1e6721fc9fb6c48a25fbac85cd222d34 (diff) | |
download | libxml2-da0aa4cfdbd9b71e01bc452c95d044bbe66e1b5a.tar.gz |
applied patch from Marcus Boerger to route relaxng and schemas error
* error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h
include/libxml/xmlschemas.h: applied patch from Marcus Boerger
to route relaxng and schemas error messages when using the reader
through the structured interface if activated.
* elfgcchack.h doc/* testapi.c: rebuilt since this add new APIs
to test.
Daniel
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -595,8 +595,10 @@ __xmlRaiseError(xmlStructuredErrorFunc schannel, schannel = xmlStructuredError; else channel = xmlGenericError; + if (!data) { data = xmlGenericErrorContext; } + } if (schannel != NULL) { schannel(data, to); return; |