$search
00001 /*************************************************************************** 00002 tag: Peter Soetens do nov 2 13:06:02 CET 2006 tinyxmlerror.cpp 00003 00004 tinyxmlerror.cpp - description 00005 ------------------- 00006 begin : do november 02 2006 00007 copyright : (C) 2006 Peter Soetens 00008 email : peter.soetens@gmail.com 00009 00010 *************************************************************************** 00011 * This library is free software; you can redistribute it and/or * 00012 * modify it under the terms of the GNU General Public * 00013 * License as published by the Free Software Foundation; * 00014 * version 2 of the License. * 00015 * * 00016 * As a special exception, you may use this file as part of a free * 00017 * software library without restriction. Specifically, if other files * 00018 * instantiate templates or use macros or inline functions from this * 00019 * file, or you compile this file and link it with other files to * 00020 * produce an executable, this file does not by itself cause the * 00021 * resulting executable to be covered by the GNU General Public * 00022 * License. This exception does not however invalidate any other * 00023 * reasons why the executable file might be covered by the GNU General * 00024 * Public License. * 00025 * * 00026 * This library is distributed in the hope that it will be useful, * 00027 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00028 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00029 * Lesser General Public License for more details. * 00030 * * 00031 * You should have received a copy of the GNU General Public * 00032 * License along with this library; if not, write to the Free Software * 00033 * Foundation, Inc., 59 Temple Place, * 00034 * Suite 330, Boston, MA 02111-1307 USA * 00035 * * 00036 ***************************************************************************/ 00037 00038 00039 /* 00040 www.sourceforge.net/projects/tinyxml 00041 Original code (2.0 and earlier )copyright (c) 2000-2002 Lee Thomason (www.grinninglizard.com) 00042 00043 This software is provided 'as-is', without any express or implied 00044 warranty. In no event will the authors be held liable for any 00045 damages arising from the use of this software. 00046 00047 Permission is granted to anyone to use this software for any 00048 purpose, including commercial applications, and to alter it and 00049 redistribute it freely, subject to the following restrictions: 00050 00051 1. The origin of this software must not be misrepresented; you must 00052 not claim that you wrote the original software. If you use this 00053 software in a product, an acknowledgment in the product documentation 00054 would be appreciated but is not required. 00055 00056 2. Altered source versions must be plainly marked as such, and 00057 must not be misrepresented as being the original software. 00058 00059 3. This notice may not be removed or altered from any source 00060 distribution. 00061 */ 00062 00063 #include "tinyxml.h" 00064 00065 // The goal of the seperate error file is to make the first 00066 // step towards localization. tinyxml (currently) only supports 00067 // english error messages, but the could now be translated. 00068 // 00069 // It also cleans up the code a bit. 00070 // 00071 00072 namespace RTT { namespace marsh { 00073 00074 const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] = 00075 { 00076 "No error", 00077 "Error", 00078 "Failed to open file", 00079 "Memory allocation failed.", 00080 "Error parsing Element.", 00081 "Failed to read Element name", 00082 "Error reading Element value.", 00083 "Error reading Attributes.", 00084 "Error: empty tag.", 00085 "Error reading end tag.", 00086 "Error parsing Unknown.", 00087 "Error parsing Comment.", 00088 "Error parsing Declaration.", 00089 "Error document empty.", 00090 "Error null (0) or unexpected EOF found in input stream.", 00091 "Error parsing CDATA.", 00092 }; 00093 00094 }}