Hi Naaliel, I think there is some confusion, you carn't directly import .xsd files in Java.
You must use the Castor Source Generator against your .xsd files to create Java classes. If you have an <xsd:element> / <xsd:complexType> named "OzoneClass", you will see the OzoneClass.java and OzoneClassDescriptor.java files. Trying running the Castor Source Generator, if you have any problems please post back. Cheers, Andy. -----Original Message----- From: naaliel mendes [mailto:[EMAIL PROTECTED] Sent: 28 April 2005 05:36 To: [email protected] Subject: [castor-user] XSD Files Hi, I have a java routine with the following specification: MyClass.java OzoneClassDescriptor descriptor = CDHelper.xml2Descriptor( args[argCount] ); But, the "OzoneClassDescriptor" is a xsd file and not a class. So, I dont know how to consider this structure in the import section. For while, i always see error when the xsd file is considered. Well, the OzoneClassDescriptor.xds and MyClass.java are in the same package. Thanks, Naaliel __________________________________________________ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ 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.

