Hi Werner,

I was using the MappingTool to generate a mapping file from a class that had
been code-gen'd from a schema and noticed some interesting facets within the
mapping file.  First of all for a list / collection it normally defaults the
collection attribute to "array".  In looking at the generated code the field
is actually an ArrayList so according to the xml mapping documentation,
shouldn't that attribute read "arraylist" ?  Secondly on a different
occasion, the generated mapping file listed "enumerate" for the collection
attribute of the field.  Again looking at the xml mapping documentation I
can find no reference to "enumerate" as being a valid collection type.

So is enumerate a valid collection type?  How about array vs arraylist?  And
for the record let me just state how much I (and the rest of the castor
using world) appreciate the work that you all put into castor even with your
day jobs etc and if there are opportunities for us castor users to "give
back" i.e. update documentation, author / amend "how tos" please let us
know.

Cheers,

Bryan

Reply via email to