clean up the scope and names of the error code.
diff --git a/xmltest.cpp b/xmltest.cpp
index 477f271..3e41e13 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -1222,7 +1222,7 @@
 		XMLDocument doc;

 		XMLError error = doc.LoadFile( "resources/empty.xml" );

 		XMLTest( "Loading an empty file", XML_ERROR_EMPTY_DOCUMENT, error );

-		XMLTest( "Loading an empty file and ErrorName as string", "XML_ERROR_EMPTY_DOCUMENT", XMLUtil::ToErrorName(error) );

+		XMLTest( "Loading an empty file and ErrorName as string", "XML_ERROR_EMPTY_DOCUMENT", doc.ErrorName() );

 	}

 

 	{