Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/tinyxml/tinyxmlerror.cc @ 4336

Last change on this file since 4336 was 4261, checked in by bensch, 20 years ago

orxonox/trunk: merged the levelLoader-branche back into the trunk, because it seems to be stable.
merged with command:
svn merge -r 4230:HEAD levelLoader ../trunk
no conflicts of any interesst

File size: 1.7 KB
Line 
1/*
2www.sourceforge.net/projects/tinyxml
3Original code (2.0 and earlier )copyright (c) 2000-2002 Lee Thomason (www.grinninglizard.com)
4
5This software is provided 'as-is', without any express or implied
6warranty. In no event will the authors be held liable for any
7damages arising from the use of this software.
8
9Permission is granted to anyone to use this software for any
10purpose, including commercial applications, and to alter it and
11redistribute it freely, subject to the following restrictions:
12
131. The origin of this software must not be misrepresented; you must
14not claim that you wrote the original software. If you use this
15software in a product, an acknowledgment in the product documentation
16would be appreciated but is not required.
17
182. Altered source versions must be plainly marked as such, and
19must not be misrepresented as being the original software.
20
213. This notice may not be removed or altered from any source
22distribution.
23*/
24
25#include "tinyxml.h"
26
27// The goal of the seperate error file is to make the first
28// step towards localization. tinyxml (currently) only supports
29// latin-1, but at least the error messages could now be translated.
30//
31// It also cleans up the code a bit.
32//
33
34const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
35{
36        "No error",
37        "Error",
38        "Failed to open file",
39        "Memory allocation failed.",
40        "Error parsing Element.",
41        "Failed to read Element name",
42        "Error reading Element value.",
43        "Error reading Attributes.",
44        "Error: empty tag.",
45        "Error reading end tag.",
46        "Error parsing Unknown.",
47        "Error parsing Comment.",
48        "Error parsing Declaration.",
49        "Error document empty.",
50        "Error null (0) or unexpected EOF found in input stream.",
51};
Note: See TracBrowser for help on using the repository browser.