[ http://jira.codehaus.org/browse/JIBX-39?page=history ] Dennis Sosnoski closed JIBX-39: -------------------------------
> remove simple collection wrapper objects > ---------------------------------------- > > Key: JIBX-39 > URL: http://jira.codehaus.org/browse/JIBX-39 > Project: JiBX > Type: Improvement > Components: xsd2jibx > Versions: xsd2jibx 0.1, xsd2jibx-beta0.2 > Reporter: Cameron Taggart > Assignee: Dennis Sosnoski > Priority: Minor > Fix For: 1.0-RC0 > > > Unnecessary objects get created in a common situation like this. It could be > simplified. Instead of having an object named "ArrayOfAccountInfo", an > actual array could be inserted in the location. > From a user: > <s:complexType name="ArrayOfAccountInfo"> > <s:sequence> > <s:element minOccurs="0" maxOccurs="unbounded" name="AccountInfo" > nillable="true" type="s1:AccountInfo" /> > </s:sequence> > </s:complexType> > this creates a separate class. I understand the why of this, but I'm > wondering if there's a better solution for this common type of schema > construct (like just sticking an array or ArrayList in directly at the point > of use, rather than a reference to this class which is just a holder for the > ArrayList). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
