From c2d47ae99da7d168873ad590aa216138f7dbe994 Mon Sep 17 00:00:00 2001 From: Ben Liblit Date: Mon, 28 Nov 2016 14:03:03 -0600 Subject: [PATCH] Exclude Eclipse feature manifest files from XML validation In theory, these files could be checked against the DTD given at . In practice, Eclipse's structured editor for this file type discards any "" declarations one might manually add. So there's no convenient way to tell Eclipse' XML validator what grammar to use. Fortunately, that same structured editor makes it unlikely that anyone will introduce invalid content. So I don't mind excluding these files from XML validation entirely. --- .../.settings/org.eclipse.wst.validation.prefs | 9 +++++++++ .../.settings/org.eclipse.wst.validation.prefs | 9 +++++++++ .../.settings/org.eclipse.wst.validation.prefs | 9 +++++++++ .../.settings/org.eclipse.wst.validation.prefs | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 com.ibm.wala-feature/.settings/org.eclipse.wst.validation.prefs create mode 100644 com.ibm.wala.ide-feature/.settings/org.eclipse.wst.validation.prefs create mode 100644 com.ibm.wala.tests-feature/.settings/org.eclipse.wst.validation.prefs create mode 100644 com.ibm.wala.tests.ide-feature/.settings/org.eclipse.wst.validation.prefs diff --git a/com.ibm.wala-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala-feature/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 000000000..4927bd8bf --- /dev/null +++ b/com.ibm.wala-feature/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,9 @@ +DELEGATES_PREFERENCE=delegateValidatorList +USER_BUILD_PREFERENCE=enabledBuildValidatorList +USER_MANUAL_PREFERENCE=enabledManualValidatorList +USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.700.v201610061600 +eclipse.preferences.version=1 +override=true +suspend=false +vals/org.eclipse.wst.xml.core.xml/groups=0107include05111contentType128org.eclipse.core.runtime.xmlT111contentType134org.eclipse.wst.xml.core.xmlsourceT111contentType134org.eclipse.wst.xml.core.xslsourceT111contentType134org.eclipse.jst.jsp.core.tldsourceT07fileext03xmlF0107exclude06113projectNature134org.eclipse.jst.j2ee.ejb.EJBNature113projectNature130org.eclipse.jst.j2ee.EARNature04file08.projectT0104file110.classpathT0104file110.settings/T02111contentType131org.eclipse.pde.featureManifestF +vf.version=3 diff --git a/com.ibm.wala.ide-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala.ide-feature/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 000000000..4927bd8bf --- /dev/null +++ b/com.ibm.wala.ide-feature/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,9 @@ +DELEGATES_PREFERENCE=delegateValidatorList +USER_BUILD_PREFERENCE=enabledBuildValidatorList +USER_MANUAL_PREFERENCE=enabledManualValidatorList +USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.700.v201610061600 +eclipse.preferences.version=1 +override=true +suspend=false +vals/org.eclipse.wst.xml.core.xml/groups=0107include05111contentType128org.eclipse.core.runtime.xmlT111contentType134org.eclipse.wst.xml.core.xmlsourceT111contentType134org.eclipse.wst.xml.core.xslsourceT111contentType134org.eclipse.jst.jsp.core.tldsourceT07fileext03xmlF0107exclude06113projectNature134org.eclipse.jst.j2ee.ejb.EJBNature113projectNature130org.eclipse.jst.j2ee.EARNature04file08.projectT0104file110.classpathT0104file110.settings/T02111contentType131org.eclipse.pde.featureManifestF +vf.version=3 diff --git a/com.ibm.wala.tests-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala.tests-feature/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 000000000..4927bd8bf --- /dev/null +++ b/com.ibm.wala.tests-feature/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,9 @@ +DELEGATES_PREFERENCE=delegateValidatorList +USER_BUILD_PREFERENCE=enabledBuildValidatorList +USER_MANUAL_PREFERENCE=enabledManualValidatorList +USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.700.v201610061600 +eclipse.preferences.version=1 +override=true +suspend=false +vals/org.eclipse.wst.xml.core.xml/groups=0107include05111contentType128org.eclipse.core.runtime.xmlT111contentType134org.eclipse.wst.xml.core.xmlsourceT111contentType134org.eclipse.wst.xml.core.xslsourceT111contentType134org.eclipse.jst.jsp.core.tldsourceT07fileext03xmlF0107exclude06113projectNature134org.eclipse.jst.j2ee.ejb.EJBNature113projectNature130org.eclipse.jst.j2ee.EARNature04file08.projectT0104file110.classpathT0104file110.settings/T02111contentType131org.eclipse.pde.featureManifestF +vf.version=3 diff --git a/com.ibm.wala.tests.ide-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala.tests.ide-feature/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 000000000..4927bd8bf --- /dev/null +++ b/com.ibm.wala.tests.ide-feature/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,9 @@ +DELEGATES_PREFERENCE=delegateValidatorList +USER_BUILD_PREFERENCE=enabledBuildValidatorList +USER_MANUAL_PREFERENCE=enabledManualValidatorList +USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.700.v201610061600 +eclipse.preferences.version=1 +override=true +suspend=false +vals/org.eclipse.wst.xml.core.xml/groups=0107include05111contentType128org.eclipse.core.runtime.xmlT111contentType134org.eclipse.wst.xml.core.xmlsourceT111contentType134org.eclipse.wst.xml.core.xslsourceT111contentType134org.eclipse.jst.jsp.core.tldsourceT07fileext03xmlF0107exclude06113projectNature134org.eclipse.jst.j2ee.ejb.EJBNature113projectNature130org.eclipse.jst.j2ee.EARNature04file08.projectT0104file110.classpathT0104file110.settings/T02111contentType131org.eclipse.pde.featureManifestF +vf.version=3