Robert Greig wrote:
> "[ERROR] Two declarations cause a collision in the ObjectFactory class."
>
> Is the error message essentially the same as the "Property "Foo" is already
> defined." message?
Yes. Kind of. Now it's two classes.
> I can see a workaround but I am trying to understand whether the issue is a
> dodgy schema that is being highlighted by stricter validation in JAXB 2.1 or
> some other problem.
I'm curious why this didn't cause a problem in 2.0. Maybe 2.0 failed to
detect this as an error? Or is this a bug in
2.1?
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com