Testing generalization for many formats, fix for XML parsing