XmlFile (@NotNull @NonNls String namespace, @NotNull PsiFile baseFile) { final PsiDirectory directory = baseFile.getParent(); final Module module = ModuleUtilCore.findModuleForPsiElement(directory == null ? baseFile : directory); return findSchema(namespace, module, baseFile); }