diff --git a/Testing/Utilities/CMakeLists.txt b/Testing/Utilities/CMakeLists.txt
index 60af30f912a38437d2db62ea9e899db014d4c359..c1d12c5697157d7018b67406834b962a19226756 100755
--- a/Testing/Utilities/CMakeLists.txt
+++ b/Testing/Utilities/CMakeLists.txt
@@ -52,6 +52,13 @@ ADD_TEST(utTuOssimElevManagerTest ${UTILITIES_TESTS}
         ossimElevManagerTest
         )
 
+IF(OTB_DATA_USE_LARGEINPUT)
+ADD_TEST(utTvOssimXmlDocumentTest ${UTILITIES_TESTS}
+        ossimXmlDocumentTest
+	${IMAGEDATA}/TERRASARX/TORONTO/TSX1_SAR__SSC/TSX1_SAR__SSC.xml
+        )
+ENDIF(OTB_DATA_USE_LARGEINPUT)
+
 # -------            lib otbsvm   ------------------------------
 
 ADD_TEST(utTuSvmKernelFunctorTest ${UTILITIES_TESTS}
@@ -433,6 +440,7 @@ SET(UtilitiesTests_SRCS
 ossimIntegrationTest.cxx
 ossimKeywordlistTest.cxx
 ossimElevManagerTest.cxx
+ossimXmlDocumentTest.cxx
 svmGenericKernelFunctor.cxx
 svmTest.cxx
 svmGenericKernelTest.cxx
diff --git a/Testing/Utilities/ossimXmlDocumentTest.cxx b/Testing/Utilities/ossimXmlDocumentTest.cxx
new file mode 100644
index 0000000000000000000000000000000000000000..de904f5ee4ee63594fa3f0b8838ef72e54a805d9
--- /dev/null
+++ b/Testing/Utilities/ossimXmlDocumentTest.cxx
@@ -0,0 +1,41 @@
+/*!
+ *
+ * OVERVIEW:
+ *
+ * Will reproject the input image to a utm projection.
+ *
+ * PURPOSE:
+ *
+ * Teach you how to create a renderer and set the view and connect it up to an input
+ *
+ */
+
+#include <iostream>
+#include <fstream>
+#include <cstdlib>
+
+#include "base/ossimXmlDocument.h"
+
+// this is the most important class and is called as the first line of all applications.
+// without this alll the important factories are not created.
+#include "init/ossimInit.h"
+
+int ossimXmlDocumentTest(int argc, char* argv[])
+{
+   ossimXmlDocument* xdoc = new ossimXmlDocument();
+   bool result = xdoc->openFile(argv[1]);
+   delete xdoc;
+
+   if(!result)
+   {
+        return EXIT_FAILURE;
+   }
+   else
+   {
+        return EXIT_SUCCESS;
+   }
+
+}
+
+
+
diff --git a/Testing/Utilities/otbUtilitiesTests.cxx b/Testing/Utilities/otbUtilitiesTests.cxx
index fc88d8c0bc50510d68071c847145e1aa691749c9..29e4e586b5945293bee6bf2f28a341d37ff0b4a7 100755
--- a/Testing/Utilities/otbUtilitiesTests.cxx
+++ b/Testing/Utilities/otbUtilitiesTests.cxx
@@ -29,6 +29,7 @@ void RegisterTests()
 REGISTER_TEST(ossimIntegrationTest);
 REGISTER_TEST(ossimKeywordlistTest);
 REGISTER_TEST(ossimElevManagerTest);
+REGISTER_TEST(ossimXmlDocumentTest);
 REGISTER_TEST(svmGenericKernelFunctor);
 REGISTER_TEST(svmTest);
 REGISTER_TEST(svmGenericKernelTest);