users@jaxb.java.net

Re: Root element with anyType

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 23 Oct 2003 14:40:27 -0700

> Now, for a quick question. If you declare a root element of type "anyType",
> the compiler gives the following error:
>
> [ERROR] delegation to the type "java.lang.Object" is specified but the type
> is not an interface.
>
> However, child elements of anyType work fine and use Object as their
> delegated type. Is this a bug, a consequence of the spec, just a difficult
> problem to solve...?

Seems like it is a bug. Could you file a bug for this?


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net