Looks like you're using an older version of Castor.
Can you upgrade to 0.9.3.19 Thanks, --Keith Jenny Linfoot wrote: > > I get the following error when I run the attached schema through Castor. > It appears to be complaining about the elements within the <choice> tag. > Any ideas? > > Creating classes for element: utilProvisionLogicalProduct > Creating classes for element: productCode > Creating classes for element: periodic > Creating classes for element: quotaed > Creating classes for group: null > cannot create classes for unnamed nested groups > > <?xml version="1.0" encoding="UTF-8"?> > <xs:schema targetNamespace="http://xxx" xmlns:WMQIServices="http://xxx" > xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:commonElements= > "http://yyy" elementFormDefault="qualified" attributeFormDefault= > "unqualified"> > > <xs:element name="utilProvisionLogicalProduct"> > <xs:complexType> > <xs:sequence> > > <xs:element name="productCode" type="xs:string"/> > <xs:choice> > <xs:element name="periodic" type="xs:string" > /> > <xs:element name="quotaed" type="xs:string"/> > </xs:choice> > > </xs:sequence> > </xs:complexType> > </xs:element> > > </xs:schema> > > Thanks in advance. > > Jenny Linfoot > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
