allow local files in schema importer
if nsid is nil, find the type in the xmlns namespace