Community
Participate
Working Groups
Build Identifier: I20110428-0848 Try to generate classes from the attached XML by selecting "New -> JAXB -> JAXB Classes from Schema" and giving a package name like fooGen when asked, you will see a redundant empty package fooGen.Foo1 will be generated under the JAXB Content. This happens when defining an element in Foo1 like <xsd:element name="foo2s" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="foo2" type="foo2" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> PS: In Java class, the corresponding element would be defined like @XmlElementWrapper(name="foo2s") private List<Foo2> foo2; Reproducible: Always
Created attachment 195144 [details] XML Schema
This is most likely a problem with the JAXB XJC and not Dali code. Tran, please confirm.
Nan I cannot reproduce this issue, please reopen if it is still a problem for you.
I can reproduce it with the build of I20110428-0848 with which the bug was found and the build of I20110512-2000, but cannot with the build of I20110525-0800.