/* */
/* 178 */ InputSource tmpSrc = resolver.resolveEntity(null, url.toExternalForm());
/* 179 */ InputStream in = tmpSrc.getByteStream() != null ? tmpSrc.getByteStream() : new ResourceURL(url).openStream();
/* 180 */ inputSource.setByteStream(in);
/* */
/* 182 */ SchemaGrammar grammar = (SchemaGrammar)loader.loadGrammar(inputSource);
/* 183 */ if (grammar == null) {
/* 184 */ throw new IllegalStateException("Cannot load grammar: " + url);
/* */ }
/* 186 */ gs[(index++)] = grammar;
/* */ }