Spike - Fix broken XML before parsing it.