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

Reply via email to