// file : xsde/cxx/parser/expat/xml-error.cxx // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #include namespace xsde { namespace cxx { namespace parser { namespace expat { static const char* const text_[] = { "character unrepresentable in application encoding" }; const char* xml_error_text (xml_error e) { return e < 0x10000 ? XML_ErrorString (static_cast (e)) : text_[e & 0xFFFF]; } } } } }