users@jaxb.java.net

Re: include|import> problems again!

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 02 May 2003 09:23:08 -0700

> Another easy-to-fix bug I guess is for abstract complex types. Xjc refuses
> derived elements from such complex types. I would think that you just need
> to generate an interface but maybe I'm wrong?

I think this issue has been discussed before, so you might want to
search the archives.

In a nutshell, when you define an element decl that refers to an abstract
type, that must mean that you are using type substitution or element
substitution. JAXB RI 1.0 doesn't support neither, so that's why it
refuses to compile.

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com