diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2003-07-18 15:16:57 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2003-07-18 15:16:57 +0000 |
| commit | 409a8147c1b5784f6c860ec6de7d94fd59a130ce (patch) | |
| tree | a3c196ed429c0debaca5c257fe433eaaab0cd787 /include | |
| parent | 2dcb937a9ae59e9865a6957d40974db7a9033534 (diff) | |
| download | android_external_libxml2-409a8147c1b5784f6c860ec6de7d94fd59a130ce.tar.gz android_external_libxml2-409a8147c1b5784f6c860ec6de7d94fd59a130ce.tar.bz2 android_external_libxml2-409a8147c1b5784f6c860ec6de7d94fd59a130ce.zip | |
adding Get interface for the error callback and parameters of parsing and
* relaxng.c include/libxml/relaxng.h: adding Get interface for
the error callback and parameters of parsing and validation
contexts
* xmlreader.c: patch to fix bug #117702 about incomplete Read()
on text nodes.
Daniel
Diffstat (limited to 'include')
| -rw-r--r-- | include/libxml/relaxng.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libxml/relaxng.h b/include/libxml/relaxng.h index 46848cb8..929d0e64 100644 --- a/include/libxml/relaxng.h +++ b/include/libxml/relaxng.h @@ -88,6 +88,10 @@ void xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxtPtr ctxt, xmlRelaxNGValidityErrorFunc err, xmlRelaxNGValidityWarningFunc warn, void *ctx); +int xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc *err, + xmlRelaxNGValidityWarningFunc *warn, + void **ctx); xmlRelaxNGPtr xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt); void xmlRelaxNGFree (xmlRelaxNGPtr schema); void xmlRelaxNGDump (FILE *output, @@ -101,6 +105,10 @@ void xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxtPtr ctxt, xmlRelaxNGValidityErrorFunc err, xmlRelaxNGValidityWarningFunc warn, void *ctx); +int xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc *err, + xmlRelaxNGValidityWarningFunc *warn, + void **ctx); xmlRelaxNGValidCtxtPtr xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema); void xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt); int xmlRelaxNGValidateDoc (xmlRelaxNGValidCtxtPtr ctxt, |
