*/
private static XSDElementDeclaration parseFeatureType(QName featureTypeName,
final URL schemaLocation, final Map<String, String> mappedURIs,
final boolean ignoreMissingElementDeclaration)
throws DataSourceException {
ApplicationSchemaConfiguration configuration;
{
String namespaceURI = featureTypeName.getNamespaceURI();
if(mappedURIs.containsKey(namespaceURI)) {
namespaceURI = mappedURIs.get(namespaceURI);
featureTypeName = new QName(namespaceURI, featureTypeName.getLocalPart());
}
String uri = schemaLocation.toExternalForm();
configuration = new ApplicationSchemaConfiguration(namespaceURI, uri);
}
SchemaIndex schemaIndex;
try {
schemaIndex = Schemas.findSchemas(configuration);
} catch (RuntimeException e) {