external/tinyxml 2_4_3

Change-Id: Ie9d890a04285fc5b0dc3b1d7dad44c3d097808a8
diff --git a/tinyxmlparser.cpp b/tinyxmlparser.cpp
index 67d0a9e..9a77ebc 100644
--- a/tinyxmlparser.cpp
+++ b/tinyxmlparser.cpp
@@ -27,6 +27,14 @@
 #include <stddef.h>
 
 //#define DEBUG_PARSER
+#if defined( DEBUG_PARSER )
+#	if defined( DEBUG ) && defined( _MSC_VER )
+#		include <windows.h>
+#		define TIXML_LOG OutputDebugString
+#	else
+#		define TIXML_LOG printf
+#	endif
+#endif
 
 // Note tha "PutString" hardcodes the same list. This
 // is less flexible than it appears. Changing the entries
@@ -1116,7 +1124,7 @@
 			}
 
 			// Handle the strange case of double attributes:
-			TiXmlAttribute* node = attributeSet.Find( attrib->Name() );
+			TiXmlAttribute* node = attributeSet.Find( attrib->NameTStr() );
 			if ( node )
 			{
 				node->SetValue( attrib->Value() );