This commit is contained in:
Lee Thomason 2012-01-21 18:45:16 -08:00
parent e4422304e0
commit 6ee99fc344
2 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -29,12 +29,13 @@ int main( int argc, const char* argv )
#endif #endif
{ {
static const char* test[] = { //"<element />", static const char* test[] = { //"<element />",
"<element></element>", // "<element></element>",
"<element><subelement/></element>",
0 0
}; };
for( const char* t=test[0]; *t; ++t ) { for( int i=0; test[i]; ++i ) {
XMLDocument doc; XMLDocument doc;
doc.Parse( t ); doc.Parse( test[i] );
doc.Print( stdout ); doc.Print( stdout );
} }
} }