Test ErrorID after Parse()
diff --git a/xmltest.cpp b/xmltest.cpp
index af0fd7c..2047962 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -1996,10 +1996,11 @@
             void TestParseError(const char *testString, const char *docStr, XMLError expected_error, int expectedLine)

             {

                 XMLDocument doc;

-                XMLError err = doc.Parse(docStr);

+                const XMLError parseError = doc.Parse(docStr);

 

+                XMLTest(testString, parseError, doc.ErrorID());

                 XMLTest(testString, true, doc.Error());

-                XMLTest(testString, expected_error, err);

+                XMLTest(testString, expected_error, parseError);

                 XMLTest(testString, expectedLine, doc.GetErrorLineNum());

             };