aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-07-24 11:44:23 +0800
committerDaniel Veillard <veillard@redhat.com>2012-07-24 11:44:23 +0800
commit57560386503be0fd023f3b7537fd496784f3be18 (patch)
treef75bd04d511c9e562943236d23e8b44bd5d20aad /include
parent747c2c1083f1e226a9707112bbdfca21def7ac3d (diff)
downloadandroid_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.h3
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;
/**