Index: branches/xZenu/src/modules/TinyXML/include/tinyxml.h =================================================================== --- branches/xZenu/src/modules/TinyXML/include/tinyxml.h (revision 1313) +++ branches/xZenu/src/modules/TinyXML/include/tinyxml.h (revision 1314) @@ -382,6 +382,7 @@ static int IsAlphaNum( unsigned char anyByte, TiXmlEncoding encoding ); inline static int ToLower( int v, TiXmlEncoding encoding ) { + #define tolower(c) (((c)>='A' && c<='Z')?((c) | 0x20):(c)) if ( encoding == TIXML_ENCODING_UTF8 ) { if ( v < 128 ) return tolower( v ); Index: branches/xZenu/src/modules/TinyXML/tinyxml.cpp =================================================================== --- branches/xZenu/src/modules/TinyXML/tinyxml.cpp (revision 1313) +++ branches/xZenu/src/modules/TinyXML/tinyxml.cpp (revision 1314) @@ -1276,7 +1276,10 @@ double TiXmlAttribute::DoubleValue() const { - return atof (value.c_str ()); + double val = 0; + sscanf(value.c_str (), "%f", &val); + return val; + //return atof (value.c_str ()); }