> 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