Merge pull request #601 from Dmitry-Me/testErrorIdAfterParse

Test ErrorID after Parse()
diff --git a/xmltest.cpp b/xmltest.cpp
index 2047962..757ad29 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -881,7 +881,8 @@
 	// ---------- XMLPrinter stream mode ------

 	{

 		{

-			FILE* printerfp = fopen("resources/printer.xml", "w");

+			FILE* printerfp = fopen("resources/out/printer.xml", "w");

+			XMLTest("Open printer.xml", true, printerfp != 0);

 			XMLPrinter printer(printerfp);

 			printer.OpenElement("foo");

 			printer.PushAttribute("attrib-text", "text");

@@ -895,7 +896,7 @@
 		}

 		{

 			XMLDocument doc;

-			doc.LoadFile("resources/printer.xml");

+			doc.LoadFile("resources/out/printer.xml");

 			XMLTest("XMLPrinter Stream mode: load", XML_SUCCESS, doc.ErrorID(), true);

 

 			const XMLDocument& cdoc = doc;