Vallamshettla, Anand wrote:
> Let me take this opportunity to congratulate JAXB team & contributors
> for successful release of JAXB 2.0; Great job.
Thank you!
> I was successful in upgrading our system from JAXB 1 to JAXB 2 except a
> minor problem. I was able to compile schemas using JAXB 1 and was able
> to parse documents successfully. Same schemas are not getting compiled
> properly with JAXB2; JAXB2 is complaining about duplicate elements as
> indicated below.
Hmm. I suspect the following might work for you:
http://weblogs.java.net/blog/kohsuke/archive/2006/03/simple_and_bett.html
Otherwise check out
http://weblogs.java.net/blog/kohsuke/archive/2005/05/compiling_mathm_1.html
for how to fix this issue.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com