Hi, just tried this against SVN trunk, and the generated code compiles without any problems for me. If you wanted, there's a very recent snapshot release available at
http://snapshots.repository.codehaus.org/org/codehaus/castor/ where you could grab the required JARs for 1.1M3 and check yourself. Regards Werner Never Anybody wrote: > I looked in the open issues but could not find anything - sorry if its > there. > > The following schema in 1.1M2 with default settings will produce code > that does not compile due to some syntactical class naming problems. > This worked in pre 1.1 versions and seems related to the new descriptor > directory structure. > > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> > <xs:complexType name="A"> > <xs:sequence> > <xs:element ref="C"/> > </xs:sequence> > </xs:complexType> > <xs:element name="C"/> > <xs:complexType name="B"> > <xs:complexContent> > <xs:extension base="A"/> > </xs:complexContent> > </xs:complexType> > </xs:schema> > > > ------------------------------------------------------------------------ > Now that's room service! Choose from over 150,000 hotels > in 45,000 destinations on Yahoo! Travel > <http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw-- >> to find your fit. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

