On 10-08 15:39, Keith Visco wrote: > Hi Sean, > > It might be easier to run the source generator without ant to help track > down the issue/bug. Just run the source generator from the command line > as such: > > java org.exolab.castor.builder.SourceGenerator -i my.xsd > > Hope that helps,
Thanks for your help. I was able to track down my problem area, and I was able to create a file that recreates this problem. It looks like there is a problem with unions? I'm searching about in the bug database to see if I can find an exact match and possibly a fix... -------------- <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="myElement"> <xs:complexType> <xs:attribute name="myAttr"> <xs:simpleType> <xs:restriction> <xs:simpleType> <xs:list> <xs:simpleType> <xs:union memberTypes="xs:string"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="foo"/> </xs:restriction> </xs:simpleType> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="bar"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> </xs:list> </xs:simpleType> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> </xs:schema> -- Sean LeBlanc:[EMAIL PROTECTED] ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

