users@jaxb.java.net

Schema creation: telling JAXB a schema has already been generated

From: Enrico Boldrini <boldra_at_gmail.com>
Date: Wed, 13 Feb 2008 13:29:53 +0100

Hello,

I have written a schema ("SCHEMA A") and generated the corresponding classes
("CLASSES A1,A2"). Then I created a jar of the classes and published the
schema, all o.k..
Now I am writing a new class ("CLASS B") which has a field of type "CLASS
A1". I would like to generate the schema "SCHEMA B" from "CLASS B" and would
like the schema to import the definitions from "SCHEMA A" without having to
regenerate them. Is it possible?

Thanks in advance, great work!

Enrico Boldrini