Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mapping of optional elements from one schema to another - not quite right ?

89418Jul 5 2006 — edited Oct 30 2007
Hi,

If I use the mapping tool to map between schemas I get what I believe to be incorrect handling of optional elements.

I know there are many ways to handle optinality. In my case I have elements which are minOccurs="0" and would expect those elements to be omited from any transformation if they're not present in the source xml.

e.g, if element SURNAME is minOccurs="0" and is not present in the source XML, the default mapping is to generate an empty tag, <SURNAME/>, rather than missing it out.

Is there a way to change the behaviour of the mapping tool ?

R
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2007
Added on Jul 5 2006
3 comments
507 views