public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId,
String resolveBaseURI) {
EmbeddedSchema embeddedSchema = sources.get(namespaceURI);
if (embeddedSchema != null) {
return new DOMLSInputImpl(this.baseURI, embeddedSchema.getSystemId(), embeddedSchema
.getSchemaElement());
} else {
return null;
}
}