users@jaxb.java.net

Re: xjc:serializable in external binding file

From: Ed Mooney <Ed.Mooney_at_sun.com>
Date: Tue, 08 Jul 2003 07:48:58 -0400

Hi Steve,

Kohsuke's suggesting you apply an XSLT stylesheet to your schema to
incorporate in-line those customizations not being recognized in your
external binding file. This requires you to tweek the stylesheet if your
customizations change, but lets you keep your schema read-only.

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Steve Maring wrote:
> I too am attempting to use the xjc serializable extension in an external binding file and have encountered the same issue.
>
> Could somebody elaborate on the workaround noted below?
>
> Cheers.
> Steve Maring
>
>
>
>>I confirmed the problem. Sorry about the inconvenience. It seems to me
>>that XJC ignores any vendor extension in the external binding file.
>
>
>>As a workaround, you could define a transformation that adds the xjc:***
>>customization to the schema before compilation.
>
>
>>You can keep the rest of the customization in the external binding file.
>