supporting ignored resource in schema location

This commit is contained in:
Maxim Mossienko
2005-03-14 20:55:50 +03:00
parent ae1bdf0131
commit e74b9c4999
@@ -592,10 +592,11 @@ public class XmlHighlightVisitor extends PsiElementVisitor implements Validator.
XmlFile file = null;
while(tokenizer.hasMoreElements()) {
tokenizer.nextToken(); // skip namespace
String namespace = tokenizer.nextToken(); // skip namespace
if (!tokenizer.hasMoreElements()) return;
String url = tokenizer.nextToken();
if(ExternalResourceManagerEx.getInstanceEx().isIgnoredResource(namespace)) continue;
if (file == null) {
file = (XmlFile)attribute.getContainingFile();
}