users@jaxb.java.net

Re: Generating to different packages throgh inclusion

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 17 Mar 2003 08:48:10 -0800

> I then validated both schemas again using XMLSpy, and
> recompiled only to receive a new error:

Let me emphasize it once again: don't trust XMLSpy when it comes to
schema correctness check. AFAIK, it misses some of important errors in
your schema.


This is just one of those cases where XMLSpy misses errors. You are
"importing" another schema, which implies the the schema being imported
needs to govern a different namespace URI than the importing schema.

But in your example both schemas govern the same empty namespace.

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com