Add unit test for XMLDocument::Clear().
diff --git a/xmltest.cpp b/xmltest.cpp
index 64217f3..5f7cb30 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -1072,6 +1072,13 @@
 		XMLTest( "Set length of incoming data", doc.Error(), false );

 	}

 

+    {

+        XMLDocument doc;

+        doc.LoadFile( "resources/dream.xml" );

+        doc.Clear();

+        XMLTest( "Document Clear()'s", doc.NoChildren(), true );

+    }

+    

 	// ----------- Whitespace ------------

 	{

 		const char* xml = "<element>"