users@jaxb.java.net

Re: JAXB annotated class to include external schema

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Tue, 26 Aug 2008 07:27:13 +0200

On Tue, Aug 26, 2008 at 6:23 AM, Alex Wibowo <alexwibowo_at_gmail.com> wrote:


> I cant see how the generated schema (AFIDMS.xsd) can include the external
> schema (Types.xsd). i.e.
> ---------------------------------------------------------------
> <xsd:include schemaLocation="../../../common/Types.xsd"/>
> ---------------------------------------------------------

Why woukd you want to have this xsd:include? XML data can use definitions
from two or more XML schemata on separate files.