Reduction from Acid3 that was fixed by changing guess_mime_type_based_on_filename() to support xml extension.