finally have the placement new working as desired.
diff --git a/xmltest.cpp b/xmltest.cpp
index 5df3feb..bef0216 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -61,5 +61,11 @@
 		root->InsertEndChild( newElement );

 		doc.Print();

 	}

+	{

+		XMLDocument* doc = new XMLDocument();

+		static const char* test = "<element><sub/></element>";

+		doc->Parse( test );

+		delete doc;

+	}

 	return 0;

 }
\ No newline at end of file