Hello,
I had a look at your schema. You have two element definitions for ‘AddressInfo’ within your schema.
1) Element defintion ‘abc’ contains a defintion for ‘AddressInfo’
2) Element defintion ‘abc.CompaniesRepresent.Company’ contains a defintion for ‘AddressInfo’.
X-Application does not support different element defintions with the same name within the schemas of an application.
You could rename the ‘AddressInfo’ elements into
‘AddressInfo2’ and ‘AddressInfo4’ depending on the maximal entries of ‘Address’ it can have.
I made this change within the attached TSD file. Please have a look at it because I defined also a ‘global’ Address element that is referenced by the two ‘AddressInfo’ definitions. Otherwise, you had the same ambiguity with ‘Address’.
Currently, I don’t know another workaround for you problem.
Bye,
Christian.
sample.xml (9.74 KB)
#Tamino#API-Management#webMethods