users@jaxb.java.net

Re: Polymorphism and Code generation

From: Ingrid_Furnzel <ingrid_furnzel_at_gmx.de>
Date: Tue, 13 Jan 2009 01:18:54 -0800 (PST)

Ingrid_Furnzel wrote:
>
> Hi,
>
>
> <xsd:complexType name="x">
> <xsd:choice maxOccurs="1" minOccurs="1">
> <xsd:element name="d" type="d"/>
> <xsd:element name="e" type="e"/>
> <xsd:element name="c" type="c"/>
> </xsd:choice>
> </xsd:complexType>
>
> I would expect that the code generation delivers only one variable
> representing the base type. Unfortunately, the generator generates three
> variables representing the concrete subtype. What must be changed in the
> schema?
>
> Regards
> Ingrid
>
>

-- 
View this message in context: http://www.nabble.com/Polymorphism-and-Code-generation-tp21051962p21431899.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.