if(validationSchemaOptional.isEmpty()){// not found
if(debug){
System.out.println("RESOURCE_RESOLVER: --> No entry in schemacatalog found for "+nameSpaceUri+"!");
}
resultHandle.info("RESOURCE_RESOLVER: --> No entry in schemacatalog found for "+nameSpace+"!");
returnnewDOMInputImpl(null,null,null);// disabled
}
DOMInputImpldomInput=newDOMInputImpl();
if(debug){
System.out.println("RESOURCE_RESOLVER: --> Found entry in schemacatalog for "+nameSpaceUri+", mapping to "+validationSchemaOptional.get().schemaURI+" !");
resultHandle.debug("RESOURCE_RESOLVER: --> Found entry in schemacatalog for "+nameSpace);
/* if schemauri is local AND basename(SystemID) in dirname(schemaURI) exists
than map to this. This is needed because
a) METS by Library of congress uses own xlink implementatuin
b) MATHML3 uses includes of XSD to same namespaces