Thanks for the sample.
Would you be able to update the JAXB guide @
https://jaxb.dev.java.net/guide/, which users frequently refer to.
thanks,
Rama Pulavarthi
John Sisson wrote:
>
> Hello
>
> The documentation for applying scd to jaxb customization is not
> helpful especially for the
>
> case of external customization files.
>
>
>
> I have attached an example that may be a candidate for inclusion in
> the samples section of
>
> JAXB-RI. This sample shows how to setup and use scd for an external
> customization file. It
>
> should be unpacked into samples.
>
>
>
> There are two schemas, MyBase and MyExtended and two bindings for
> each; a JXB style and an
>
> SCD style. The build script creates classes for both and assembles
> a jar and test suite
>
> that allows testing both. Of course the results should be
> identical. The build script may
>
> be edited to pick MyBase or MyExtended; it is delivered for MyExtended.
>
>
>
> Note that the scd customization allows you to reach into the
> imported schema which (as far
>
> as I can tell from my work) you cannot do with the jxb style of
> customization. This means
>
> that it is reasonable to extend and customize a third-party schema
> using scd.
>
>
>
> Note that the scd specifications for addressing the schema are
> derived from use of the great
>
> mhscd tool; the jars for this are supplied in the sample. This
> project is pending a new
>
> release of mhscd, so keep tabs on
> 'http://www.mathling.com/xsd/scds.html'.
>
>
>
> Thanx
>
> John Sisson
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>