Fix to generated xml