[oXygen-user] Validating XML instance with a Schema which imports another Schema

Eric Jahn
Thu Apr 24 18:30:15 CDT 2008

Thanks for the help again.  That worked.  Quick response below.

On Thu, 2008-04-24 at 12:35 +0300, Sorin Ristache wrote:
> You have to add a schemaLocation attribute to the 
> xsd:import element:

I was afraid you were going to say that.  I had thought I could get away
with not specifying a schemaLocation, since it's the same place as the
imported namespace, so it looked redundant.  I also thought this because
schemaLocation is optional, and I thought this would be a situation
where it could be optional.  Instead it looks like the only time you can
skip specifying the schemaLocation is when the imported schema resides
in the same local directory as the current schema.  Oh well, I
learned.  :) -Eric

More information about the oXygen-user mailing list