XML generated from a XSD with a "CHOICE" element has empty subnodes (Doc ID 1028486.1)

Last updated on NOVEMBER 04, 2013

Applies to:

Sun Integrated Composite Application Network (ICAN) - Version 5.0.3 and later
Information in this document applies to any platform.
Information in this document applies to any platform.
***Checked for relevance on 04-Nov-2013***

Symptoms

You have an XSD that has a node under which there is a choice element that contains several subnodes. When the XML is generated from the XSD OTD from the Java collab, all subnodes in the choice element are there but empty. The expected behaivor is that the XML should contain ONLY ONE subbnode.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms