> > Note that there are 2 schemas and they reference each other via import. > > So here is my problem. When I load the schema "a" using > XMLSchemaLoader.loadGrammar(XMLInputSource), Xerces tells me that it cannot > resolve the types that are defined in schema "b". Likewise, if I try to load > schema "b" first, then Xerces cannot resolve types defined in schema "a". >
If you havent done it already, you should sent the entityResolver on the XMLSchemaLoader and then load one of the schemas. This is because the loader tries to make a unified model out of both the schemas and needs to be able to resolve the location of the second one. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]