Fixed: LoadFile() returns XML_NO_ERROR for empty documents.
diff --git a/xmltest.cpp b/xmltest.cpp
index 2e056d1..231328e 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -1158,6 +1158,13 @@
 	}

 

 

+	{

+		XMLDocument doc;

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

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

+	}

+

+

 	// ----------- Performance tracking --------------

 	{

 #if defined( _MSC_VER )