Export mapping -> map automatically does not create correct named entities when 2 subelements have same type. Due to that each of the below example throws following error in compile time at the mapping of second string element "source". It uses same association for both elements and same entity.
Error: The selected entity 'DialogBuilder11.String' is already used in one of the other specializations of 'DialogBuilder11.ChoiceBase'. Export object mapping element 'source' Export mapping 'dialogexportmapping' DialogBuilder1_1
Example: <xs:complextype name="grammarType"> <xs:choice minoccurs="0" maxoccurs="unbounded"> <xs:element name="item" type="xs:string" minoccurs="0" maxoccurs="unbounded"/> <xs:element name="source" type="xs:string" minoccurs="0" maxoccurs="unbounded"/>