Hi,
I think there may be a bug. I followed the instructions you sent and it
serialized every object exception my enumeration. Here is the schema for the
enumeration
<xsd:simpleType name="Constants">
<xsd:restriction base="xsd:NCName">
<xsd:enumeration value="ConstantOne"/>
<xsd:enumeration value="ConstantTwo"/>
<xsd:enumeration value="ConstantThree"/>
</xsd:restriction>
</xsd:simpleType>
Chuck
-----Original Message-----
From: Ryan Shoemaker - JavaSoft East [mailto:Ryan.Shoemaker_at_Sun.COM]
Sent: Friday, March 21, 2003 5:29 PM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: Making generated classes serializable
Canning, Chuck wrote:
> Hi,
>
> I was wondering if there was anyway to make the classes serializable. I
have
> an enumerated type that I use as constants and I need to serialize them.
Is
> there any way to do this?
>
http://java.sun.com/webservices/docs/1.1/jaxb-1.0/vendor.html#serializable
--Ryan