add simple test for not-crashing
diff --git a/xmltest.cpp b/xmltest.cpp
index 56b6c82..d3508ab 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -1329,6 +1329,14 @@
 		doc.Print();

 	}

 

+	{

+		// Test that it doesn't crash.

+		const char* xml = "<?xml version=\"1.0\"?><root><sample><field0><1</field0><field1>2</field1></sample></root>";
+		XMLDocument doc;
+		doc.Parse(xml);
+		doc.PrintError();
+	}

+

 #if 1

 		// the question being explored is what kind of print to use: 

 		// https://github.com/leethomason/tinyxml2/issues/63