Re: [castor-dev] java binding for xsd:list

2003-02-11 Thread Xiaowen Wang
Dean: Here's the schema that of which the java src generated from castor maps xsd:list of int to java.util.ArrayList. Specifically, I defined rowIndices and colMarks as util:IntList type. The util:IntList is simply xsd:list of ItemType int and is defined in the second schema following. I passed -t

Re: [castor-dev] java binding for xsd:list

2003-02-10 Thread Dean Hiller
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 s

[castor-dev] java binding for xsd:list

2003-02-07 Thread Xiaowen Wang
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 ma

[castor-dev] java binding for xsd:list

2003-02-05 Thread Xiaowen Wang
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 ma