commit | 6ee99fc344e12bf243bd6f71f627746b38d525e8 | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Sat Jan 21 18:45:16 2012 -0800 |
committer | Lee Thomason <leethomason@gmail.com> | Sat Jan 21 18:45:16 2012 -0800 |
tree | b141ea2c63bf7184db5bf5f3bee8a8ffe1297ccb | |
parent | e4422304e0bd27826e333be2dfe34953fbfd1f4a [diff] [blame] |
testing
diff --git a/xmltest.cpp b/xmltest.cpp index 3152ebd..a1d52a5 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -29,12 +29,13 @@ #endif { static const char* test[] = { //"<element />", - "<element></element>", + // "<element></element>", + "<element><subelement/></element>", 0 }; - for( const char* t=test[0]; *t; ++t ) { + for( int i=0; test[i]; ++i ) { XMLDocument doc; - doc.Parse( t ); + doc.Parse( test[i] ); doc.Print( stdout ); } }