That's strange, I am not seeing this. I have tried the Schema you provide using a stub .xsd for the "auth" namespace and I get the expected results: only two generated files in the output directory (ActiveDirectoryAuthentication.java and ActiveDirectoryAuthenticationDocument.java) each of them containing the methods corresponding to their respective properties.
Empty Java files (size 0 bytes) doesn't sound right, are you sure it's not some kind of I/O error involved? Also, when you say "despite it already existing in the classpath" what exactly is the set-up? Radu -----Original Message----- From: Marius Gleeson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 3:16 PM To: [EMAIL PROTECTED] Subject: inheriting from an existing schema creates empty .java files I have the following schema <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ad="http://str.com.au/superadmin/authentication/activedirectory/sc hema" targetNamespace="http://str.com.au/superadmin/authentication/activedirec tory/schema" elementFormDefault="qualified" xmlns:auth="http://str.com.au/superadmin/authentication/schema" blockDefault="substitution" version="2.0"> <xs:import namespace="http://str.com.au/superadmin/authentication/schema" /> <xs:complexType name="ActiveDirectoryAuthentication"> <xs:complexContent> <xs:extension base="auth:LdapAuthentication"> <xs:attribute name="domain" default="localhost" type="xs:string"/> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="activeDirectoryAuthentication" type="ad:ActiveDirectoryAuthentication" substitutionGroup="auth:service"/> </xs:schema> The "http://str.com.au/superadmin/authentication/schema" namespace has been defined and compiled in another module. When I run the build over this ( I am keeping the generated java files ), xmlbeans generates empty java for ActiveDirectoryAuthentication and ActiveDirectoryAuthenticationDocument and empty java documents for their implementation. It also creates all the java source for the imported namespace depsite it already existing in the classpath. Any ideas? Thanks Marius Gleeson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]