Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsandonato2012-09-24 20:07:22 +0000
committernsandonato2012-09-24 20:11:13 +0000
commit165f7ce19d05130e226adc0bca9733c4ccca263a (patch)
treed2a06d832335c5814b2cc476f04ef76b1102d101
parentd8b3815d8c2f60a0a1670dcce990aafb058b43ae (diff)
downloadwebtools.sourceediting-165f7ce19d05130e226adc0bca9733c4ccca263a.tar.gz
webtools.sourceediting-165f7ce19d05130e226adc0bca9733c4ccca263a.tar.xz
webtools.sourceediting-165f7ce19d05130e226adc0bca9733c4ccca263a.zip
XML validation is running for folders marked as derived
Signed-off-by: nsandonato <nsandonato>
-rw-r--r--bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/AbstractNestedValidator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/AbstractNestedValidator.java b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/AbstractNestedValidator.java
index 592143e253..7e71549205 100644
--- a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/AbstractNestedValidator.java
+++ b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/AbstractNestedValidator.java
@@ -67,7 +67,7 @@ public abstract class AbstractNestedValidator extends AbstractValidator implemen
IReporter reporter = result.getReporter(monitor);
IFile file = null;
if (resource instanceof IFile)file = (IFile)resource;
- if (file != null)
+ if (file != null && shouldValidate(file))
{
NestedValidatorContext nestedcontext = getNestedContext(state, false);
boolean teardownRequired = false;

Back to the top