public String getName() {
return name; // Fot the time being
}
public ISchemaResolver resolve(String loc, String tns) throws IOException {
URIResolver resolver = collection.getXmlSchemaCollection().getSchemaResolver();
InputSource source = resolver.resolveEntity(tns, loc, id);
SchemaCollection schemaCol = new SchemaCollection();
schemaCol.setSchemaResolver(resolver);
XmlSchema read = schemaCol.getXmlSchemaCollection().read(source);