Hi, I have a simpleType defined in a foo.xsd file.
<xsd:schema targetNamespace="http://www.xyz.com/foo" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <simpleType name="IDType"> <restriction base="string"/> </simpleType> When I run Source Generator on this file, no classes are generated for this simple type. Now I have another foo1.xsd file which uses this simple type. I have imported the first xsd into this xsd. <xsd:schema targetNamespace="http://www.xyz.com/foo1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:foo="http://www.xyz.com/foo" > <xsd:import namespace="http://www.xyz.com/foo"; schemaLocation="foo.xsd" /> <complexType name="someType" abstract="true"> <attribute name="UserID" type="foo:IDType" use="required"/> </complexType> When I run SourceGenerator on this file, I get an error message, saying that Exception in thread "main" java.lang.IllegalArgumentException: getSimpleType: the simple type 'IDType' is not a built-in type as defined in XML Schema specification. How can I convince SourceGenerator to generate a class for the this SimpleType? Thanks, Pratibha ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
