I'm using Castor (v0.9.5.1) to read XML Schema and do stuff with it. :)
I'm experiencing a problem when I have this example:
<xs:complexType name="TKurilnaNaprava" abstract="true">
<xs:sequence>
<xs:element name="OznakaNaprave" type="xs:string" />
<xs:element name="Tip" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="TKurilnaNapravaTrdnaGoriva">
<xs:complexContent>
<xs:extension base="TKurilnaNaprava">
<xs:sequence>
<xs:element name="VrstaNaprave" type="xs:string"/>
<xs:element name="Opomba" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>I'm using SchemaReader to read this schema in. When I get elements from complexType TKurilnaNapravaTrdnaGoriva I only get VrstaNaprave and Opomba, but not Tip and OznakaNaprave too, since TKurilnaNapravaTrdnaGoriva extends from TKurilnaNaprava.
Is castor able to handle this types of schemas ? If it is then what am I doing wrong in my program? Can you send me a code that works ? :)))
Best regards, Kovi
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
