summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsandonato2012-09-24 16:07:22 (EDT)
committer nsandonato2012-09-24 16:11:13 (EDT)
commit165f7ce19d05130e226adc0bca9733c4ccca263a (patch)
treed2a06d832335c5814b2cc476f04ef76b1102d101
parentd8b3815d8c2f60a0a1670dcce990aafb058b43ae (diff)
downloadwebtools.sourceediting-165f7ce19d05130e226adc0bca9733c4ccca263a.zip
webtools.sourceediting-165f7ce19d05130e226adc0bca9733c4ccca263a.tar.gz
webtools.sourceediting-165f7ce19d05130e226adc0bca9733c4ccca263a.tar.bz2
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 592143e..7e71549 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;