schemaLoader.setFeature("http://apache.org/xml/features/honour-all-schemaLocations", true);
LoggingXmlErrorHandler eh = new LoggingXmlErrorHandler(__log);
schemaLoader.setErrorHandler(eh);
XSModel model = schemaLoader.load(input);
// The following mess is due to XMLSchemaLoaders funkyness in error
// reporting: sometimes it throws an exception, sometime it returns
// null, sometimes it just prints bs to the screen.
if (model == null) {