Fixed XML normalization