fix minoccurs=0 repeat