find and repair source of xml import inconsistencies (mismatched CASE)