handle minOccurrence > 1 (not entirely tested yet)