Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1.1
-
Component/s: XML code generator
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
I'm really using the 1.1.1 snapshot (20070221.201903-3), not 1.1.
I have a simple schema with an element that defines a sequence of another element, which in 0.9.6 properly generated an ArrayList object. In this version, it just generates a single instance. I can't find a workaround for this, and I can't continue my work until this is resolved.
Issue Links
- relates to
-
CASTOR-1923
[XML Source generation] "ChosenChoice" element name for a list does not generate list based class
-
David, if you rename 'weightedChoice' to 'weightedChioce', the code generated will meet your expactations. It looks like code has been added to deal with a class generated as a result of a <xs:choice> definition, and by default such classes will have a suffix appended named 'Choice'. It seems like you have two choices hewre:
a) rename that element name (if that's an option at all).
b( Use a binding file to 'rename' the name of the member generated.