users@jaxb.java.net

Re: Two declarations cause a collision in the ObjectFactory class (jaxb2.0)

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 10 Aug 2005 12:20:50 -0700

Kohsuke Kawaguchi wrote:
> My apologies. It's a failed to fix to bug 6305224.
>
> Fixing this as we speak ...

Sorry, no, this isn't a failed fix. Looks like this schema is
problematic indeed. It's defining all sorts of elements that only differ
in upper/lower cases.

>> It seems as if the declaration of "graphStyle" and "GraphStyle" as
>> element-names cause the problem. Is there a way to solve this problem
>> without changing the schemas?

Good question. I suppose one way is to put <jaxb:class> for some of
those elements, but I can't think of any other way.

I'll forward this to Joe and let's see what he has to say about this...


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com