We are validating XML messages that do not contain a schema reference, using Java Xerces 2. We are using a 'master' schema that has include commands for all the subsidiary schemas and defining that as the default no-namespace schema.

At present this requires us to have the hierarchy of schema files located with the master schema. Ideally we would like to jar (or zip) all the schemas together and use that file. Does anyone know if/how Xerces can be told to use a jar/zip file to find the schemas?