users@jaxb.java.net

Re: marshalling problem

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 23 Oct 2003 11:49:33 -0700

I agree with your analysis. Better yet, define your schema as:

        <xsd:element name="a">
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="b" type="bType" maxOccurs="unbounded" minOccurs="0"/>
                        </xsd:sequence>
                </xsd:complexType>
        </xsd:element>

To get rid of AType.B altogether.


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net