Just a quick look at the XSD reveals that 'completion' should be a Collection within 
Step.java as is defined.

-PP

> -----Original Message-----
> From: Scott Schenksj [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 25, 2003 11:26 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] SourceGenerator not generating all classes...
> 
> 
> Hello All,
> 
> When I run the enclosed "xsd" through 
> builder.SourceGenerator,  I get the 
> following classes:
> 
> Workflow.java
> WorkflowDescriptor.java
> Step.java
> StepDescriptor.java
> 
> Which are dependent on "Completion", but I'm missing the 
> following source 
> files (and thus I can not compile)
> 
> Completion.java
> CompletionDescriptor.java
> 
> Does anyone know if there is an option I need to set to 
> generate ***all*** 
> the required classes, or is this a bug?
> 
> Thanks,
> 
> Scott
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns="http://www.w3.org/2001/XMLSchema";>
>       <xsd:element name="workflow">
>               <xsd:complexType>
>                       <xsd:sequence>
>                               <xsd:element name="identifier" 
> type="xsd:string"/>
>                               <xsd:element name="init-class" 
> type="xsd:string"/>
>                               <xsd:element name="first-step" 
> type="xsd:string"/>
>                               <xsd:element name="step" 
> maxOccurs="unbounded">
>                                       <xsd:complexType>
>                                               <xsd:sequence>
>                                                       
> <xsd:element name="completion" maxOccurs="unbounded"/>
>                                               </xsd:sequence>
>                                               <xsd:attribute 
> name="name" type="xsd:string"/>
>                                               <xsd:attribute 
> name="class" type="xsd:string"/>
>                                       </xsd:complexType>
>                               </xsd:element>
>                       </xsd:sequence>
>               </xsd:complexType>
>       </xsd:element>
> </xsd:schema>
> 
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> ----------------------------------------------------------- 
> 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

Reply via email to