boolean (final String s, Project project) { final boolean surelyUrl = HtmlUtil.hasHtmlPrefix(s) || s.startsWith(URN); if (surelyUrl) return true; int protocolIndex = s.indexOf(":/"); if (protocolIndex > 1 && !s.regionMatches(0, "classpath", 0, protocolIndex)) return true; return !s.equals(ExternalResourceManager.getInstance().getResourceLocation(s, project)); }