diff --git a/php/classes/FilesMgr.php b/php/classes/FilesMgr.php
index ae5b46d..265f72b 100644
--- a/php/classes/FilesMgr.php
+++ b/php/classes/FilesMgr.php
@@ -751,7 +751,7 @@ class FilesMgr extends AmdaObjectMgr
 			if (strpos($this->fileName,"cef.gz") !== false) return "cef";  
 		}
 
-		if (strpos($file_info[0],"application/xml") !== false)
+		if ((strpos($file_info[0],"application/xml") !== false) || (strpos($file_info[0],"text/xml") !== false))
 		{
 			//if ($this->getVotFileMgr()->isValidSchema()) //BRE : No schema validation for the moment due to some trouble with Topcat (it can create not valid VOTable)
 			return "vot";
--
libgit2 0.21.2