#include "tinyxml2.h" #include #include using namespace tinyxml2; int main( int argc, const char* argv ) { #if 0 { static const char* test = ""; XMLDocument doc; doc.Parse( test ); doc.Print( stdout ); } { static const char* test = ""; XMLDocument doc; doc.Parse( test ); doc.Print( stdout ); } #endif { static const char* test[] = { //"", "", 0 }; for( const char* t=test[0]; *t; ++t ) { XMLDocument doc; doc.Parse( t ); doc.Print( stdout ); } } return 0; }