// Lookup resolver if needed
if (this.resolver == null) {
try {
this.resolver = (SourceResolver)this.manager.lookup( SourceResolver.ROLE );
} catch (ComponentException ce) {
throw new SourceException("Unable to lookup source resolver.", ce);
}
}
// Remove the protocol and the first '/'
int pos = location.indexOf(":/");