users@jaxb.java.net

Re: Another bug on JAXB

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 27 May 2003 09:22:26 -0700

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