users@jaxb.java.net

Re: Duplicate nested element

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 31 Aug 2004 15:34:53 -0700

Interesting. I never knew that the following Java code is illegal:

    class Test {
        class Test {}
    }

I think the work around is to use <jaxb:class> customization and rename
one of those TemplateTags to another class name.

The samples bundled with the RI should show you how to do this.


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net