Merge "[DF180327-00886] Add *.xml to the extension translation table" into tizen
[platform/framework/web/download-provider.git] / agent / download-agent-mime-util.c
index 71aaef2..34448d6 100755 (executable)
@@ -27,7 +27,7 @@
 #define IS_SPACE_CHARACTER(c)  ((c) == '\t')
 
 #define MAX_EXT_NAME_LEN 12
-#define MAX_EXT_TABLE_INDEX 17
+#define MAX_EXT_TABLE_INDEX 18
 Ext_translation_table ext_trans_table[MAX_EXT_TABLE_INDEX] = {
        {"*.xla",                       "*.xls"},
        {"*.pot",                       "*.ppt"},
@@ -46,6 +46,7 @@ Ext_translation_table ext_trans_table[MAX_EXT_TABLE_INDEX] = {
        {"*.mp2",                       "*.mpg"},
        {"*.divx",                      "*.avi"},//15
        {"*.jsm",                       "*.js"},
+       {"*.xsd",                       "*.xml"},
 };
 /* This is samsung mime policy
  * 1. if the mime is audio/m4a, the extension name is defined as "m4a" for launching music player