This test case will result in the following build output, by running "ant anttask". Before running this, some jar files need to be placed into the "lib" directory (not saved this way to save space in the test case): * castor-anttask jar * castor-codegen jar * castor jar * xercesImpl.jar * commons-logging.jar I've tested this with the 20070305.203154-3 1.1.1 snapshot. ---------------- Buildfile: build.xml clean: generate-from-task: Created dir: C:\cygwin\home\u166705\work\castorbug2\gen\java Processing C:\cygwin\home\u166705\work\castorbug2\etc\x509schema.xsd Creating classes for: X509Data Mar 7, 2007 4:11:23 PM org.exolab.castor.builder.JClassRegistry bind WARNING: Binding JClass[wamu.xmlbinding.fc.prescreen.digsig.X509Data] for XML schema structure /X509Data[/complexType:X509DataType] Mar 7, 2007 4:11:23 PM org.exolab.castor.builder.JClassRegistry bind WARNING: resolving global element conflict for /X509Data[/complexType:X509DataType] Creating classes for: X509DataType Creating classes for: X509IssuerSerial Mar 7, 2007 4:11:23 PM org.exolab.castor.builder.JClassRegistry bind WARNING: Binding JClass[wamu.xmlbinding.fc.prescreen.digsig.X509IssuerSerial] for XML schema structure /complexType:X509DataType/X509IssuerSerial[/complexType:X509IssuerSerialType] Creating classes for: X509IssuerSerialType Mar 7, 2007 4:11:23 PM org.exolab.castor.builder.JClassRegistry bind WARNING: Binding JClass[wamu.xmlbinding.fc.prescreen.digsig.X509IssuerSerialType] for XML schema structure /complexType:X509IssuerSerialType Creating classes for: X509DataTypeChoice compile: Created dir: C:\cygwin\home\u166705\work\castorbug2\gen\classes Compiling 10 source files to C:\cygwin\home\u166705\work\castorbug2\gen\classes /home/u166705/work/castorbug2/gen/java/wamu/xmlbinding/fc/prescreen/digsig/descriptors/X509DataDescriptor.java:21: cannot resolve symbol symbol : class X509DataTypeDescriptor location: package descriptors public class X509DataDescriptor extends wamu.xmlbinding.fc.prescreen.digsig.descriptors.X509DataTypeDescriptor { ^ /home/u166705/work/castorbug2/gen/java/wamu/xmlbinding/fc/prescreen/digsig/X509Data.java:22: cannot resolve symbol symbol : class X509DataType location: class wamu.xmlbinding.fc.prescreen.digsig.X509Data public class X509Data extends X509DataType ^ /home/u166705/work/castorbug2/gen/java/wamu/xmlbinding/fc/prescreen/digsig/descriptors/X509DataDescriptor.java:60: cannot resolve symbol symbol : class X509DataTypeDescriptor location: package descriptors setExtendsWithoutFlatten(new wamu.xmlbinding.fc.prescreen.digsig.descriptors.X509DataTypeDescriptor()); ^ /home/u166705/work/castorbug2/gen/java/wamu/xmlbinding/fc/prescreen/digsig/descriptors/X509DataDescriptor.java:90: cannot resolve symbol symbol : variable super location: class wamu.xmlbinding.fc.prescreen.digsig.descriptors.X509DataDescriptor return super.getIdentity(); ^ 4 errors BUILD FAILED file:C:/cygwin/home/u166705/work/castorbug2/build.xml:53: Compile failed; see the compiler error output for details. Total time: 2 seconds ----------------