cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Min And max occurance in Mapping

Former Member
0 Kudos

In mapping if source element has one element and if there are 3 occurrences for target element, what might have happened?

a) At Sender set Minoccurs = 3.

b) At sender set maxoccurs = 3.

c) Receiver set minoccurs = 3.

d) Receiver set maxoccurs = 3.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

At field level, there will not be any error in any case because the minOccur and maxOccur validations are not performed in XI

If u r saying about the occurrence of nodes, then based on mapping, each target node will get same value as the source node.

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Doesn't matter. If source XML has one element lets say EMAIL and in DT you set maxOcc = 3, it has no affect.

Now you will map this field = EMAIL to traget field lets say MyEmail...Now EMAIL occur one time..so MyEMAIL will also occur one time..not 3 Times. because MyEmail Occurance will depends on the occurance of source Email Field.

Thanks

Farooq.

Edited by: Farooq Farooqui on Jul 16, 2008 2:54 PM

Edited by: Farooq Farooqui on Jul 16, 2008 2:54 PM

pradeep_nellore
Participant
0 Kudos

At reciever set max occur = 3

If u know it may or may not occurs min occur = 0.

Thanks

--Pradeep