Using mmmagic to detect mime type when loading data via url. Only accept application/xml