Ok, well, as soon as I'm able to file an issue I'll create one and upload my test case.
> -----Original Message----- > From: Werner Guttmann [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 22, 2007 1:13 PM > To: [email protected] > Subject: Re: [castor-user] Castor 1.1.1 snapshot doesn't > generate list types > > Looks like a bug to me, and as far as I remember, there's > quite some bugs to be found related to list types. They have > been one my list of to dos for quiet some time, but I think > now's the time to have a second look. > > Werner > > Karr, David wrote: > > Before I file a bug for this, I'll describe what I'm seeing here. > > > > My schema is as follows: > > > > -------------------- > > <?xml version="1.0" encoding="UTF-8"?> <xs:schema > > xmlns:xs="http://www.w3.org/2001/XMLSchema" > > targetNamespace="http://schemas.wamu.com/ListBug" > > xmlns="http://schemas.wamu.com/ListBug" > > elementFormDefault="qualified"> > > <xs:element name="choices"> > > <xs:complexType> > > <xs:sequence> > > <xs:element minOccurs="0" maxOccurs="unbounded" > > ref="weightedChoice"/> > > </xs:sequence> > > </xs:complexType> > > </xs:element> > > <xs:element name="weightedChoice"> > > <xs:complexType> > > <xs:attribute name="text" use="required" type="xs:string"/> > > </xs:complexType> > > </xs:element> > > </xs:schema> > > -------------------- > > > > In Castor 0.9.6, I would get a "Choices.java" that defines the > > following (along with accessors): > > > > /** > > * Field _weightedChoiceList > > */ > > private java.util.ArrayList _weightedChoiceList; > > > > In Castor 1.1.1 (snapshot 20070221.201903-3), I only get this: > > > > /** > > * Field _weightedChoice. > > */ > > private wamu.xmlbinding.listbug.WeightedChoice _weightedChoice; > > > > Am I doing something wrong, or is this a bug? > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

