whitespace tests and review

This commit is contained in:
Lee Thomason (grinliz) 2012-09-08 21:53:47 -07:00
parent 62d1c5a739
commit 0fa8299d99
1 changed files with 7 additions and 0 deletions

View File

@ -966,6 +966,13 @@ int main( int /*argc*/, const char ** /*argv*/ )
}
}
{
const char* xml = "<element> </element>";
XMLDocument doc( true, COLLAPSE_WHITESPACE );
doc.Parse( xml );
XMLTest( "Whitespace all space", true, 0 == doc.FirstChildElement()->FirstChild() );
}
// ----------- Performance tracking --------------
{
#if defined( _MSC_VER )