Sure. Two things, though.
First, as I was testing a simple example schema, it seemed to work (or at
least not throw an error). So I compiled my actual schema alone and it
worked then too. However, when compiled with all the other schemas at once,
the problem crops up. Interestingly, it creates an
org.w3._2001.xmlschema.AnyType class (and others) instead of using
java.lang.Object. Any thoughts on this? Anyway, I'm trying to narrow down
what triggers the problem accurately before posting the bug.
Second, I think the Bug Database needs to have the version drop-down entries
updated for 1.0.2 (and maybe the rest of the new JWSDP components). This
may be already on the list of to-do's, but I figured I would let you know.
Thanks,
Brian
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Thursday, October 23, 2003 5:40 PM
To: users_at_jaxb.dev.java.net
Subject: Re: Root element with anyType
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net