Title: Source Generator
Okay, i have a bunch of problems fixed, but am running into a different one now that people may be able to help me with.
 
This is the warning i get:
Warning: A class name generation conflict has occured between element 'complexType:ApprovalType/signature' and element '/defensiveTask/properties/validation/signature'. Please use a Binding file to solve this problem.
 
This is the code in the schema where it occurs:
 
'complexType:ApprovalType/signature' :
 
<xs:complexType name="ApprovalType">
  <xs:annotation>
   <xs:documentation>Complex Type containing document approval details</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name="approvalState" type="ApprovalStateEnum"/>
   <xs:element name="signature" type="SignatureType"/>
  </xs:sequence>
 </xs:complexType>
 
 
defensiveTask/properties/validation/signature':
 
<xs:element name="defensiveTask">
    <xs:complexType>
       <xs:sequence>
        <xs:element name="properties" minOccurs="0">
         <xs:complexType>
              <xs:sequence>
               <xs:element name="validation" minOccurs="0">
                   <xs:complexType>
                     <xs:sequence minOccurs="0">
                          <xs:element name="signature" type="SignatureType"/>
                     </xs:sequence>
                </xs:complexType>
           </xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
 
 
can someone help me use a binding file?
 


From: Andrew Fawcett [mailto:[EMAIL PROTECTED]
Sent: Friday, August 19, 2005 9:24 AM
To: [email protected]
Subject: RE: [castor-user] Source Generator

I think your missing the log4j-1.2.8.jar from your classpath.

 


From: Green, Jason M. [mailto:[EMAIL PROTECTED]
Sent: 19 August 2005 14:22
To: [email protected]
Subject: [castor-user] Source Generator

 

Aight, my attempt at the source generator yielded these errors:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at org.exolab.castor.util.Configuration.<clinit>(Configuration.java:105)

        at org.exolab.castor.builder.BuilderConfiguration.load(BuilderConfiguration.java:470)
        at org.exolab.castor.builder.BuilderConfiguration.getDefault(BuilderConfiguration.java:252)
        at org.exolab.castor.builder.BuilderConfiguration.<init>(BuilderConfiguration.java:238)
        at org.exolab.castor.builder.SourceGenerator.<init>(SourceGenerator.java:308)
        at org.exolab.castor.builder.SourceGenerator.<init>(SourceGenerator.java:297)
        at org.exolab.castor.builder.SourceGenerator.<init>(SourceGenerator.java:288)
        at org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:797)

I ran the example in castor with my xsd file, so I figured it would be cut and dry.  Any help?

Jason

 



CODA has a new world-class consolidation package.
Find out more about www.coda.com/ocra





The information in this message is confidential and may be legally privileged. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately.

Internet emails are not necessarily secure. CODA does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email may contain software viruses, which could damage your systems. CODA has checked the attachments for viruses before sending, but you should virus-check them before opening.

Reply via email to