diff options
author | jeffliu | 2006-08-09 15:26:20 +0000 |
---|---|---|
committer | jeffliu | 2006-08-09 15:26:20 +0000 |
commit | 6e317b547e46ec938a4d656cbb3ebb4e778dab7b (patch) | |
tree | 8658a0663a7322a4e4abb938bbd71fc5794d31df /bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal | |
parent | 9b15c27c2d7a97e14f9e9b5fb98d6381e2343d47 (diff) | |
download | webtools.webservices-6e317b547e46ec938a4d656cbb3ebb4e778dab7b.tar.gz webtools.webservices-6e317b547e46ec938a4d656cbb3ebb4e778dab7b.tar.xz webtools.webservices-6e317b547e46ec938a4d656cbb3ebb4e778dab7b.zip |
[152764] BP4200 is very expensive, since it is only informational, we should turn it off for WS-I conformance check
Diffstat (limited to 'bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal')
2 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/TestAssertion.java b/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/TestAssertion.java index ef5347554..20ea4b652 100644 --- a/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/TestAssertion.java +++ b/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/TestAssertion.java @@ -21,7 +21,8 @@ import java.util.Vector; public interface TestAssertion { public static final String TYPE_INFORMATIONAL = "informational"; - + public static final String TYPE_RECOMMENDED = "recommended"; + public static final String TYPE_REQUIRED = "required"; /** * Get test assertion id. * @return test assertion id. diff --git a/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileAssertionsReaderImpl.java b/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileAssertionsReaderImpl.java index d5df1d868..11f6aa3b3 100644 --- a/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileAssertionsReaderImpl.java +++ b/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileAssertionsReaderImpl.java @@ -297,8 +297,8 @@ public class ProfileAssertionsReaderImpl implements ProfileAssertionsReader testAssertion.setEntryTypeName( atts.getValue("", WSIConstants.ATTR_ENTRY_TYPE)); - // if assertion already checked then disable it - if (alreadyChecked(id)) + // if assertion is not required or it has already been checked by core validator then disable it + if (alreadyChecked(id) || !(testAssertion.getType().equals(TestAssertion.TYPE_REQUIRED))) testAssertion.setEnabled(false); else testAssertion.setEnabled(Boolean.valueOf(atts.getValue("", WSIConstants.ATTR_ENABLED)).booleanValue()); |