and the same fix in the test case

This commit is contained in:
Lee Thomason
2018-04-05 15:57:48 -07:00
parent befc3c3ae7
commit e2d02e1623

View File

@@ -2036,7 +2036,7 @@ int main( int argc, const char ** argv )
for (int i=0; TESTS[i]; ++i) { for (int i=0; TESTS[i]; ++i) {
XMLDocument doc; XMLDocument doc;
doc.LoadFile(TESTS[i]); doc.LoadFile(TESTS[i]);
XMLTest("Stack overflow prevented.", XMLError::XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID()); XMLTest("Stack overflow prevented.", XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID());
} }
} }
{ {