users@jaxb.java.net

Re: Typesafe enum - size limit?

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Sun, 1 Nov 2009 18:27:55 +0100

xjc version "JAXB 2.1.10" compiles > 256 <xs:enumeration> without
complaining.

What's your Schema code?

-W


On Sun, Nov 1, 2009 at 4:54 PM, ofira shaer <oshaer_at_gmail.com> wrote:

> Hi.
>
> I have defined a type safe enum of 255 members. When I add the 256's
> member, jaxb refuses to create the java code.
> Is there any limit on the enum size?
>
> Thanks.
> Ofira.
>