Ben, j'avais regardé dans la liste des types mime sur ccm, et text/xml n'existe pas.
Je savais pas que text/plain était une généralité, j'ai même testé pour un fichier ph, ça me renvoi text/plain également.
J'ai regardé le fichier mime de php, et pour html, j'obtiens ces lignes:
0 string \<!DOCTYPE\ HTML text/html
0 string \<!doctype\ html text/html
0 string \<HEAD text/html
0 string \<head text/html
0 string \<TITLE text/html
0 string \<title text/html
0 string \<html text/html
0 string \<HTML text/html
C'est juste détecté de cette façon le type d'un fichier ?
Donc pour xml, je devrais rajouter une ligne de ce type ?
0 string \<?xml text/xml
Ce serait bon ?