users@jaxb.java.net

Re: Extending JAXB

From: Malachi de AElfweald <malachi_at_EOTI.ORG>
Date: Wed, 12 Mar 2003 10:55:33 -0700

On Wed, 12 Mar 2003 06:10:29 -0700, David Halonen <david.halonen_at_COMPUWARE.COM> wrote:
>Given these constraints, I would like to know of its possible to extend the PO examples in the following manner:
>The PO implementation classes extend BaseClassOne.
>The PO schema uses a general purpose class USAddress.
>
>Create another schema to support Customer Orders, whereby:
>The CO implementation classes extend BaseClassTwo.
>The CO schema uses the general purpose class USAddress.

Is it possible to create a Address.xsd, a Purchase.xsd and Customer.xsd -- and have Purchase and Customer both reference Address in it... would that cause the desired behavior?

Malachi