users@jaxb.java.net

Re: Use of anyAttribute in a schema

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 25 Jul 2005 10:41:15 -0700

Dmitri Colebatch wrote:
>> On 7/22/05, Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_sun.com> wrote:
>> > Dmitri Colebatch wrote:
>> > > Michael - a word of warning though, there are a few gotchas in doing
>> > > what you're trying to do. You might want to search the bug archive
>> > > for soap issues. You actually need to modify the schema in order to
>> > > make it compile - see the archives for the discussion, its a major
>> > > flaw in JAXB 2.0 imho.
>> >
>> > Could you help me refresh my memory? What is the issue?
>> > I searched the archive with a few obvious keywords but I couldn't find
>> > any. Even just a subject line would be greatly appreciated.
>
> Its this bug: https://jaxb.dev.java.net/issues/show_bug.cgi?id=15
>
> Essentially its related to xjc not being able to compile the SOAP schema.

Thank you for the pointer. The sheer amount of comments in this issue
makes my head dizzy...

Looks like the issue has a few updates that somehow slipped our rader. I
will look into this, but I suspect an operator error induced by the
user-unfriendly nature of XML Schema. I think the following should work:

$ xjc xml.xsd soap.xsd

would work, but I'll check.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com