users@jaxb.java.net

Re: Another bug on JAXB

From: Laura Ferguson <allenderl_at_acm.org>
Date: Tue, 27 May 2003 13:04:34 -0400

One other work around, if you don't need validate with JAXB than you can
ignore this problem for now. Marshalling and unmarshalling work fine
despite this problem.

Laura Ferguson

At 09:22 AM 5/27/2003 -0700, you wrote:
>Jorge Medina <jmedina_at_on.com> wrote:
> >
> > I'm getting the error:
> > unexpected attribute "guid"
> >
> > when using the schema below.
> >
> > There is a definition used as a "supertype" (FilesetType) and two other
> > types are based on it: "RulesetType" and "EnumsetType"
> > But both require the guid attribute, since the attributed is defined in the
> > "supertype".
>
>I'm afraid this is a bug in the JAXB RI 1.0. The bad news is, I'm not
>aware of any workaround except to modify the schema and move the
>attribute decl to each derived complex type.
>
>The good news is, we've already fixed this bug for the next release, and
>it will be available "soon".
>
>regards,
>--
>Kohsuke KAWAGUCHI 408-276-7063 (x17063)
>Sun Microsystems kohsuke.kawaguchi_at_sun.com