tinyxmlerror.cpp 687 B

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