your xsd:list is being mapped to an ArrayList? Can you send me your schema? Mine is being mapped to a Vector and what is worse, is that unmarshalling and marshalling does not work so I need to fix it, but keep getting side tracked by other issues.
thanks,
Dean

Xiaowen Wang wrote:

Hi:
In my schema, there're some elements of xsd:list simpleType with the
itemType of xsd:int. For the src gen, I used -types j2. These xsd:list
elements are then mapped to java.util.ArrayList and the generated src
also provide list traversal through Enumeration.
I'm wondering 1) whether I can map these xsd:list into int[] instead of
ArrayList; 2) if not, can I at least let the src gen provide Iterator
instead of Enumeration for the traversal?

Thanks
XW

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev


----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to