Ok found! My xml files received doesn't have the "<?xml version="1.0" 
encoding="UTF-8"?>" description.

So without it, the detection is application/xml therefore it's 
application/xml-vast if present.

But I have a last question. It's possible to run the validation of an XML to 
reinforce the detection?

Thanks a lot for your help.

Yoyoma.

----- Mail original -----
De: [email protected]
À: [email protected]
Envoyé: Mercredi 11 Mai 2016 21:53:14
Objet: Re: XML Parser with type recognition

Already tested, but doesn't work, I have again application/xml content-type

Yoyoma.

Reply via email to