Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81006

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".

$
0
0

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"/>


Viewing all articles
Browse latest Browse all 81006

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>