I am using SourceGenerator to generate classes for an XSD that declares an element named "field". The classes are generated but a compile error occurs in the generated FieldDescriptor class because it is importing another class named FieldDescriptor from the org.exolab.castor.mapping package. This behavior can be replicated using the SourceGenerator example provided in the Castor distribution -- just change the name of the "address" element to "field" in invoice.xsd and invoice1.xml. I have found that by simply commenting out the offending import statement I can compile the generated source, but I'm looking for a cleaner fix. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
