diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-07 13:50:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-07 13:50:11 +0200 |
commit | 76d23e639004517db8f9469d64ac1789f8449365 (patch) | |
tree | dbafc8c4e31a97f74046c98af19d0fe76f360001 /libxsde/xsde/cxx/parser/expat/xml-error.hxx | |
parent | c30caae30bc64974eeaa1e81aa2abdc203f5120d (diff) |
Add support for ISO-8859-1 as application encoding
New runtime configuration parameter, XSDE_ENCODING. New option,
--char-encoding. New test, tests/cxx/hybrid/iso8859-1.
Diffstat (limited to 'libxsde/xsde/cxx/parser/expat/xml-error.hxx')
-rw-r--r-- | libxsde/xsde/cxx/parser/expat/xml-error.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libxsde/xsde/cxx/parser/expat/xml-error.hxx b/libxsde/xsde/cxx/parser/expat/xml-error.hxx index 6e28687..5871b48 100644 --- a/libxsde/xsde/cxx/parser/expat/xml-error.hxx +++ b/libxsde/xsde/cxx/parser/expat/xml-error.hxx @@ -8,6 +8,11 @@ #include <xsde/c/expat/expat.h> +enum XML_Error_Ex +{ + XML_ERROR_UNREPRESENTABLE = 0x10000 +}; + namespace xsde { namespace cxx @@ -16,7 +21,10 @@ namespace xsde { namespace expat { - typedef XML_Error xml_error; + // The xml_error type can hold values from XML_Error and + // XML_Error_Ex enums. + // + typedef unsigned int xml_error; const char* xml_error_text (xml_error); |