Scott,

Have you tried defining the type attribute for the "Completion" element ?
eg. <xsd:element name="completion" type="xsd:string" maxOccurs="unbounded
"/>

Sire Chembiparambil




                                                                                       
                                                
                      "Scott Schenksj"                                                 
                                                
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]            
                                             
                      .com>                    cc:                                     
                                                
                                               Subject:  [castor-dev] SourceGenerator 
not generating all classes...                    
                      07/25/2003 01:55                                                 
                                                
                      PM                                                               
                                                
                      Please respond to                                                
                                                
                      castor-dev                                                       
                                                
                                                                                       
                                                
                                                                                       
                                                




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