Hi Ken,

you might want to use the CVS version of Castor that handles
this kind of schemas.
Castor 0.9.3 does not handle those.

Arnaud

-----Original Message-----
From: Ringeman, Ken [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 2:02 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Source Generator


Today I downloaded Castor and tried the Source
Generator on a schema I had available and it had
a problem with a circular reference. Here are the two
elements:

<xsd:element name = "Levels">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element ref = "Level" minOccurs = "0" maxOccurs = "unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>

<xsd:element name = "Level">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element name = "Code" type = "xsd:string"/>
            <xsd:element name = "Description" type = "xsd:string"/>
            <xsd:element name = "FuelType" type = "xsd:boolean" minOccurs =
"0"/>
            <xsd:element ref = "InventoryLevels" minOccurs = "0"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>

The Source Generator had a Stack Overflow Error.
Can you tell me if Castor should handle this type of
schema? If not, how can I accomplish this in another
way.

Thanks
______________________________
Ken Ringeman

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

Reply via email to