Well, an enum-type class should simply not have a public constructor. Are you getting any exceptions ? Or how does the problem manifest itself, iima ?
Werner [EMAIL PROTECTED] wrote: > Hi, > This simple schema produces a type object with a private constructor > that cannot be unmarshalled. How to fix? > > <xs:simpleType name="outputType"> > > <xs:restriction base="xs:string"> > > <xs:enumeration value="OWL"/> > > <xs:enumeration value="ILM"/> > > <xs:enumeration value="both"/> > > </xs:restriction> > > </xs:simpleType> > > ---------- > > //----------------/ > //- Constructors -/ > //----------------/ > > private OutputType(final int type, final java.lang.String value) { > super(); > this.type = type; > this.stringValue = value; > } > > > Thanks for help on this critical problem! > > Darren > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email