1 #include "tinyxml.h" 2 3 // The goal of the seperate error file is to make the first 4 // step towards localization. tinyxml (currently) only supports 5 // latin-1, but at least the error messages could now be translated. 6 // 7 // It also cleans up the code a bit. 8 // 9 10 const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] = 11 { 12 "No error", 13 "Error", 14 "Failed to open file", 15 "Memory allocation failed.", 16 "Error parsing Element.", 17 "Failed to read Element name", 18 "Error reading Element value.", 19 "Error reading Attributes.", 20 "Error: empty tag.", 21 "Error reading end tag.", 22 "Error parsing Unknown.", 23 "Error parsing Comment.", 24 "Error parsing Declaration.", 25 "Error document empty." 26 }; 27