commit | c127618bdb4b8414af5710a37e4db546cfa77aa9 | [log] [tgz] |
---|---|---|
author | Nick Sandonato <nsandonato> | Thu Aug 16 14:17:38 2012 -0400 |
committer | Nick Sandonato <nsandonato> | Thu Aug 16 14:18:17 2012 -0400 |
tree | b404d84af30af04225d7983b2b251dee72c8c9d2 | |
parent | 9aeae94a88028159e4d7e9460fc4caf02bf8f58e [diff] |
[387401] Validator Not Working
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java index c8863cb..f288b0d 100644 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java +++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java
@@ -223,11 +223,7 @@ if (basePath.segmentCount() > 1) { IPath path = ModuleCoreSupport.resolve(basePath, actualValue); IResource found = ResourcesPlugin.getWorkspace().getRoot().findMember(path); - if (found == null) { - rgnType = REGION_VALUE; - state = ErrorState.RESOURCE_NOT_FOUND; - } - else { + if (found != null) { dependencies.add(found); } }