diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-07-24 11:44:23 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-07-24 11:44:23 +0800 |
commit | 57560386503be0fd023f3b7537fd496784f3be18 (patch) | |
tree | f75bd04d511c9e562943236d23e8b44bd5d20aad /include | |
parent | 747c2c1083f1e226a9707112bbdfca21def7ac3d (diff) | |
download | android_external_libxml2-57560386503be0fd023f3b7537fd496784f3be18.tar.gz android_external_libxml2-57560386503be0fd023f3b7537fd496784f3be18.tar.bz2 android_external_libxml2-57560386503be0fd023f3b7537fd496784f3be18.zip |
Cleanup URI module memory allocation code
* uri.c: cleanup the code doing the allocations, set up a structured
error handler to report memory errors, and set up an abitrary
limit on URI saving size
* error.c include/libxml/xmlerror.h: add a new FROM_URI indication
for structured error reporting, also adding strings for schematron
and buffer which were missing
Diffstat (limited to 'include')
-rw-r--r-- | include/libxml/xmlerror.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libxml/xmlerror.h b/include/libxml/xmlerror.h index 85caf52b..b2d78cd0 100644 --- a/include/libxml/xmlerror.h +++ b/include/libxml/xmlerror.h @@ -63,7 +63,8 @@ typedef enum { XML_FROM_MODULE, /* The dynamically loaded module module*/ XML_FROM_I18N, /* The module handling character conversion */ XML_FROM_SCHEMATRONV,/* The Schematron validator module */ - XML_FROM_BUFFER /* The buffers module */ + XML_FROM_BUFFER, /* The buffers module */ + XML_FROM_URI /* The URI module */ } xmlErrorDomain; /** |