whitespace tests and review
diff --git a/xmltest.cpp b/xmltest.cpp
index 3144384..3e7c123 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -965,6 +965,13 @@
 			XMLTest( "Whitespace collapse", "This is ' text '", parent->GetText() );

 		}

 	}

+

+	{

+		const char* xml = "<element>    </element>";

+		XMLDocument doc( true, COLLAPSE_WHITESPACE );

+		doc.Parse( xml );

+		XMLTest( "Whitespace  all space", true, 0 == doc.FirstChildElement()->FirstChild() );

+	}

 	

 	// ----------- Performance tracking --------------

 	{