Debugging mimetype xml problems