Chameleon

Chameleon Commit Details

Date:2011-08-06 23:35:37 (9 years 3 months ago)
Author:Evan Lojewski
Commit:1314
Parents: 1313
Message:Temp hacks for xml parser
Changes:
M/branches/xZenu/src/modules/TinyXML/tinyxml.cpp
M/branches/xZenu/src/modules/TinyXML/include/tinyxml.h

File differences

branches/xZenu/src/modules/TinyXML/include/tinyxml.h
382382
383383
384384
385
385386
386387
387388
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 );
branches/xZenu/src/modules/TinyXML/tinyxml.cpp
12761276
12771277
12781278
1279
1279
1280
1281
1282
12801283
12811284
12821285
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 ());
}

Archive Download the corresponding diff file

Revision: 1314