From e74b9c4999bce0f0ea3f496eeebbeff8c68a8dee Mon Sep 17 00:00:00 2001 From: Maxim Mossienko Date: Mon, 14 Mar 2005 20:55:50 +0300 Subject: [PATCH] supporting ignored resource in schema location --- .../codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java b/source/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java index 076528d0d47f..d4f6ebccc3a9 100644 --- a/source/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java +++ b/source/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java @@ -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(); }