File: tinyxmlerror.cpp

package info (click to toggle)
lame 3.100-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 7,368 kB
  • sloc: ansic: 33,554; cpp: 8,221; sh: 5,127; makefile: 472; pascal: 215; perl: 33; xml: 13
file content (26 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "tinyxml.h"

// The goal of the seperate error file is to make the first
// step towards localization. tinyxml (currently) only supports
// latin-1, but at least the error messages could now be translated.
//
// It also cleans up the code a bit.
//

const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
{
	"No error",
	"Error",
	"Failed to open file",
	"Memory allocation failed.",
	"Error parsing Element.",
	"Failed to read Element name",
	"Error reading Element value.",
	"Error reading Attributes.",
	"Error: empty tag.",
	"Error reading end tag.",
	"Error parsing Unknown.",
	"Error parsing Comment.",
	"Error parsing Declaration.",
	"Error document empty."
};