mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WI-1748 URI is not registered
This commit is contained in:
+1
-4
@@ -106,10 +106,7 @@ public class URLReference implements PsiReference, QuickFixProvider, EmptyResolv
|
||||
final XmlTag rootTag = document.getRootTag();
|
||||
|
||||
if (rootTag == null) {
|
||||
if (containingFile.getFileType() == StdFileTypes.DTD) {
|
||||
return ExternalResourceManager.getInstance().getResourceLocation(canonicalText, containingFile, null);
|
||||
}
|
||||
return null;
|
||||
return ExternalResourceManager.getInstance().getResourceLocation(canonicalText, containingFile, null);
|
||||
}
|
||||
final XmlNSDescriptor nsDescriptor = rootTag.getNSDescriptor(canonicalText, true);
|
||||
if (nsDescriptor != null) return nsDescriptor.getDescriptorFile();
|
||||
|
||||
Reference in New Issue
Block a user