1.1.1 > What version of Castor are you using ? > > 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 > >
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email