Dmitri Colebatch wrote:
> Hi,
>
> Thanks for the response. I'm interested in 2.0, we're currently using
> the jaxb-ri-20050407 download. Was this fixed after that release? I
> assume it was as the attached schema doesn't generate anything I can
> see to use for the Test element when I call xjc test.xsd.
I tried the attached schema with the current HEAD and it generated the
enum class. I'm afraid it's not very easy to find out when we made the
changes.
> Do I need to add command line parameters? Or is it simply a case of I
> need a newer version. I'm assuming the latter as I cant see anything
> that looks relevant in the xjc output.
There's no command-line parameter. I suspect that you just need to use a
newer version.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com