Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/JIBX-39

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JIBX-39
    Summary: remove simple collection wrapper objects
       Type: Improvement

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: JiBX
 Components: 
             xsd2jibx
   Versions:
             xsd2jibx 0.2
             xsd2jibx 0.1

   Assignee: Cameron Taggart
   Reporter: Cameron Taggart

    Created: Sat, 14 Aug 2004 3:22 AM
    Updated: Sat, 14 Aug 2004 3:22 AM

Description:
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).


---------------------------------------------------------------------
JIRA INFORMATION:
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.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jibx-devs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to