users@jaxb.java.net

Re: xjc superClass

From: John Tracy <junk_at_valenciasystems.com>
Date: Thu, 14 Aug 2003 12:48:43 -0400

I moved the vendor extension into the schema file and it worked. Thanks.

----- Original Message -----
From: "Kohsuke Kawaguchi" <Kohsuke.Kawaguchi_at_Sun.COM>
To: <users_at_jaxb.dev.java.net>
Sent: Thursday, August 14, 2003 11:55 AM
Subject: Re: xjc superClass


>
> I think there's a bug in JAXB 1.0.2 that prevents you from using vendor
> extensions in external binding files. So I'm afraid I have to ask you to
> move the vendor extension inside the schema.
>
> Since in your case you are just using a global customization. You can
> write a dummy schema:
>
> <schema ...>
> <annotation><appinfo>
> <jaxb:globalBindings ..>
> <xjc:superClass ... />
> </
> </
> </
>
> And compile this with all your other schemas. You can keep other
> customizations in your extenal binding file. That's OK.
>
>
> We've fixed this problem internally, so the next version should be OK.
>
> 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