This commit was manufactured by cvs2svn to create tag 'R2_0_2'.
diff --git a/features/org.eclipse.wst.web_tests.feature/feature.xml b/features/org.eclipse.wst.web_tests.feature/feature.xml
index 1030300..0ca1443 100644
--- a/features/org.eclipse.wst.web_tests.feature/feature.xml
+++ b/features/org.eclipse.wst.web_tests.feature/feature.xml
@@ -2,7 +2,7 @@
 <feature
       id="org.eclipse.wst.web_tests.feature"
       label="%featureName"
-      version="2.0.0.qualifier"
+      version="2.0.2.qualifier"
       provider-name="%providerName">
 
    <description>
diff --git a/features/org.eclipse.wst.xml_tests.feature/feature.xml b/features/org.eclipse.wst.xml_tests.feature/feature.xml
index 385c9e8..98096d4 100644
--- a/features/org.eclipse.wst.xml_tests.feature/feature.xml
+++ b/features/org.eclipse.wst.xml_tests.feature/feature.xml
@@ -2,7 +2,7 @@
 <feature
       id="org.eclipse.wst.xml_tests.feature"
       label="%featureName"
-      version="2.0.0.qualifier"
+      version="2.0.2.qualifier"
       provider-name="%providerName">
 
    <description>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/model/TestModelAdapters.java b/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/model/TestModelAdapters.java
index 59b2e9f..0377392 100644
--- a/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/model/TestModelAdapters.java
+++ b/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/model/TestModelAdapters.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2005, 2006 IBM Corporation and others.
+ * Copyright (c) 2005, 2007 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -23,6 +23,10 @@
 import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
 import org.eclipse.wst.xml.core.internal.ssemodelquery.ModelQueryAdapter;
 
+/**
+ * @deprecated - we don't have INodeAdapters directly on our models and this
+ *             is not part of the usual test suite (test.xml)
+ */
 public class TestModelAdapters extends TestCase {
 
 
diff --git a/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/taglibindex/TestIndex.java b/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/taglibindex/TestIndex.java
index 1ae178a..7b2ffef 100644
--- a/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/taglibindex/TestIndex.java
+++ b/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/taglibindex/TestIndex.java
@@ -25,10 +25,20 @@
 import org.eclipse.jdt.core.IJavaProject;
 import org.eclipse.jdt.core.JavaCore;
 import org.eclipse.jdt.internal.core.ClasspathEntry;
+import org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDDocument;
+import org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDElementDeclaration;
 import org.eclipse.jst.jsp.core.taglib.IJarRecord;
 import org.eclipse.jst.jsp.core.taglib.ITaglibRecord;
 import org.eclipse.jst.jsp.core.taglib.IURLRecord;
 import org.eclipse.jst.jsp.core.taglib.TaglibIndex;
+import org.eclipse.wst.sse.core.StructuredModelManager;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMElementDeclaration;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMNode;
+import org.eclipse.wst.xml.core.internal.modelquery.ModelQueryUtil;
+import org.eclipse.wst.xml.core.internal.provisional.contentmodel.CMNodeWrapper;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
 
 /**
  * Tests for the TaglibIndex.
@@ -190,6 +200,39 @@
 		assertEquals("wrong number of taglib records found after copying", 4, records.length);
 	}
 
+	public void testUtilityProjectSupport() throws Exception {
+		// Create project 1
+		IProject project = BundleResourceUtil.createSimpleProject("test-jar", null, null);
+		assertTrue(project.exists());
+		BundleResourceUtil.copyBundleEntriesIntoWorkspace("/testfiles/bug183756/test-jar", "/test-jar");
+
+		// Create project 2
+		IProject project2 = BundleResourceUtil.createSimpleProject("test-war", null, null);
+		assertTrue(project2.exists());
+		BundleResourceUtil.copyBundleEntriesIntoWorkspace("/testfiles/bug183756/test-war", "/test-war");
+
+		IFile testFile = project2.getFile(new Path("src/main/webapp/test.jsp"));
+		assertTrue("missing test JSP file!", testFile.isAccessible());
+
+		IDOMModel jspModel = null;
+		try {
+			jspModel = (IDOMModel) StructuredModelManager.getModelManager().getModelForRead(testFile);
+			NodeList tests = jspModel.getDocument().getElementsByTagName("test:test");
+			assertTrue("test:test element not found", tests.getLength() > 0);
+			CMElementDeclaration elementDecl = ModelQueryUtil.getModelQuery(jspModel).getCMElementDeclaration(((Element) tests.item(0)));
+			assertNotNull("No element declaration was found for test:test at runtime", elementDecl);
+			assertTrue("element declaration was not the expected kind", elementDecl instanceof CMNodeWrapper);
+			CMNode originNode = ((CMNodeWrapper) elementDecl).getOriginNode();
+			assertTrue("element declaration was not from a tag library", originNode instanceof TLDElementDeclaration);
+			assertEquals("element declaration was not from expected tag library", "http://foo.com/testtags", ((TLDDocument) ((TLDElementDeclaration) originNode).getOwnerDocument()).getUri());
+		}
+		finally {
+			if (jspModel != null) {
+				jspModel.releaseFromRead();
+			}
+		}
+	}
+	
 	public void testWebXMLTaglibMappingsToJARs() throws Exception {
 		IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("bug_148717");
 		if (!project.exists()) {
diff --git a/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/translation/JSPJavaTranslatorCoreTest.java b/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/translation/JSPJavaTranslatorCoreTest.java
index 2087f00..b9705b7 100644
--- a/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/translation/JSPJavaTranslatorCoreTest.java
+++ b/tests/org.eclipse.jst.jsp.core.tests/src/org/eclipse/jst/jsp/core/tests/translation/JSPJavaTranslatorCoreTest.java
@@ -19,6 +19,7 @@
 import org.eclipse.core.resources.IResource;
 import org.eclipse.core.resources.IncrementalProjectBuilder;
 import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.NullProgressMonitor;
 import org.eclipse.core.runtime.OperationCanceledException;
 import org.eclipse.core.runtime.Platform;
@@ -34,7 +35,6 @@
 import org.eclipse.wst.sse.core.StructuredModelManager;
 import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
 import org.eclipse.wst.validation.internal.operations.ValidatorManager;
-import org.eclipse.wst.validation.internal.plugin.ValidationPlugin;
 import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
 import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
 
@@ -128,13 +128,28 @@
 		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, true);
 		BundleResourceUtil.copyBundleEntriesIntoWorkspace("/testfiles/" + testName, "/" + testName);
 		BundleResourceUtil.copyBundleEntryIntoWorkspace("/testfiles/struts.jar", "/" + testName + "/struts.jar");
+		waitForBuildAndValidation(project);
+		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, doValidateSegments);
+		IFile main = project.getFile("main.jsp");
+		IMarker[] markers = main.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ZERO);
+		StringBuffer s = new StringBuffer();
+		for (int i = 0; i < markers.length; i++) {
+			s.append("\nproblem marker on line " + markers[i].getAttribute(IMarker.LINE_NUMBER) + ": \"" + markers[i].getAttribute(IMarker.MESSAGE) + "\" ");
+		}
+		assertEquals("problem markers found, " + s.toString(), 0, markers.length);
+	}
+
+	private void waitForBuildAndValidation(IProject project) throws CoreException {
 		project.build(IncrementalProjectBuilder.CLEAN_BUILD, new NullProgressMonitor());
-		project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
 		project.build(IncrementalProjectBuilder.FULL_BUILD, "org.eclipse.wst.validation.validationbuilder", null, new NullProgressMonitor());
+		project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
 		try {
-			Job.getJobManager().join(ValidatorManager.VALIDATOR_JOB_FAMILY, new NullProgressMonitor());
+			ResourcesPlugin.getWorkspace().checkpoint(true);
 			Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
 			Job.getJobManager().join(ResourcesPlugin.FAMILY_MANUAL_BUILD, new NullProgressMonitor());
+			Job.getJobManager().join(ValidatorManager.VALIDATOR_JOB_FAMILY, new NullProgressMonitor());
+			Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
+			Job.getJobManager().beginRule(ResourcesPlugin.getWorkspace().getRoot(), null);
 		}
 		catch (InterruptedException e) {
 			e.printStackTrace();
@@ -142,14 +157,9 @@
 		catch (OperationCanceledException e) {
 			e.printStackTrace();
 		}
-		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, doValidateSegments);
-		IFile main = project.getFile("main.jsp");
-		IMarker[] markers = main.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ZERO);
-		StringBuffer s = new StringBuffer();
-		for (int i = 0; i < markers.length; i++) {
-			s.append("\n" + markers[i].getAttribute(IMarker.LINE_NUMBER) + ":" + markers[i].getAttribute(IMarker.MESSAGE));
+		finally {
+			Job.getJobManager().endRule(ResourcesPlugin.getWorkspace().getRoot());
 		}
-		assertEquals("problem markers found" + s.toString(), 0, markers.length);
 	}
 
 	public void test_178443() throws Exception {
@@ -158,29 +168,23 @@
 		// Create new project
 		IProject project = BundleResourceUtil.createSimpleProject(testName, Platform.getStateLocation(JSPCoreTestsPlugin.getDefault().getBundle()).append(testName), null);
 		assertTrue(project.exists());
-		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, true);
+		/*
+		 * Should be set to false. A referenced class in an included segment
+		 * does not exist.
+		 */
+		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, false);
 		BundleResourceUtil.copyBundleEntriesIntoWorkspace("/testfiles/" + testName, "/" + testName);
 		BundleResourceUtil.copyBundleEntryIntoWorkspace("/testfiles/struts.jar", "/" + testName + "/struts.jar");
-		project.build(IncrementalProjectBuilder.CLEAN_BUILD, new NullProgressMonitor());
-		project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
-		project.build(IncrementalProjectBuilder.FULL_BUILD, "org.eclipse.wst.validation.validationbuilder", null, new NullProgressMonitor());
-		try {
-			Job.getJobManager().join(ValidatorManager.VALIDATOR_JOB_FAMILY, new NullProgressMonitor());
-			Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
-			Job.getJobManager().join(ResourcesPlugin.FAMILY_MANUAL_BUILD, new NullProgressMonitor());
-		}
-		catch (InterruptedException e) {
-			e.printStackTrace();
-		}
-		catch (OperationCanceledException e) {
-			e.printStackTrace();
-		}
+
+		waitForBuildAndValidation(project);
+		
 		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, doValidateSegments);
 		IFile main = project.getFile("main.jsp");
 		IMarker[] markers = main.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ZERO);
+
 		StringBuffer s = new StringBuffer();
 		for (int i = 0; i < markers.length; i++) {
-			s.append("\n" + markers[i].getAttribute(IMarker.LINE_NUMBER) + ":" + markers[i].getAttribute(IMarker.MESSAGE));
+			s.append("\nproblem on line " + markers[i].getAttribute(IMarker.LINE_NUMBER) + ": " + markers[i].getAttribute(IMarker.MESSAGE));
 		}
 		assertEquals("problem markers found" + s.toString(), 0, markers.length);
 	}
@@ -191,29 +195,23 @@
 		// Create new project
 		IProject project = BundleResourceUtil.createSimpleProject(testName, Platform.getStateLocation(JSPCoreTestsPlugin.getDefault().getBundle()).append(testName), null);
 		assertTrue(project.exists());
-		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, true);
+		/*
+		 * Should be set to false. A referenced class in an included segment
+		 * does not exist.
+		 */
+		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, false);
 		BundleResourceUtil.copyBundleEntriesIntoWorkspace("/testfiles/" + testName, "/" + testName);
 		BundleResourceUtil.copyBundleEntryIntoWorkspace("/testfiles/struts.jar", "/" + testName + "/WebContent/WEB-INF/lib/struts.jar");
-		project.build(IncrementalProjectBuilder.CLEAN_BUILD, new NullProgressMonitor());
-		project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
-		project.build(IncrementalProjectBuilder.FULL_BUILD, "org.eclipse.wst.validation.validationbuilder", null, new NullProgressMonitor());
-		try {
-			Job.getJobManager().join(ValidatorManager.VALIDATOR_JOB_FAMILY, new NullProgressMonitor());
-			Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
-			Job.getJobManager().join(ResourcesPlugin.FAMILY_MANUAL_BUILD, new NullProgressMonitor());
-		}
-		catch (InterruptedException e) {
-			e.printStackTrace();
-		}
-		catch (OperationCanceledException e) {
-			e.printStackTrace();
-		}
+
+		waitForBuildAndValidation(project);
+
 		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, doValidateSegments);
 		IFile main = project.getFile("WebContent/main.jsp");
 		IMarker[] markers = main.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ZERO);
+		
 		StringBuffer s = new StringBuffer();
 		for (int i = 0; i < markers.length; i++) {
-			s.append("\n" + markers[i].getAttribute(IMarker.LINE_NUMBER) + ":" + markers[i].getAttribute(IMarker.MESSAGE));
+			s.append("\nproblem on line " + markers[i].getAttribute(IMarker.LINE_NUMBER) + ": " + markers[i].getAttribute(IMarker.MESSAGE));
 		}
 		assertEquals("problem markers found" + s.toString(), 0, markers.length);
 	}
@@ -233,20 +231,9 @@
 		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, true);
 		BundleResourceUtil.copyBundleEntriesIntoWorkspace("/testfiles/" + testName, "/" + testName);
 		BundleResourceUtil.copyBundleEntryIntoWorkspace("/testfiles/struts.jar", "/" + testName + "/struts.jar");
-		project.getWorkspace().build(IncrementalProjectBuilder.CLEAN_BUILD, new NullProgressMonitor());
-		project.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
-		project.build(IncrementalProjectBuilder.FULL_BUILD, ValidationPlugin.VALIDATION_BUILDER_ID, null, new NullProgressMonitor());
-		try {
-			Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
-			Job.getJobManager().join(ResourcesPlugin.FAMILY_MANUAL_BUILD, new NullProgressMonitor());
-			Job.getJobManager().join(ValidatorManager.VALIDATOR_JOB_FAMILY, new NullProgressMonitor());
-		}
-		catch (InterruptedException e) {
-			e.printStackTrace();
-		}
-		catch (OperationCanceledException e) {
-			e.printStackTrace();
-		}
+
+		waitForBuildAndValidation(project);
+
 		JSPCorePlugin.getDefault().getPluginPreferences().setValue(JSPCorePreferenceNames.VALIDATE_FRAGMENTS, doValidateSegments);
 		/*
 		 * main.jsp contains numerous references to tags in struts.jar, which
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.classpath b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.classpath
new file mode 100644
index 0000000..d5aec8f
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.classpath
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Tomcat 5.5.9"/>
+	<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.project b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.project
new file mode 100644
index 0000000..80341f8
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.project
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>test-jar</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.validation.validationbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+	</natures>
+</projectDescription>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..167796c
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+#Tue Apr 24 11:16:26 BST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.wst.common.component b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.wst.common.component
new file mode 100644
index 0000000..0bb9d17
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+    <wb-module deploy-name="test-jar">
+        <wb-resource deploy-path="/" source-path="/src"/>
+<property name="ear_libraries_processed" value="true"/>
+    </wb-module>
+</project-modules>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.wst.common.project.facet.core.xml b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..fd534a9
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+  <fixed facet="jst.utility"/>
+  <fixed facet="jst.java"/>
+  <installed facet="jst.java" version="6.0"/>
+  <installed facet="jst.utility" version="1.0"/>
+</faceted-project>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..254272e
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/META-INF/taglib.tld b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/META-INF/taglib.tld
new file mode 100644
index 0000000..af3a82b
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/META-INF/taglib.tld
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+
+<taglib>
+	<tlib-version>1.0</tlib-version>
+	<jsp-version>1.2</jsp-version>
+	<short-name>test</short-name>
+	<uri>http://foo.com/testtags</uri>
+	<description>Test Tag Library</description>
+
+
+	<tag>
+		<name>test</name>
+		<tag-class>com.foo.TestTag</tag-class>
+		<body-content>empty</body-content>
+		<description>
+			test
+		</description>
+	</tag>
+	
+</taglib>
+
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/com/foo/TestTag.class b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/com/foo/TestTag.class
new file mode 100644
index 0000000..7cf9d88
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/bin/com/foo/TestTag.class
@@ -0,0 +1,15 @@
+Êþº¾???2?,??com/foo/TestTag??#javax/servlet/jsp/tagext/TagSupport?<init>?()V?Code

+??	???LineNumberTable?LocalVariableTable?this?Lcom/foo/TestTag;?

+doStartTag?()I?

+Exceptions??javax/servlet/jsp/JspException	?????pageContext?Ljavax/servlet/jsp/PageContext;

+????javax/servlet/jsp/PageContext???getOut?()Ljavax/servlet/jsp/JspWriter;??

+TAG WORKED

+? ?"?!?javax/servlet/jsp/JspWriter?#?$?write?(Ljava/lang/String;)V

+??&???(?java/lang/Exception?

+StackMapTable?

+SourceFile?TestTag.java?!???????????????/?????*·?±????

+?????????????????

+????????????????\?????*´?¶?¶?§?L*·?%¬??????'??

+???????

+??????????????

+???)????O?'???*????+

diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..254272e
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/META-INF/taglib.tld b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/META-INF/taglib.tld
new file mode 100644
index 0000000..af3a82b
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/META-INF/taglib.tld
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+
+<taglib>
+	<tlib-version>1.0</tlib-version>
+	<jsp-version>1.2</jsp-version>
+	<short-name>test</short-name>
+	<uri>http://foo.com/testtags</uri>
+	<description>Test Tag Library</description>
+
+
+	<tag>
+		<name>test</name>
+		<tag-class>com.foo.TestTag</tag-class>
+		<body-content>empty</body-content>
+		<description>
+			test
+		</description>
+	</tag>
+	
+</taglib>
+
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/com/foo/TestTag.java b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/com/foo/TestTag.java
new file mode 100644
index 0000000..951882c
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-jar/src/com/foo/TestTag.java
@@ -0,0 +1,17 @@
+package com.foo;
+
+import javax.servlet.jsp.JspException;
+import javax.servlet.jsp.tagext.TagSupport;
+
+public class TestTag extends TagSupport {
+
+	public int doStartTag() throws JspException {
+		try {
+		pageContext.getOut().write("TAG WORKED");
+		} catch (Exception e) {
+			
+		}
+		return super.doStartTag();
+	}
+
+}
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.classpath b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.classpath
new file mode 100644
index 0000000..edb36ca
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.classpath
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.jst.server.core.container"/>
+	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+	<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+	<classpathentry kind="output" path="build/classes"/>
+</classpath>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.project b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.project
new file mode 100644
index 0000000..eb59416
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.project
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>test-war</name>
+	<comment></comment>
+	<projects>
+		<project>test-jar</project>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.validation.validationbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+	</natures>
+</projectDescription>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..84f2b19
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+#Tue Apr 24 11:08:40 BST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.jst.common.project.facet.core.prefs b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.jst.common.project.facet.core.prefs
new file mode 100644
index 0000000..43db39a
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.jst.common.project.facet.core.prefs
@@ -0,0 +1,4 @@
+#Tue Apr 24 11:08:46 BST 2007
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.6.0_01/owners=jst.java\:6.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.tomcat.runtimeTarget\:\:Apache\ Tomcat\ v4.1/owners=jst.web\:2.3
+eclipse.preferences.version=1
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.wst.common.component b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.wst.common.component
new file mode 100644
index 0000000..2c1da55
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+    <wb-module deploy-name="test-war">
+        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
+        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
+        <dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/test-jar/test-jar">
+            <dependency-type>uses</dependency-type>
+        </dependent-module>
+        <property name="context-root" value="test-war"/>
+        <property name="java-output-path" value="build/classes"/>
+<property name="web_app_libraries_processed" value="true"/>
+<property name="ear_libraries_processed" value="true"/>
+    </wb-module>
+</project-modules>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.wst.common.project.facet.core.xml b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..dd3b084
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+  <runtime name="Apache Tomcat v4.1"/>
+  <fixed facet="jst.java"/>
+  <fixed facet="jst.web"/>
+  <installed facet="jst.java" version="6.0"/>
+  <installed facet="jst.web" version="2.3"/>
+</faceted-project>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..254272e
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/WEB-INF/web.xml b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..47cea3c
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app id="WebApp_ID">
+	<display-name>test-war</display-name>
+	<welcome-file-list>
+		<welcome-file>index.html</welcome-file>
+		<welcome-file>index.htm</welcome-file>
+		<welcome-file>index.jsp</welcome-file>
+		<welcome-file>default.html</welcome-file>
+		<welcome-file>default.htm</welcome-file>
+		<welcome-file>default.jsp</welcome-file>
+	</welcome-file-list>
+</web-app>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/test.jsp b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/test.jsp
new file mode 100644
index 0000000..d3f9436
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug183756/test-war/src/main/webapp/test.jsp
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+<%@ taglib uri="http://foo.com/testtags" prefix="test" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>Test</title>
+</head>
+<body>
+Before Tag
+<test:test/>
+After Tag
+</body>
+</html>
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug_174042/src/com/nitin/TestBean.java b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug_174042/src/com/nitin/TestBean.java
new file mode 100644
index 0000000..24a759b
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug_174042/src/com/nitin/TestBean.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *     
+ *******************************************************************************/
+package com.nitin;
+
+public class TestBean {
+
+	public TestBean() {
+	}
+	
+	String dummyProperty = null;
+
+	public String getDummyProperty() {
+		return dummyProperty;
+	}
+
+	public void setDummyProperty(String dummyProperty) {
+		this.dummyProperty = dummyProperty;
+	}
+
+}
diff --git a/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug_178443/src/com/nitin/TestBean.java b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug_178443/src/com/nitin/TestBean.java
new file mode 100644
index 0000000..24a759b
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.core.tests/testfiles/bug_178443/src/com/nitin/TestBean.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *     
+ *******************************************************************************/
+package com.nitin;
+
+public class TestBean {
+
+	public TestBean() {
+	}
+	
+	String dummyProperty = null;
+
+	public String getDummyProperty() {
+		return dummyProperty;
+	}
+
+	public void setDummyProperty(String dummyProperty) {
+		this.dummyProperty = dummyProperty;
+	}
+
+}
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.jsp.ui.tests/META-INF/MANIFEST.MF
index 82a340d..bd5aeb0 100644
--- a/tests/org.eclipse.jst.jsp.ui.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.jst.jsp.ui.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.eclipse.jst.jsp.ui.tests; singleton:=true
-Bundle-Version: 1.0.100.qualifier
+Bundle-Version: 1.0.101.qualifier
 Bundle-ClassPath: jspuitests.jar
 Bundle-Activator: org.eclipse.jst.jsp.ui.tests.JSPUITestsPlugin
 Bundle-Vendor: %Bundle-Vendor.0
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/JSPTranslationTest.java b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/JSPTranslationTest.java
index 1007fb9..94c9244 100644
--- a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/JSPTranslationTest.java
+++ b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/JSPTranslationTest.java
@@ -14,6 +14,7 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.util.HashMap;
+import java.util.Iterator;
 
 import junit.framework.TestCase;
 
@@ -21,18 +22,33 @@
 import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.NullProgressMonitor;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.core.runtime.Platform;
+import org.eclipse.jdt.core.ICompilationUnit;
+import org.eclipse.jdt.core.IJavaElement;
 import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IMethod;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jdt.core.dom.AST;
+import org.eclipse.jdt.core.dom.ASTNode;
+import org.eclipse.jdt.core.dom.ASTParser;
+import org.eclipse.jdt.core.dom.ASTVisitor;
+import org.eclipse.jdt.core.dom.SimpleType;
+import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
+import org.eclipse.jdt.core.dom.VariableDeclarationStatement;
 import org.eclipse.jface.text.Position;
 import org.eclipse.jst.jsp.core.internal.domdocument.DOMModelForJSP;
 import org.eclipse.jst.jsp.core.internal.java.IJSPTranslation;
 import org.eclipse.jst.jsp.core.internal.java.JSPTranslation;
 import org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter;
 import org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapterFactory;
+import org.eclipse.jst.jsp.core.internal.provisional.JSP11Namespace;
 import org.eclipse.jst.jsp.ui.tests.other.ScannerUnitTests;
 import org.eclipse.jst.jsp.ui.tests.util.FileUtil;
 import org.eclipse.jst.jsp.ui.tests.util.ProjectUnzipUtility;
+import org.eclipse.jst.jsp.ui.tests.util.ProjectUtil;
 import org.eclipse.osgi.service.datalocation.Location;
 import org.eclipse.wst.sse.core.StructuredModelManager;
 import org.eclipse.wst.sse.core.internal.provisional.IModelManager;
@@ -86,7 +102,7 @@
 		JSPTranslation translation = adapter.getJSPTranslation();
 		try {
 			HashMap java2jsp = translation.getJava2JspMap();
-			assertEquals("java2jsp map size:", 11, java2jsp.size());
+			assertEquals("java2jsp map size:", 13, java2jsp.size());
 
 			HashMap jsp2java = translation.getJsp2JavaMap();
 			assertEquals("jsp2java map size:", 3, jsp2java.size());
@@ -100,7 +116,7 @@
 			
 			int jspTestPosition = translation.getJspText().indexOf("<%= ") + 4;
 			int javaOffset = translation.getJavaOffset(jspTestPosition) - classnameLength;
-			assertEquals("JSPTranslation java offset:", 972, javaOffset);
+			assertEquals("JSPTranslation java offset:", 1009, javaOffset);
 			
 			// (<%= | %>)
 			int javaTestPostition = translation.getJavaText().indexOf("out.print(\"\"+\n   \n);") + 14;
@@ -349,4 +365,75 @@
 		setupAdapterFactory(xmlModel);
 		return xmlModel;
 	}
+	public void testPageDirectiveSessionVariableInFile() throws JavaModelException {
+		String jspTestFilePathString = "INCLUDES_TESTS/test189924.jsp";
+		ProjectUtil.copyBundleEntryIntoWorkspace("/testfiles/189924/test189924.jsp", jspTestFilePathString);
+		IPath jspTestFilePath = new Path(jspTestFilePathString);
+		IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(jspTestFilePath);
+
+		verifyTranslationHasNoSessionVariables(file);
+	}
+	private void verifyTranslationHasNoSessionVariables(IFile file) throws JavaModelException {
+		IDOMModel model = null;
+		try {
+			model = (IDOMModel) getStructuredModelForRead(file);
+			setupAdapterFactory(model);
+
+			JSPTranslationAdapter adapter = (JSPTranslationAdapter) model.getDocument().getAdapterFor(IJSPTranslation.class);
+			ICompilationUnit cu = adapter.getJSPTranslation().getCompilationUnit();
+			cu.makeConsistent(new NullProgressMonitor());
+			IType[] types = cu.getAllTypes();
+			for (int i = 0; i < types.length; i++) {
+				IJavaElement[] members = types[i].getChildren();
+				for (int k = 0; k < members.length; k++) {
+					// check fields for name "session"
+					if (members[k].getElementType() == IJavaElement.FIELD) {
+						assertFalse("field named \"session\" exists", members[k].getElementName().equals(JSP11Namespace.ATTR_NAME_SESSION));
+					}
+					/*
+					 * check "public void
+					 * _jspService(javax.servlet.http.HttpServletRequest
+					 * request, javax.servlet.http.HttpServletResponse
+					 * response)" for local variables named "session"
+					 */
+					else if (members[k].getElementType() == IJavaElement.METHOD && members[k].getElementName().startsWith("_jspService")) {
+						ICompilationUnit compilationUnit = ((IMethod) members[k]).getCompilationUnit();
+						compilationUnit.makeConsistent(new NullProgressMonitor());
+						ASTParser parser = ASTParser.newParser(AST.JLS3);
+						parser.setSource(cu);
+						ASTNode node = parser.createAST(null);
+						node.accept(new ASTVisitor() {
+							public boolean visit(VariableDeclarationStatement node) {
+								Iterator fragments = node.fragments().iterator();
+								while (fragments.hasNext()) {
+									VariableDeclarationFragment fragment = (VariableDeclarationFragment) fragments.next();
+									if (fragment.getName().getFullyQualifiedName().equals(JSP11Namespace.ATTR_NAME_SESSION)) {
+										String typeName = ((SimpleType) node.getType()).getName().getFullyQualifiedName();
+										assertFalse("local variable of type \"javax.servlet.http.HttpSession\" and named \"session\" exists", typeName.equals("javax.servlet.http.HttpSession"));
+									}
+								}
+								return super.visit(node);
+							}
+						});
+					}
+				}
+			}
+		}
+		finally {
+			if (model != null)
+				model.releaseFromRead();
+		}
+	}
+	
+	public void testPageDirectiveSessionVariableInSegment() throws JavaModelException {
+		String jspTestFilePathString = "INCLUDES_TESTS/test189924.jsp";
+		ProjectUtil.copyBundleEntryIntoWorkspace("/testfiles/189924/test189924.jsp", jspTestFilePathString);
+		jspTestFilePathString = "INCLUDES_TESTS/includer.jsp";
+		ProjectUtil.copyBundleEntryIntoWorkspace("/testfiles/189924/includer.jsp", jspTestFilePathString);
+		IPath jspTestFilePath = new Path(jspTestFilePathString);
+		IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(jspTestFilePath);
+
+		verifyTranslationHasNoSessionVariables(file);	
+	}
+
 }
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_text.bin b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_text.bin
index 09e105d..20eb369 100644
--- a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_text.bin
+++ b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_text.bin
@@ -12,11 +12,11 @@
 public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
 		throws java.io.IOException, javax.servlet.ServletException {
 javax.servlet.jsp.PageContext pageContext = null;
-javax.servlet.http.HttpSession session = null;
 javax.servlet.ServletContext application = null;
 javax.servlet.ServletConfig config = null;
 javax.servlet.jsp.JspWriter out = null;
 Object page = null;
+javax.servlet.http.HttpSession session = null;
 
 try {
  String localIncludedString = globalIncludedString;
@@ -28,6 +28,8 @@
 javax.swing.JButton BEAN_includedBean = new javax.swing.JButton();
  int include_include_int = 5; 
 javax.swing.JButton includesUseBean = new javax.swing.JButton();
+{ // <gifts:gift>
+} // </gifts:gift>
 out.print(""+
    
 );
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp.bin b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp.bin
index 4e46230..a0c7faf 100644
--- a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp.bin
+++ b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp.bin
@@ -11,11 +11,11 @@
 public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
 		throws java.io.IOException, javax.servlet.ServletException {
 javax.servlet.jsp.PageContext pageContext = null;
-javax.servlet.http.HttpSession session = null;
 javax.servlet.ServletContext application = null;
 javax.servlet.ServletConfig config = null;
 javax.servlet.jsp.JspWriter out = null;
 Object page = null;
+javax.servlet.http.HttpSession session = null;
 
 try {
 String consec1 = "test";
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp_cdata.bin b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp_cdata.bin
index e045acc..4657f58 100644
--- a/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp_cdata.bin
+++ b/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/contentassist/translated_xml_jsp_cdata.bin
@@ -6,11 +6,11 @@
 public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
 		throws java.io.IOException, javax.servlet.ServletException {
 javax.servlet.jsp.PageContext pageContext = null;
-javax.servlet.http.HttpSession session = null;
 javax.servlet.ServletContext application = null;
 javax.servlet.ServletConfig config = null;
 javax.servlet.jsp.JspWriter out = null;
 Object page = null;
+javax.servlet.http.HttpSession session = null;
 
 try {
 
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/testfiles/189924/includer.jsp b/tests/org.eclipse.jst.jsp.ui.tests/testfiles/189924/includer.jsp
new file mode 100644
index 0000000..0f4c9d5
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.ui.tests/testfiles/189924/includer.jsp
@@ -0,0 +1 @@
+<%@include file="test189924.jsp" %>
\ No newline at end of file
diff --git a/tests/org.eclipse.jst.jsp.ui.tests/testfiles/189924/test189924.jsp b/tests/org.eclipse.jst.jsp.ui.tests/testfiles/189924/test189924.jsp
new file mode 100644
index 0000000..b9e32d1
--- /dev/null
+++ b/tests/org.eclipse.jst.jsp.ui.tests/testfiles/189924/test189924.jsp
@@ -0,0 +1,2 @@
+
+<%@page session = "false" %>
diff --git a/tests/org.eclipse.wst.css.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.css.core.tests/META-INF/MANIFEST.MF
index 10dfe4f..978ec3b 100644
--- a/tests/org.eclipse.wst.css.core.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.wst.css.core.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.eclipse.wst.css.core.tests
-Bundle-Version: 1.0.100.qualifier
+Bundle-Version: 1.0.101.qualifier
 Bundle-ClassPath: csscoretests.jar
 Bundle-Activator: org.eclipse.wst.css.core.tests.CSSCoreTestsPlugin
 Bundle-Vendor: %Bundle-Vendor.0
diff --git a/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/CSSAllTests.java b/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/CSSAllTests.java
index 821570c..0a762ff 100644
--- a/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/CSSAllTests.java
+++ b/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/CSSAllTests.java
@@ -20,6 +20,7 @@
 import org.eclipse.wst.css.core.tests.model.CSSPageRuleTest;
 import org.eclipse.wst.css.core.tests.model.CSSStyleRuleTest;
 import org.eclipse.wst.css.core.tests.model.CSSStyleSheetTest;
+import org.eclipse.wst.css.core.tests.model.TestCSSDecl;
 import org.eclipse.wst.css.core.tests.source.CSSSelectorTest;
 import org.eclipse.wst.css.core.tests.source.CSSSourceParserTest;
 import org.eclipse.wst.css.core.tests.source.CSSTextParserTest;
@@ -54,5 +55,6 @@
 		suite.addTestSuite(CSSFontFaceRuleTest.class);
 		suite.addTestSuite(TestFormatProcessorCSS.class);
 		suite.addTestSuite(TestCleanupProcessorCSS.class);
+		suite.addTestSuite(TestCSSDecl.class);
 	}
 }
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/model/TestCSSDecl.java b/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/model/TestCSSDecl.java
index 38cef4b..767dd57 100644
--- a/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/model/TestCSSDecl.java
+++ b/tests/org.eclipse.wst.css.core.tests/src/org/eclipse/wst/css/core/tests/model/TestCSSDecl.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2004, 2005 IBM Corporation and others.
+ * Copyright (c) 2004, 2007 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -26,15 +26,32 @@
 import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;
 
 public class TestCSSDecl extends TestCase {
-	public void testDecl() {
+	// commenting out this test because decl.setCssText() is not an implemented method
+//	public void testDecl() {
+//		CSSPropertyContext context = new CSSPropertyContext();
+//		ICSSStyleDeclaration decl = CSSStyleDeclarationFactory.getInstance().createStyleDeclaration();
+//		context.initialize(decl);
+//		decl.setCssText(getString() != null ? getString() : "");//$NON-NLS-1$
+//	}
+//	private String getString() {
+//		return "body {}";
+//	}
+	
+	public void testStandaloneCSSDecl() {
+		// https://bugs.eclipse.org/bugs/show_bug.cgi?id=202615
 		CSSPropertyContext context = new CSSPropertyContext();
 		ICSSStyleDeclaration decl = CSSStyleDeclarationFactory.getInstance().createStyleDeclaration();
 		context.initialize(decl);
-		decl.setCssText(getString() != null ? getString() : "");//$NON-NLS-1$
-	}
+		String cssText = decl.getCssText();
+		assertEquals("standalone css node was not initialized", "", cssText); //$NON-NLS-1$ //$NON-NLS-2$
 
-	private String getString() {
-		return "body {}";
+		context.setMargin("auto"); //$NON-NLS-1$
+		context.setColor("red"); //$NON-NLS-1$
+		context.setBorder("thick"); //$NON-NLS-1$
+		context.applyFull(decl);
+		cssText = decl.getCssText();
+		String expected = "color: red; border: thick; margin: auto"; //$NON-NLS-1$
+		assertEquals("standalone css node's properties were not set as expected", expected, cssText);  //$NON-NLS-1$
 	}
 
 	public void testCSSStyleDeclItem() {
@@ -86,8 +103,7 @@
 
 			IStructuredDocumentRegion region = structuredDocument.getFirstStructuredDocumentRegion();
 			assertNotNull(region);
-		}
-		finally {
+		} finally {
 			if (model != null) {
 				model.releaseFromEdit();
 			}
diff --git a/tests/org.eclipse.wst.html.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.html.core.tests/META-INF/MANIFEST.MF
index e6ad612..25b8318 100644
--- a/tests/org.eclipse.wst.html.core.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.wst.html.core.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.eclipse.wst.html.core.tests
-Bundle-Version: 1.0.100.qualifier
+Bundle-Version: 1.0.101.qualifier
 Bundle-ClassPath: htmlcoretests.jar
 Bundle-Activator: org.eclipse.wst.html.core.tests.HTMLCoreTestsPlugin
 Bundle-Vendor: %Bundle-Vendor.0
diff --git a/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/HTMLCoreTestSuite.java b/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/HTMLCoreTestSuite.java
index 0156791..b883005 100644
--- a/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/HTMLCoreTestSuite.java
+++ b/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/HTMLCoreTestSuite.java
@@ -19,6 +19,7 @@
 import org.eclipse.wst.html.core.tests.model.BUG124835SetStyleAttributeValueTest;
 import org.eclipse.wst.html.core.tests.model.GetOverrideStyleTest;
 import org.eclipse.wst.html.core.tests.model.ModelModifications;
+import org.eclipse.wst.html.core.tests.model.TestCatalogContentModels;
 import org.eclipse.wst.html.core.tests.model.TestForNPEInCSSCreation;
 
 
@@ -45,5 +46,6 @@
 		addTest(new TestSuite(GetOverrideStyleTest.class));
 		addTest(new TestSuite(BUG124835SetStyleAttributeValueTest.class));
 		addTest(new TestSuite(TestFormatProcessorHTML.class));
+		addTest(new TestSuite(TestCatalogContentModels.class));
 	}
 }
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/model/TestCatalogContentModels.java b/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/model/TestCatalogContentModels.java
new file mode 100644
index 0000000..28eeed5
--- /dev/null
+++ b/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/model/TestCatalogContentModels.java
@@ -0,0 +1,141 @@
+/*******************************************************************************
+ * Copyright (c) 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *     
+ *******************************************************************************/
+
+package org.eclipse.wst.html.core.tests.model;
+
+import junit.framework.TestCase;
+
+import org.eclipse.wst.html.core.internal.provisional.HTMLCMProperties;
+import org.eclipse.wst.html.core.internal.provisional.contenttype.ContentTypeIdForHTML;
+import org.eclipse.wst.sse.core.StructuredModelManager;
+import org.eclipse.wst.sse.core.utils.StringUtils;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMDocument;
+import org.eclipse.wst.xml.core.internal.modelquery.ModelQueryUtil;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
+import org.w3c.dom.Element;
+
+public class TestCatalogContentModels extends TestCase {
+	private static final String contentTemplate = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE html ${METHOD} ${PUBLIC} ${SYSTEM}>\n<html>\n<head>\n<title>Insert title here</title>\n</head>\n<body>\n</body>\n</html>";
+
+	public TestCatalogContentModels() {
+		this("HTML Content Models from XML Catalog");
+	}
+
+	public TestCatalogContentModels(String string) {
+		super(string);
+	}
+
+	private void assertIsNotXHTMLContentModel(IDOMModel htmlModel) {
+		Element html = htmlModel.getDocument().getDocumentElement();
+		CMDocument correspondingCMDocument = ModelQueryUtil.getModelQuery(htmlModel).getCorrespondingCMDocument(html);
+		assertNotNull("content model document not found", correspondingCMDocument);
+		assertTrue("document is unexpectedly XHTML", correspondingCMDocument.supports(HTMLCMProperties.IS_XHTML));
+	}
+
+	private void assertIsXHTMLContentModel(IDOMModel htmlModel) {
+		Element html = htmlModel.getDocument().getDocumentElement();
+		CMDocument correspondingCMDocument = ModelQueryUtil.getModelQuery(htmlModel).getCorrespondingCMDocument(html);
+		assertNotNull("content model document not found", correspondingCMDocument);
+		assertTrue("document is not XHTML", correspondingCMDocument.supports(HTMLCMProperties.IS_XHTML));
+	}
+
+	private IDOMModel createHTMLModel(String publicId, String systemId) {
+		IDOMModel model = (IDOMModel) StructuredModelManager.getModelManager().createUnManagedStructuredModelFor(ContentTypeIdForHTML.ContentTypeID_HTML);
+		String source = createTestContents(publicId, systemId);
+		model.getStructuredDocument().set(source);
+		return model;
+	}
+
+	private String createTestContents(String publicId, String systemId) {
+		String result = null;
+		if (systemId != null) {
+			result = StringUtils.replace(contentTemplate, "${SYSTEM}", "\"" + systemId + "\"");
+		}
+		else {
+			result = StringUtils.replace(contentTemplate, "${SYSTEM}", "");
+		}
+		if (publicId != null) {
+			result = StringUtils.replace(contentTemplate, "${PUBLIC}", "\"" + publicId + "\"");
+		}
+		else {
+			result = StringUtils.replace(contentTemplate, "${PUBLIC}", "");
+		}
+		if (publicId != null && systemId != null)
+			result = StringUtils.replace(contentTemplate, "${METHOD}", "PUBLIC");
+		else if (publicId == null && systemId != null)
+			result = StringUtils.replace(contentTemplate, "${METHOD}", "SYSTEM");
+		else
+			result = StringUtils.replace(contentTemplate, "${METHOD}", "");
+
+		return result;
+	}
+
+	public void testCHTMLdraft() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD Compact HTML 1.0 Draft//EN", null);
+		assertIsNotXHTMLContentModel(htmlModel);
+	}
+
+	public void testHTML401Frameset() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD HTML 4.01 Frameset//EN", "http://www.w3.org/TR/html4/frameset.dtd");
+		assertIsNotXHTMLContentModel(htmlModel);
+	}
+
+	public void testHTML401Strict() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD HTML 4.01//EN", "http://www.w3.org/TR/html4/strict.dtd");
+		assertIsNotXHTMLContentModel(htmlModel);
+	}
+
+	public void testHTML401Transitional() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD HTML 4.01 Transitional//EN", "http://www.w3.org/TR/html4/loose.dtd");
+		assertIsNotXHTMLContentModel(htmlModel);
+	}
+
+	public void testWML11() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//WAPFORUM//DTD WML 1.1//EN", null);
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testWML13() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//WAPFORUM//DTD WML 1.3//EN", "http://www.wapforum.org/DTD/wml13.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testXHTML10Basic() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD XHTML Basic 1.0//EN", "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testXHTML10Frameset() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD XHTML 1.0 Frameset//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testXHTML10Mobile() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//WAPFORUM//DTD XHTML Mobile 1.0//EN", "http://www.wapforum.org/DTD/xhtml-mobile10.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testXHTML10Strict() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testXHTML10Transitional() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD XHTML 1.0 Transitional//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+
+	public void testXHTML11() throws Exception {
+		IDOMModel htmlModel = createHTMLModel("-//W3C//DTD XHTML 1.1//EN", "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd");
+		assertIsXHTMLContentModel(htmlModel);
+	}
+}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/.classpath b/tests/org.eclipse.wst.xml.catalog.tests/.classpath
deleted file mode 100644
index 751c8f2..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" path="src"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-	<classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/.cvsignore b/tests/org.eclipse.wst.xml.catalog.tests/.cvsignore
deleted file mode 100644
index ba077a4..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/.project b/tests/org.eclipse.wst.xml.catalog.tests/.project
deleted file mode 100644
index c417514..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/.project
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>org.eclipse.wst.xml.core</name>
-	<comment></comment>
-	<projects></projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.eclipse.jdt.core.javabuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.pde.ManifestBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.pde.SchemaBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>org.eclipse.pde.PluginNature</nature>
-		<nature>org.eclipse.jdt.core.javanature</nature>
-	</natures>
-</projectDescription>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.wst.xml.catalog.tests/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 6c7d10e..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Mar 25 17:34:01 EST 2005
-eclipse.preferences.version=1
-encoding//data/PublicationCatalogue/Catalogue.xsd=UTF8
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.xml.catalog.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 55f6cc3..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,17 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Test Plug-in
-Bundle-SymbolicName: org.eclipse.wst.xml.catalog.tests; singleton:=true
-Bundle-Version: 0.7.0
-Bundle-Activator: org.eclipse.wst.xml.catalog.tests.internal.TestPlugin
-Bundle-Vendor: IBM
-Bundle-Localization: plugin
-Export-Package: org.eclipse.wst.xml.catalog.tests.internal,
- org.eclipse.wst.xml.resolver.tools.tests.internal,
- org.eclipse.wst.xml.uriresolver.validation.tests.internal
-Require-Bundle: org.eclipse.core.runtime,
- org.junit,
- org.eclipse.wst.xml.core,
- org.apache.xerces,
- org.eclipse.xsd
-Eclipse-AutoStart: true
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/about.html b/tests/org.eclipse.wst.xml.catalog.tests/about.html
deleted file mode 100644
index 4ec5989..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in 
-("Content"). Unless otherwise indicated below, the Content is provided to you 
-under the terms and conditions of the Eclipse Public License Version 1.0 
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>. 
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the 
-Content is being redistributed by another party ("Redistributor") and different 
-terms and conditions may apply to your use of any object code in the Content. 
-Check the RedistributorÂ’s license that was provided with the Content. If no such 
-license exists, contact the Redistributor. Unless otherwise indicated below, the 
-terms and conditions of the EPL still apply to any source code in the Content 
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/build.properties b/tests/org.eclipse.wst.xml.catalog.tests/build.properties
deleted file mode 100644
index 46ff36b..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/build.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-source.catalogtests.jar = src/
-output.catalogtests.jar = bin/
-bin.includes = actual_results/,\
-               data/,\
-               jars/,\
-               plugin.xml,\
-               test.xml,\
-               META-INF/,\
-               catalogtests.jar,\
-               about.html
-
-src.includes = actual_results/
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/Invoice/Invoice.dtd b/tests/org.eclipse.wst.xml.catalog.tests/data/Invoice/Invoice.dtd
deleted file mode 100644
index 0737ba6..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/Invoice/Invoice.dtd
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!ELEMENT Invoice (Header,Item+)>
-<!ELEMENT Header (Date,BillTo)>
-<!ATTLIST Header
- invoiceNumber CDATA #REQUIRED
->
-<!ELEMENT Item (description*)>
-<!ATTLIST Item
- price CDATA #REQUIRED
- discount (promotion | regular) "regular"
->
-<!ELEMENT Date ((Month,Day,Year)|(Day,Month,Year))>
-<!ELEMENT BillTo (Address)>
-<!ATTLIST BillTo
- custNumber ID #REQUIRED
- name CDATA #IMPLIED
- phone CDATA #IMPLIED
->
-<!ELEMENT description (#PCDATA)>
-<!ELEMENT Address (street1,street2?,city,(state|province),zip,country?)>
-<!ELEMENT street1 (#PCDATA)>
-<!ELEMENT street2 (#PCDATA)>
-<!ELEMENT city (#PCDATA)>
-<!ELEMENT state (#PCDATA)>
-<!ELEMENT province (#PCDATA)>
-<!ELEMENT zip (#PCDATA)>
-<!ELEMENT country (#PCDATA)>
-<!ELEMENT Month (#PCDATA)>
-<!ELEMENT Day (#PCDATA)>
-<!ELEMENT Year (#PCDATA)>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/Invoice/Invoice.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/Invoice/Invoice.xml
deleted file mode 100644
index 6afe397..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/Invoice/Invoice.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE Invoice PUBLIC "InvoiceId_test" "Invoice.dtd" >
-<Invoice>
-  <Header invoiceNumber="12345">
-    <Date>
-      <Month>July</Month>
-      <Day>15</Day>
-      <Year>2001</Year>
-    </Date>
-    <BillTo custNumber="X5739" name="Milton McGoo" phone="416-448-4414">
-      <Address>
-        <street1>IBM</street1>
-        <street2>1150 Eglinton Ave East</street2>
-        <city>Toronto</city>
-        <state>Ontario</state>
-        <zip>M3C 1H7</zip>
-        <country>Canada</country>
-      </Address>
-    </BillTo>
-  </Header>
-  <Item discount="promotion" price="57">
-    <description>high speed 3D graphics card</description>
-  </Item>
-</Invoice>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal-schema.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal-schema.xml
deleted file mode 100644
index c2f725b..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal-schema.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<personnel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	   xsi:noNamespaceSchemaLocation='personal.xsd'>
-
-  <person id="Big.Boss" >
-    <name><family>Boss</family> <given>Big</given></name>
-    <email>chief@foo.com</email>
-    <link subordinates="one.worker two.worker three.worker four.worker five.worker"/>
-  </person>
-
-  <person id="one.worker">
-    <name><family>Worker</family> <given>One</given></name>
-    <email>one@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="two.worker">
-    <name><family>Worker</family> <given>Two</given></name>
-    <email>two@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="three.worker">
-    <name><family>Worker</family> <given>Three</given></name>
-    <email>three@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="four.worker">
-    <name><family>Worker</family> <given>Four</given></name>
-    <email>four@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="five.worker">
-    <name><family>Worker</family> <given>Five</given></name>
-    <email>five@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-</personnel>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.dtd b/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.dtd
deleted file mode 100644
index c64e48a..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.dtd
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml encoding="UTF-8"?>
-<!ELEMENT personnel (person)+>
-
-<!ELEMENT person (name,email*,url*,link?)>
-<!ATTLIST person id ID #REQUIRED>
-<!ATTLIST person note CDATA #IMPLIED>
-<!ATTLIST person contr (true|false) 'false'>
-<!ATTLIST person salary CDATA #IMPLIED>
-
-<!ELEMENT name ((family,given)|(given,family))>
-
-<!ELEMENT family (#PCDATA)>
-
-<!ELEMENT given (#PCDATA)>
-
-<!ELEMENT email (#PCDATA)>
-
-<!ELEMENT url EMPTY>
-<!ATTLIST url href CDATA 'http://'>
-
-<!ELEMENT link EMPTY>
-<!ATTLIST link manager IDREF #IMPLIED>
-<!ATTLIST link subordinates IDREFS #IMPLIED>
-
-<!NOTATION gif PUBLIC '-//APP/Photoshop/4.0' 'photoshop.exe'>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.xml
deleted file mode 100644
index 9c3e438..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE personnel SYSTEM "http://personal/personal.dtd">
-<personnel>
-
-  <person id="Big.Boss">
-    <name><family>Boss</family> <given>Big</given></name>
-    <email>chief@foo.com</email>
-    <link subordinates="one.worker two.worker three.worker four.worker five.worker"/>
-  </person>
-
-  <person id="one.worker">
-    <name><family>Worker</family> <given>One</given></name>
-    <email>one@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="two.worker">
-    <name><family>Worker</family> <given>Two</given></name>
-    <email>two@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="three.worker">
-    <name><family>Worker</family> <given>Three</given></name>
-    <email>three@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="four.worker">
-    <name><family>Worker</family> <given>Four</given></name>
-    <email>four@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-  <person id="five.worker">
-    <name><family>Worker</family> <given>Five</given></name>
-    <email>five@foo.com</email>
-    <link manager="Big.Boss"/>
-  </person>
-
-</personnel>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.xsd
deleted file mode 100644
index 05e3183..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/Personal/personal.xsd
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
-
- <xs:element name="personnel">
-  <xs:complexType>
-   <xs:sequence>
-     <xs:element ref="person" minOccurs='1' maxOccurs='unbounded'/>
-   </xs:sequence>
-  </xs:complexType>
-
-  <xs:unique name="unique1">
-   <xs:selector xpath="person"/>
-   <xs:field xpath="name/given"/>
-   <xs:field xpath="name/family"/>
-  </xs:unique>
-  <xs:key name='empid'>
-   <xs:selector xpath="person"/>
-   <xs:field xpath="@id"/>
-  </xs:key>
-  <xs:keyref name="keyref1" refer='empid'>
-   <xs:selector xpath="person"/> 
-   <xs:field xpath="link/@manager"/>  
-  </xs:keyref>
-
- </xs:element>
-
- <xs:element name="person">
-  <xs:complexType>
-   <xs:sequence>
-     <xs:element ref="name"/>
-     <xs:element ref="email" minOccurs='0' maxOccurs='unbounded'/>
-     <xs:element ref="url"   minOccurs='0' maxOccurs='unbounded'/>
-     <xs:element ref="link"  minOccurs='1' maxOccurs='1'/>
-   </xs:sequence>
-   <xs:attribute name="id"  type="xs:ID" use='required'/>
-   <xs:attribute name="note" type="xs:string"/>
-   <xs:attribute name="contr" default="false">
-    <xs:simpleType>
-     <xs:restriction base = "xs:string">
-       <xs:enumeration value="true"/>
-       <xs:enumeration value="false"/>
-     </xs:restriction>
-    </xs:simpleType>
-   </xs:attribute>
-   <xs:attribute name="salary" type="xs:integer"/>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="name">
-  <xs:complexType>
-   <xs:all>
-    <xs:element ref="family"/>
-    <xs:element ref="given"/>
-   </xs:all>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="family" type='xs:string'/>
-
- <xs:element name="given" type='xs:string'/>
-
- <xs:element name="email" type='xs:string'/>
-
- <xs:element name="url">
-  <xs:complexType>
-   <xs:attribute name="href" type="xs:string" default="http://"/>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="link">
-  <xs:complexType>
-   <xs:attribute name="manager" type="xs:IDREF"/>
-   <xs:attribute name="subordinates" type="xs:IDREFS"/>
-  </xs:complexType>
- </xs:element>
-
- <xs:notation name='gif' public='-//APP/Photoshop/4.0' system='photoshop.exe'/>
-
-</xs:schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PublicationCatalogue/Catalogue.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/PublicationCatalogue/Catalogue.xml
deleted file mode 100644
index e66621d..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PublicationCatalogue/Catalogue.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<c:Catalogue xmlns:c="http://www.eclipse.org/webtools/Catalogue/test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eclipse.org/webtools/Catalogue/test Catalogue.xsd ">
-	<c:Book>
-		<title>Professional XML Schema</title>
-		<date>2001</date>
-		<isbn>1-861005-47-4</isbn>
-		<publisher>Wrox Press</publisher>
-	</c:Book>
-	<c:Magazine>
-		<title>WebSphere Developer's Journal</title>
-		<date>2001</date>
-	</c:Magazine>
-	<c:Book>
-		<title>Java and XSLT</title>
-		<date>2001</date>
-		<isbn>0-596-00143-6</isbn>
-		<publisher>O'Reilly</publisher>
-	</c:Book>
-</c:Catalogue>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PublicationCatalogue/Catalogue.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PublicationCatalogue/Catalogue.xsd
deleted file mode 100644
index 1668642..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PublicationCatalogue/Catalogue.xsd
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema targetNamespace="http://www.eclipse.org/webtools/Catalogue/test"
-	xmlns="http://www.w3.org/2001/XMLSchema"
-	xmlns:c="http://www.eclipse.org/webtools/Catalogue/test"
-	xsi:schemaLocation="http://www.eclipse.org/webtools/Catalogue/test Catalogue.xsd ">
-	<group name="test">
-		<sequence>
-			<element name="test1"></element>
-		</sequence>
-	</group>
-	<complexType name="PublicationType">
-		<sequence>
-			<element name="title" type="string"></element>
-			<element name="author" type="string" minOccurs="0"
-				maxOccurs="unbounded">
-			</element>
-			<element name="date" type="gYear"></element>
-		</sequence>
-	</complexType>
-
-	<complexType name="BookType">
-		<complexContent>
-			<extension base="c:PublicationType">
-				<sequence>
-					<element name="isbn" type="string" />
-					<element name="publisher" type="string" />
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-
-	<complexType name="MagazineType">
-		<complexContent>
-			<restriction base="c:PublicationType">
-				<sequence>
-					<element name="title" type="string" />
-					<element name="author" type="string" minOccurs="0"
-						maxOccurs="0" />
-					<element name="date" type="gYear"></element>
-				</sequence>
-			</restriction>
-		</complexContent>
-	</complexType>
-
-	<element name="Publication" type="c:PublicationType"
-		abstract="true">
-	</element>
-
-	<element name="Book" type="c:BookType"
-		substitutionGroup="c:Publication">
-	</element>
-
-	<element name="Magazine" type="c:MagazineType"
-		substitutionGroup="c:Publication">
-	</element>
-
-	<element name="Catalogue">
-		<complexType>
-			<sequence>
-				<element ref="c:Publication" maxOccurs="unbounded"></element>
-			</sequence>
-		</complexType>
-	</element>
-
-</schema>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/PurchaseOrder.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/PurchaseOrder.xml
deleted file mode 100644
index 12bd7e6..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/PurchaseOrder.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<po:purchaseOrder orderDate="2001-01-01" xmlns:po="http://www.ibm.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com PurchaseOrder.xsd">
-  <shipTo country="US">
-    <name>Alice Smith</name>
-    <street>125 Maple Street</street>
-    <city>Mill Valley</city>
-    <state>CA</state>
-    <zip>90952</zip>
-  </shipTo>
-  <billTo country="US">
-    <name>Robert Smith</name>
-    <street>8 Oak Avenue</street>
-    <city>Old Town</city>
-    <state>PA</state>
-    <zip>95819</zip>
-  </billTo>
-  <po:comment>Hurry, my lawn is going wild!</po:comment>
-  <items>
-    <item partNum="872-AA">
-      <productName>Lawnmower</productName>
-      <quantity>1</quantity>
-      <USPrice>148.95</USPrice>
-      <po:comment>Confirm this is electric</po:comment>
-    </item>
-    <item partNum="926-AA">
-      <productName>Baby Monitor</productName>
-      <quantity>1</quantity>
-      <USPrice>39.98</USPrice>
-      <shipDate>2001-07-21</shipDate>
-    </item>
-  </items>
-</po:purchaseOrder>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/PurchaseOrder.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/PurchaseOrder.xsd
deleted file mode 100644
index d0fb094..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/PurchaseOrder.xsd
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.ibm.com"
- xmlns:po="http://www.ibm.com">
-    <annotation>
-        <documentation xml:lang="en">
-            Purchase order schema example from XML Schema Part 0: Primer
-        
-            Copyright 2001, IBM Corp. All rights reserved
-            Copyright 2001, World Wide Web Consortium, 
-            (Massachusetts Institute of Technology, Institut National de Recherche en Informatiqueet en Automatique, Keio University).
-            All Rights Reserved.
-        </documentation>
-    </annotation>
-
-    <element name="purchaseOrder" type="po:PurchaseOrderType"/>
-
-    <element name="comment" type="string"/>
-
-    <complexType name="PurchaseOrderType">
-        <sequence>
-            <element name="shipTo" type="po:USAddress"/>
-            <element name="billTo" type="po:USAddress"/>
-            <element ref="po:comment" minOccurs="0"/>
-            <element name="items" type="po:Items"/>
-        </sequence>
-        <attribute name="orderDate" type="date"/>
-    </complexType>
-
-    <complexType name="USAddress">
-        <sequence>
-            <element name="name" type="string"/>
-            <element name="street" type="string"/>
-            <element name="city" type="string"/>
-            <element name="state" type="po:USState"/>
-            <element name="zip" type="decimal"/>
-        </sequence>
-        <attribute name="country" type="NMTOKEN" fixed="US"/>
-    </complexType>
-
-    <complexType name="Items">
-        <sequence>
-            <element name="item" minOccurs="0" maxOccurs="unbounded">
-                <complexType>
-                    <sequence>
-                        <element name="productName" type="string"/>
-                        <element name="quantity">
-                            <simpleType>
-                                <restriction base="positiveInteger">
-                                    <maxExclusive value="100"/>
-                                </restriction>
-                            </simpleType>
-                        </element>
-                        <element name="USPrice" type="decimal"/>
-                        <element ref="po:comment" minOccurs="0"/>
-                        <element name="shipDate" type="date" minOccurs="0"/>
-                    </sequence>
-                    <attribute name="partNum" type="po:SKU" use="required"/>
-                </complexType>
-            </element>
-        </sequence>
-    </complexType>
-
-    <simpleType name="SKU">
-        <restriction base="string">
-            <pattern value="\d{3}-[A-Z]{2}"/>
-        </restriction>
-    </simpleType>
-    
-    <simpleType name="USState">
-        <restriction base="string">
-            <enumeration value="CA"></enumeration>
-            <enumeration value="PA"></enumeration>
-            <enumeration value="AR"></enumeration>
-        </restriction>
-    </simpleType>
-</schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/address.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/address.xsd
deleted file mode 100644
index 26ea442..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/address.xsd
+++ /dev/null
@@ -1,68 +0,0 @@
-<schema targetNamespace="http://www.example.com/IPO"
-        xmlns="http://www.w3.org/2001/XMLSchema"
-        xmlns:ipo="http://www.example.com/IPO">
-
- <annotation>
-  <documentation xml:lang="en">
-   Addresses for International Purchase order schema
-   Copyright 2000 Example.com. All rights reserved.
-  </documentation> 
- </annotation>
-
- <complexType name="Address">
-  <sequence>
-   <element name="name"   type="string"/>
-   <element name="street" type="string"/>
-   <element name="city"   type="string"/>
-  </sequence>
- </complexType>
-
- <complexType name="USAddress">
-  <complexContent>
-   <extension base="ipo:Address">
-    <sequence>
-     <element name="state" type="ipo:USState"/>
-     <element name="zip"   type="positiveInteger"/>
-    </sequence>
-   </extension>
-  </complexContent>
- </complexType>
-
- <complexType name="UKAddress">
-  <complexContent>
-   <extension base="ipo:Address">
-    <sequence>
-     <element name="postcode" type="ipo:UKPostcode"/>
-    </sequence>
-    <attribute name="exportCode" type="positiveInteger" fixed="1"/>
-   </extension>
-  </complexContent>
- </complexType>
-
- <!-- other Address derivations for more countries --> 
-
- <simpleType name="USState">
-  <restriction base="string">
-   <enumeration value="AK"/>
-   <enumeration value="AL"/>
-   <enumeration value="AR"/>
-   <!-- and so on ... -->
-  </restriction>
- </simpleType>
-
- <!-- simple type definition for Postcode -->
- <simpleType name="Postcode">
-  <restriction base="string">
-  </restriction>
- </simpleType>
-
- <!-- simple type definition for UKPostcode -->
- <simpleType name="UKPostcode">
-  <restriction base="ipo:Postcode">
-    <pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
-  </restriction>
- </simpleType>
-
-
-</schema>
-
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo.xml
deleted file mode 100644
index d483ade..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<ipo:purchaseOrder
-  orderDate="2001-01-01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipo="http://www.example.com/IPO" xsi:schemaLocation="http://www.example.com/IPO ipo.xsd ">
-
-    <shipTo exportCode="1" xsi:type="ipo:UKAddress">
-        <name>Helen Zoe</name>
-        <street>47 Eden Street</street>
-        <city>Cambridge</city>
-        <postcode>CB1 1JR</postcode>
-    </shipTo>
-
-    <billTo xsi:type="ipo:USAddress">
-        <name>Robert Smith</name>
-        <street>8 Oak Avenue</street>
-        <city>Old Town</city>
-        <state>AR</state>
-        <zip>95819</zip>
-    </billTo>
-
-    <items>
-        <item partNum="833-AA">
-            <productName>Lapis necklace</productName>
-            <quantity>1</quantity>
-            <USPrice>99.95</USPrice>
-            <ipo:comment>Want this for the holidays!</ipo:comment>
-            <shipDate>1999-12-05</shipDate>
-        </item>
-    </items>
-</ipo:purchaseOrder>
-
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo.xsd
deleted file mode 100644
index 7a63d01..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo.xsd
+++ /dev/null
@@ -1,59 +0,0 @@
-<schema targetNamespace="http://www.example.com/IPO"
-        xmlns="http://www.w3.org/2001/XMLSchema"
-        xmlns:ipo="http://www.example.com/IPO">
-
- <annotation>
-  <documentation xml:lang="en">
-   International Purchase order schema for Example.com
-   Copyright 2000 Example.com. All rights reserved.
-  </documentation> 
- </annotation>
-
- <!-- include address constructs -->
- <include
-  schemaLocation="address.xsd"/>
-
- <element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
-
- <element name="comment" type="string"/>
-
- <complexType name="PurchaseOrderType">
-  <sequence>
-   <element name="shipTo"     type="ipo:Address"/>
-   <element name="billTo"     type="ipo:Address"/>
-   <element ref="ipo:comment" minOccurs="0"/>
-   <element name="items"      type="ipo:Items"/>
-  </sequence>
-  <attribute name="orderDate" type="date"/>
- </complexType>
-
- <complexType name="Items">
-  <sequence>
-   <element name="item" minOccurs="0" maxOccurs="unbounded">
-    <complexType>
-     <sequence>
-      <element name="productName" type="string"/>
-      <element name="quantity">
-       <simpleType>
-        <restriction base="positiveInteger">
-         <maxExclusive value="100"/>
-        </restriction>
-       </simpleType>
-      </element>
-      <element name="USPrice"    type="decimal"/>
-      <element ref="ipo:comment" minOccurs="0"/>
-      <element name="shipDate"   type="date" minOccurs="0"/>
-     </sequence>
-     <attribute name="partNum" type="ipo:SKU" use="required"/>
-    </complexType>
-   </element>
-  </sequence>
- </complexType>
-
- <simpleType name="SKU">
-  <restriction base="string">
-   <pattern value="\d{3}-[A-Z]{2}"/>
-  </restriction>
- </simpleType>
-
-</schema>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo_.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo_.xsd
deleted file mode 100644
index 436d49d..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/ipo_.xsd
+++ /dev/null
@@ -1,59 +0,0 @@
-<schema targetNamespace="http://www.example.com/IPO"
-        xmlns="http://www.w3.org/2001/XMLSchema"
-        xmlns:ipo="http://www.example.com/IPO">
-
- <annotation>
-  <documentation xml:lang="en">
-   International Purchase order schema for Example.com
-   Copyright 2000 Example.com. All rights reserved.
-  </documentation> 
- </annotation>
-
- <!-- include address constructs -->
- <include
-  schemaLocation="address_.xsd"/>
-
- <element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
-
- <element name="comment" type="string"/>
-
- <complexType name="PurchaseOrderType">
-  <sequence>
-   <element name="shipTo"     type="ipo:Address"/>
-   <element name="billTo"     type="ipo:Address"/>
-   <element ref="ipo:comment" minOccurs="0"/>
-   <element name="items"      type="ipo:Items"/>
-  </sequence>
-  <attribute name="orderDate" type="date"/>
- </complexType>
-
- <complexType name="Items">
-  <sequence>
-   <element name="item" minOccurs="0" maxOccurs="unbounded">
-    <complexType>
-     <sequence>
-      <element name="productName" type="string"/>
-      <element name="quantity">
-       <simpleType>
-        <restriction base="positiveInteger">
-         <maxExclusive value="100"/>
-        </restriction>
-       </simpleType>
-      </element>
-      <element name="USPrice"    type="decimal"/>
-      <element ref="ipo:comment" minOccurs="0"/>
-      <element name="shipDate"   type="date" minOccurs="0"/>
-     </sequence>
-     <attribute name="partNum" type="ipo:SKU" use="required"/>
-    </complexType>
-   </element>
-  </sequence>
- </complexType>
-
- <simpleType name="SKU">
-  <restriction base="string">
-   <pattern value="\d{3}-[A-Z]{2}"/>
-  </restriction>
- </simpleType>
-
-</schema>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report.xml
deleted file mode 100644
index 98ed6f1..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ex:purchaseReport
-        xmlns:ex="http://www.example.com/Report"
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.example.com/Report report.xsd">
-    <ex:regions>
-        <ex:zip code="39487">
-            <ex:part number="293-AX" quantity="3"/>
-            <ex:part number="293-LD" quantity="3"/>
-        </ex:zip>
-        <ex:zip code="29387">
-            <ex:part number="897-JD" quantity="30"/>
-        </ex:zip>
-        <ex:zip code="19285">
-            <ex:part number="123-CK" quantity="19"/>
-            <ex:part number="175-FQ" quantity="8"/>
-        </ex:zip>
-    </ex:regions>
-
-    <ex:parts>
-        <ex:part number="293-AX"/>
-        <ex:part number="897-JD"/>
-        <ex:part number="123-CK"/>
-        <ex:part number="293-LD"/>
-        <ex:part number="175-FQ"/>
-    </ex:parts>
-</ex:purchaseReport>
-
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report.xsd
deleted file mode 100644
index 0ee7ca4..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report.xsd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.example.com/Report"
- xmlns:r="http://www.example.com/Report"
- xmlns:xipo="http://www.example.com/IPO"
- elementFormDefault="qualified">
-    <annotation>
-        <documentation>
-            The Report Schema from XML Schema Part 0: Primer
-            
-            Copyright 2001, IBM Corp. All Rights Reserved.
-            Copyright 2001, World Wide Web Consortium 
-            (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University).
-            All Rights Reserved.
-        </documentation>
-    </annotation>
-
-    <import namespace="http://www.example.com/IPO" schemaLocation="ipo.xsd"/>
-
-    <element name="purchaseReport">
-        <complexType>
-            <sequence>
-                <element name="regions" type="r:RegionsType"/>
-                   
-                <element name="parts" type="r:PartsType"/>
-            </sequence>
-            <attribute name="period" type="duration"/>
-            <attribute name="periodEnding" type="date"/>
-        </complexType>
-        
-        <unique name="dummy1">
-            <selector xpath="r:regions/r:zip"/>
-            <field xpath="@code"/>
-        </unique>
-        
-        <key name="pNumKey">
-            <selector xpath="r:parts/r:part"/>
-            <field xpath="@number"/>
-        </key>
-        <keyref name="dummy2" refer="r:pNumKey">
-            <selector xpath="r:regions/r:zip/r:part"/>
-            <field xpath="@number"/>
-        </keyref>
-    </element>
-
-    <complexType name="RegionsType">
-        <sequence>
-            <element name="zip" maxOccurs="unbounded">
-                <complexType>
-                    <sequence>
-                        <element name="part" maxOccurs="unbounded">
-                            <complexType>
-                                <complexContent>
-                                    <restriction base="anyType">
-                                        <attribute name="number" type="xipo:SKU"/>
-                                        <attribute name="quantity" type="positiveInteger"/>
-                                    </restriction>
-                                </complexContent>
-                            </complexType>
-                        </element>
-                    </sequence>
-                    <attribute name="code" type="positiveInteger"/>
-                </complexType>
-            </element>
-        </sequence>
-    </complexType>
-
-    <complexType name="PartsType">
-        <sequence>
-            <element name="part" maxOccurs="unbounded">
-                <complexType>
-                    <simpleContent>
-                        <extension base="string">
-                            <attribute name="number" type="xipo:SKU"/>
-                        </extension>
-                    </simpleContent>
-                </complexType>
-            </element>
-        </sequence>
-    </complexType>
-</schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report_.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report_.xml
deleted file mode 100644
index 7d34ce1..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report_.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ex:purchaseReport
-        xmlns:ex="http://www.example.com/Report"
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://www.example.com/Report">
-    <ex:regions>
-        <ex:zip code="39487">
-            <ex:part number="293-AX" quantity="3"/>
-            <ex:part number="293-LD" quantity="3"/>
-        </ex:zip>
-        <ex:zip code="29387">
-            <ex:part number="897-JD" quantity="30"/>
-        </ex:zip>
-        <ex:zip code="19285">
-            <ex:part number="123-CK" quantity="19"/>
-            <ex:part number="175-FQ" quantity="8"/>
-        </ex:zip>
-    </ex:regions>
-
-    <ex:parts>
-        <ex:part number="293-AX"/>
-        <ex:part number="897-JD"/>
-        <ex:part number="123-CK"/>
-        <ex:part number="293-LD"/>
-        <ex:part number="175-FQ"/>
-    </ex:parts>
-</ex:purchaseReport>
-
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report_.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report_.xsd
deleted file mode 100644
index cb284be..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/PurchaseOrder/international/report_.xsd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.example.com/Report"
- xmlns:r="http://www.example.com/Report"
- xmlns:xipo="http://www.example.com/IPO"
- elementFormDefault="qualified">
-    <annotation>
-        <documentation>
-            The Report Schema from XML Schema Part 0: Primer
-            
-            Copyright 2001, IBM Corp. All Rights Reserved.
-            Copyright 2001, World Wide Web Consortium 
-            (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University).
-            All Rights Reserved.
-        </documentation>
-    </annotation>
-
-    <import namespace="http://www.example.com/IPO" schemaLocation="ipo__.xsd"/>
-
-    <element name="purchaseReport">
-        <complexType>
-            <sequence>
-                <element name="regions" type="r:RegionsType"/>
-                   
-                <element name="parts" type="r:PartsType"/>
-            </sequence>
-            <attribute name="period" type="duration"/>
-            <attribute name="periodEnding" type="date"/>
-        </complexType>
-        
-        <unique name="dummy1">
-            <selector xpath="r:regions/r:zip"/>
-            <field xpath="@code"/>
-        </unique>
-        
-        <key name="pNumKey">
-            <selector xpath="r:parts/r:part"/>
-            <field xpath="@number"/>
-        </key>
-        <keyref name="dummy2" refer="r:pNumKey">
-            <selector xpath="r:regions/r:zip/r:part"/>
-            <field xpath="@number"/>
-        </keyref>
-    </element>
-
-    <complexType name="RegionsType">
-        <sequence>
-            <element name="zip" maxOccurs="unbounded">
-                <complexType>
-                    <sequence>
-                        <element name="part" maxOccurs="unbounded">
-                            <complexType>
-                                <complexContent>
-                                    <restriction base="anyType">
-                                        <attribute name="number" type="xipo:SKU"/>
-                                        <attribute name="quantity" type="positiveInteger"/>
-                                    </restriction>
-                                </complexContent>
-                            </complexType>
-                        </element>
-                    </sequence>
-                    <attribute name="code" type="positiveInteger"/>
-                </complexType>
-            </element>
-        </sequence>
-    </complexType>
-
-    <complexType name="PartsType">
-        <sequence>
-            <element name="part" maxOccurs="unbounded">
-                <complexType>
-                    <simpleContent>
-                        <extension base="string">
-                            <attribute name="number" type="xipo:SKU"/>
-                        </extension>
-                    </simpleContent>
-                </complexType>
-            </element>
-        </sequence>
-    </complexType>
-</schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/catalog.xsd
deleted file mode 100644
index b00c82c..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog.xsd
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           xmlns:er="http://oasis.names.tc.entity.xmlns.xml.catalog"
-           targetNamespace="http://oasis.names.tc.entity.xmlns.xml.catalog"
-           elementFormDefault="qualified">
-
-  <!-- $Id: catalog.xsd,v 1.1 2005/06/24 04:17:50 csalter Exp $ -->
-
-  <xs:simpleType name="pubIdChars">
-    <!-- A string of the characters defined as pubIdChar in production 13
-         of the Second Edition of the XML 1.0 Recommendation. Does not include
-         the whitespace characters because they're normalized by XML parsing. -->
-    <xs:restriction base="xs:string">
-      <xs:pattern value="[a\-zA\-Z0\-9\-'()+,./:=?;!*#@$_%]*"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name='publicIdentifier'>
-    <xs:restriction base="er:pubIdChars"/>
-  </xs:simpleType>
-
-  <xs:simpleType name='partialPublicIdentifier'>
-    <xs:restriction base='er:pubIdChars'/>
-  </xs:simpleType>
-
-  <xs:simpleType name='systemOrPublic'>
-    <xs:restriction base='xs:string'>
-      <xs:enumeration value='system'/>
-      <xs:enumeration value='public'/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <!-- The global attribute xml:base is not explicitly declared; -->
-  <!-- it is allowed by the anyAttribute declarations. -->
-
-  <xs:complexType name='catalog'>
-    <xs:choice minOccurs='1' maxOccurs='unbounded'>
-      <xs:element ref='er:public'/>
-      <xs:element ref='er:system'/>
-      <xs:element ref='er:uri'/>
-      <xs:element ref='er:rewriteSystem'/>
-      <xs:element ref='er:rewriteURI'/>
-      <xs:element ref='er:delegatePublic'/>
-      <xs:element ref='er:delegateSystem'/>
-      <xs:element ref='er:delegateURI'/>
-      <xs:element ref='er:nextCatalog'/>
-      <xs:element ref='er:group'/>
-      <xs:any namespace='##other' processContents='skip'/>
-    </xs:choice>
-    <xs:attribute name='id' type='xs:ID'/>
-    <xs:attribute name='prefer' type='er:systemOrPublic'/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-  </xs:complexType>
-
-  <xs:complexType name='public'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="publicId" type="er:publicIdentifier"
-                       use="required"/>
-        <xs:attribute name="uri" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='system'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="systemId" type="xs:string"
-                       use="required"/>
-        <xs:attribute name="uri" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='uri'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="name" type="xs:anyURI"
-                       use="required"/>
-        <xs:attribute name="uri" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='rewriteSystem'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="systemIdStartString"
-                       type="xs:string"
-                       use="required"/>
-        <xs:attribute name="rewritePrefix" type="xs:string" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='rewriteURI'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="uriIdStartString"
-                       type="xs:string"
-                       use="required"/>
-        <xs:attribute name="rewritePrefix" type="xs:string" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='delegatePublic'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="publicIdStartString"
-                       type="er:partialPublicIdentifier"
-                       use="required"/>
-        <xs:attribute name="catalog" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='delegateSystem'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="systemIdStartString"
-                       type="xs:string"
-                       use="required"/>
-        <xs:attribute name="catalog" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='delegateURI'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="uriStartString"
-                       type="xs:string"
-                       use="required"/>
-        <xs:attribute name="catalog" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='nextCatalog'>
-    <xs:complexContent>
-      <xs:restriction base="xs:anyType">
-        <xs:attribute name="catalog" type="xs:anyURI" use="required"/>
-        <xs:attribute name='id' type='xs:ID'/>
-        <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name='group'>
-    <xs:choice minOccurs='1' maxOccurs='unbounded'>
-      <xs:element ref='er:public'/>
-      <xs:element ref='er:system'/>
-      <xs:element ref='er:uri'/>
-      <xs:element ref='er:rewriteSystem'/>
-      <xs:element ref='er:rewriteURI'/>
-      <xs:element ref='er:delegatePublic'/>
-      <xs:element ref='er:delegateSystem'/>
-      <xs:element ref='er:delegateURI'/>
-      <xs:element ref='er:nextCatalog'/>
-      <xs:any namespace='##other' processContents='skip'/>
-    </xs:choice>
-    <xs:attribute name='prefer' type='er:systemOrPublic'/>
-    <xs:attribute name='id' type='xs:ID'/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-  </xs:complexType>
-
-  <xs:element name="catalog" type="er:catalog"/>
-  <xs:element name="public" type="er:public"/>
-  <xs:element name="system" type="er:system"/>
-  <xs:element name="uri" type="er:uri"/>
-  <xs:element name="rewriteSystem" type="er:rewriteSystem"/>
-  <xs:element name="rewriteURI" type="er:rewriteURI"/>
-  <xs:element name="delegatePublic" type="er:delegatePublic"/>
-  <xs:element name="delegateSystem" type="er:delegateSystem"/>
-  <xs:element name="delegateURI" type="er:delegateURI"/>
-  <xs:element name="nextCatalog" type="er:nextCatalog"/>
-  <xs:element name="group" type="er:group"/>
-
-</xs:schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog1.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/catalog1.xml
deleted file mode 100644
index 124bc14..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog1.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-  <public publicId="InvoiceId_test" uri="./Invoice/Invoice.dtd" webURL="http://webURL"/>
-  <system systemId="Invoice.dtd" uri="./Invoice/Invoice.dtd" chached="yes" property="value1"/>
-  <uri name="http://www.test.com/Invoice.dtd" uri="./Invoice/Invoice.dtd" chached="no" property="value2"/>
-  <nextCatalog catalog="catalog2.xml" id="nextCatalog1"/>
-</catalog>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog2.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/catalog2.xml
deleted file mode 100644
index 4eca03c..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog2.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?> 
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-  <public publicId="http://www.eclipse.org/webtools/Catalogue_001" uri="./PublicationCatalog/Catalogue.xsd" /> 
-  <system systemId="Catalogue.xsd" uri="./PublicationCatalog/Catalogue.xsd" /> 
-  <uri name="http://www.eclipse.org/webtools/Catalogue.xsd" uri="http://www.eclipse.org/webtools/Catalogue/Catalogue.xsd" /> 
-  <group id="group1" prefer="system">
-    <public publicId="http://www.eclipse.org/webtools/Catalogue_002" uri="./PublicationCatalog/Catalogue.xsd" /> 
-  </group>
-  </catalog>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog2bak.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/catalog2bak.xml
deleted file mode 100644
index b0a5b23..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/catalog2bak.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-  <public publicId="http://www.eclipse.org/webtools/Catalogue" uri="./PublicationCatalog/Catalogue.xsd"/>
-  <system systemId="Catalogue.xsd" uri="./PublicationCatalog/Catalogue.xsd"/>
-   <group id="group1" prefer="system">
- 		<uri name="http://Catalogue.xsd" uri="http://www.eclipse.org/webtools/Catalogue/Catalogue.xsd"/>
-   </group>
-</catalog>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/compatabilityTest.xmlcatalog b/tests/org.eclipse.wst.xml.catalog.tests/data/compatabilityTest.xmlcatalog
deleted file mode 100644
index a884551..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/compatabilityTest.xmlcatalog
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>

-<XMLCatalogSettings>

-  <UserEntries>

-    <UserEntry TYPE="PUBLIC" ID="InvoiceId" 

-URI="platform:/resource/XMLExamples/Invoice2/Invoice.dtd"/>

-  </UserEntries>

-</XMLCatalogSettings>

diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/delegateAndRewrite/catalog.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/delegateAndRewrite/catalog.xml
deleted file mode 100644
index 7c794c5..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/delegateAndRewrite/catalog.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
-  <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
-  <delegatePublic publicIdStartString="ISO 8879:1986" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
-  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
-  <delegateURI uriStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
-  <rewriteSystem systemIdStartString="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" rewritePrefix="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
-  <rewriteURI uriStartString="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" rewritePrefix="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
-</catalog>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/docbook/xmlcatalog.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/docbook/xmlcatalog.xml
deleted file mode 100644
index d283dee..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/docbook/xmlcatalog.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-  <public publicId="ISO 8879:1986//ENTITIES Publishing//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-pub.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-grk1.ent"/>
-  <public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/dbpoolx.mod"/>
-  <public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-box.ent"/>
-  <public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/docbookx.dtd"/>
-  <public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-grk3.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-amsn.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-num.ent"/>
-  <public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/dbcentx.mod"/>
-  <public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-grk4.ent"/>
-  <public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/dbnotnx.mod"/>
-  <public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-dia.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-grk2.ent"/>
-  <public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/dbgenent.mod"/>
-  <public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/dbhierx.mod"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-amsa.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-amso.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-cyrl.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES General Technical//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-tech.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-amsc.ent"/>
-  <public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" uri="xml-dtd-4.2-1.0-17.2/soextblx.dtd"/>
-  <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" uri="xml-dtd-4.1.2-1.0-17.2/calstblx.dtd"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-lat1.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-amsb.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-lat2.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-amsr.ent"/>
-  <public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" uri="xml-dtd-4.2-1.0-17.2/ent/iso-cyr2.ent"/>
-  <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2" rewritePrefix="xml-dtd-4.1.2-1.0-17.2"/>
-  <rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.1.2" rewritePrefix="xml-dtd-4.1.2-1.0-17.2"/>
-  <public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/dbpoolx.mod"/>
-  <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/docbookx.dtd"/>
-  <public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/dbcentx.mod"/>
-  <public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/dbnotnx.mod"/>
-  <public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/dbgenent.mod"/>
-  <public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/dbhierx.mod"/>
-  <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.2//EN" uri="xml-dtd-4.2-1.0-17.2/calstblx.dtd"/>
-  <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2" rewritePrefix="xml-dtd-4.2-1.0-17.2"/>
-  <rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.2" rewritePrefix="xml-dtd-4.2-1.0-17.2"/>
-</catalog>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example-catalog.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/example-catalog.xml
deleted file mode 100644
index a67cd07..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example-catalog.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE catalog
- PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
- "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
-         prefer="public">
- <uri name="http://apache.org/xml/xcatalog/example" uri="./example/example.xsd"/>  
- <system systemId="myexample.xsd" uri="./example/example-nonamespace.xsd"/>    
-    
- <delegatePublic publicIdStartString="-//A//"
-                 catalog="example-catalog2.xml"/>
-
-                   
-</catalog>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example-catalog2.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/example-catalog2.xml
deleted file mode 100644
index 18bb1ef..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example-catalog2.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE catalog
- PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
- "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
-         prefer="public">
- <public publicId="-//A//XML CATALOG IDENTIFIER//EN" 
-         uri="./example/example.ent"/>
-</catalog>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-dtd.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-dtd.xml
deleted file mode 100644
index 94aaae9..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-dtd.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE root [
- <!ENTITY text PUBLIC "-//A//XML CATALOG IDENTIFIER//EN" 
-  "urn:publicid:-:A:XML+CATALOG+IDENTIFIER:EN">
-]>
-<root>&text;</root>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-nonamespace.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-nonamespace.xsd
deleted file mode 100644
index ef2998d..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-nonamespace.xsd
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="root" type="xs:anyURI"/>
-</xs:schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-schema-nonamespace.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-schema-nonamespace.xml
deleted file mode 100644
index 39175f1..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-schema-nonamespace.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	   xsi:noNamespaceSchemaLocation="myexample.xsd">
-http://apache.org/xml/anyURI</root>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-schema.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-schema.xml
deleted file mode 100644
index f97cb3b..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example-schema.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0"?>
-<root  xmlns="http://apache.org/xml/xcatalog/example">
-http://apache.org/xml/anyURI</root>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example.ent b/tests/org.eclipse.wst.xml.catalog.tests/data/example/example.ent
deleted file mode 100644
index cd08755..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example.ent
+++ /dev/null
@@ -1 +0,0 @@
-Hello world!
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/example/example.xsd
deleted file mode 100644
index 41a29fe..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/example/example.xsd
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           xmlns="http://apache.org/xml/xcatalog/example"
-           targetNamespace="http://apache.org/xml/xcatalog/example">
- <xs:element name="root" type="xs:anyURI"/>
-</xs:schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_mappedincluded.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_mappedincluded.xml
deleted file mode 100644
index bf127b1..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_mappedincluded.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE catalog
- PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
- "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
-	prefer="public">
-	
-	<uri name="http://www.example.com/Report"
-		uri="./PurchaseOrder/international/report_.xsd" />
-    <!-- we can not map PublicId or URI of the included/redefined schemas -->	
-	<uri name="http://www.example.com/IPO"
-		uri="./PurchaseOrder/international/ipo_.xsd" />
-	<system systemId="address_.xsd"
-		uri="./PurchaseOrder/international/address.xsd" />
-
-</catalog>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_public.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_public.xml
deleted file mode 100644
index 734ecba..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_public.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE catalog
- PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
- "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
-	prefer="public">
-	
-	<uri name="http://www.example.com/Report"
-		uri="./PurchaseOrder/international/report_.xsd" />
-    <!-- we can not map PublicId or URI of the included/redefined schemas -->	
-	<uri name="http://www.example.com/IPO"
-		uri="./PurchaseOrder/international/ipo.xsd" />
-	
-
-
-</catalog>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_system.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_system.xml
deleted file mode 100644
index c66a1b9..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/report-catalog_system.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE catalog
- PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
- "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-
-	<uri name="http://www.example.com/Report"
-		uri="./PurchaseOrder/international/report_.xsd" />
-	<system systemId="ipo__.xsd"
-		uri="./PurchaseOrder/international/ipo_.xsd" />
-	<system systemId="address_.xsd"
-		uri="./PurchaseOrder/international/address.xsd" />
-
-</catalog>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/schemas.jar b/tests/org.eclipse.wst.xml.catalog.tests/data/schemas.jar
deleted file mode 100644
index 9d1e4da..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/schemas.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/catalog.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/catalog.xml
deleted file mode 100644
index 98b04a1..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/catalog.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" xml:base=".">
-   		<public publicId="myquote" uri="quote2.xml"/>  
-</catalog>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/quote1.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/quote1.xml
deleted file mode 100644
index 1fcba52..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/quote1.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-  <!-- I belong to:
-       org.apache.tools.ant.types.XMLCatalogBuildFileTest.java 
-       -->
-
-<para>
-  A stitch in time saves nine
-</para>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/quote2.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/quote2.xml
deleted file mode 100644
index 10cd14e..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/quote2.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<para>
-  No news is good news
-</para>
-
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog.xsl b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog.xsl
deleted file mode 100644
index e692b0e..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog.xsl
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet 
-  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  version="1.0">
-
-  <xsl:output method="text"/>
-
-  <!-- name of the output parameter to write -->
-  <xsl:param name="outprop">value</xsl:param>
-
-  <xsl:strip-space elements="*"/>
-
-  <xsl:template match="/">
-    <xsl:value-of select="$outprop"/>: <xsl:apply-templates select="/fragment/para"/>
-  </xsl:template>
-
-  <!-- This will only be matched in doc2.xml -->
-  <xsl:template match="Ref">
-    <xsl:apply-templates select="document(@file)/fragment/para"/>
-  </xsl:template>
-
-  <!-- This will only be matched in doc1.xml -->
-  <xsl:template match="text()">
-    <xsl:value-of select="normalize-space(.)"/>
-  </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog1.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog1.xml
deleted file mode 100644
index 11c730d..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog1.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE fragment [
-  <!ENTITY quote PUBLIC "myquote" "quote1.xml">
-]>
-
-<fragment>
-  <para>
-      &quote;
-  </para>
-</fragment>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml
deleted file mode 100644
index dd41d0b..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<fragment>
-  <para>
-    <Ref file="xmlcatalog1.xml"/>
-  </para>
-</fragment>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-out b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-out
deleted file mode 100644
index e9d7fc5..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-out
+++ /dev/null
@@ -1 +0,0 @@
-testvalue: A stitch in time saves nine
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-out-diff b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-out-diff
deleted file mode 100644
index 987a5db..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-out-diff
+++ /dev/null
@@ -1,2 +0,0 @@
-<<<< testvalue: A stitch in time saves nine

-<<<< testvalue: No news is good news

diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-result b/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-result
deleted file mode 100644
index 1de28a7..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/testXSLTwithCatalogResolver/xmlcatalog2.xml-result
+++ /dev/null
@@ -1 +0,0 @@
-testvalue: No news is good news
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/data/xsd/XSLSchema.xsd b/tests/org.eclipse.wst.xml.catalog.tests/data/xsd/XSLSchema.xsd
deleted file mode 100644
index e99645a..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/data/xsd/XSLSchema.xsd
+++ /dev/null
@@ -1,390 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/XSL/Transform">
-	<!-- xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd" /-->
-
-	<xsd:element name="stylesheet" type="wrapper" />
-	<xsd:element name="transform" type="wrapper" />
-
-	<xsd:complexType name="wrapper">
-		<xsd:group ref="topLevelElements" minOccurs="0" maxOccurs="unbounded" />
-		<xsd:attribute name="extension-element-prefixes" type="xsd:string" use="optional" />
-		<xsd:attribute name="exclude-result-prefixes" type="xsd:string" use="optional" />
-		<xsd:attribute name="id" type="xsd:ID" use="optional" />
-		<xsd:attribute name="version" type="xsd:NMTOKEN" use="optional" />
-		<!--  xsd:attribute ref="xml:space" /-->
-	</xsd:complexType>
-
-	<xsd:element name="import">
-		<xsd:complexType>
-			<xsd:attribute name="href" type="xsd:anyURI" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-	<xsd:element name="include">
-		<xsd:complexType>
-			<xsd:attribute name="href" type="xsd:anyURI" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="strip-space">
-		<xsd:complexType>
-			<xsd:attribute name="elements" type="xsd:string" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-	<xsd:element name="preserve-space">
-		<xsd:complexType>
-			<xsd:attribute name="elements" type="xsd:string" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="output">
-		<xsd:complexType>
-			<xsd:attribute name="method" use="optional">
-				<xsd:simpleType>
-					<xsd:restriction base="xsd:string">
-						<xsd:enumeration value="xml" />
-						<xsd:enumeration value="html" />
-						<xsd:enumeration value="text" />
-					</xsd:restriction>
-				</xsd:simpleType>
-			</xsd:attribute>
-			<xsd:attribute name="version" type="xsd:NMTOKEN" use="optional" />
-			<xsd:attribute name="encoding" type="xsd:NMTOKEN" use="optional" />
-			<xsd:attribute name="omit-xml-declaration" use="optional" type="YesNoType" />
-			<xsd:attribute name="standalone" use="optional" type="YesNoType" />
-			<xsd:attribute name="doctype-public" type="xsd:string" use="optional" />
-			<xsd:attribute name="doctype-system" type="xsd:string" use="optional" />
-			<xsd:attribute name="cdata-section-elements" type="xsd:NMTOKENS" use="optional" />
-			<xsd:attribute name="indent" use="optional" type="YesNoType" />
-			<xsd:attribute name="media-type" type="xsd:string" use="optional" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="key">
-		<xsd:complexType>
-			<xsd:attribute name="name" type="xsd:NMTOKEN" use="required" />
-			<xsd:attribute name="match" type="pattern" use="required" />
-			<xsd:attribute name="use" type="expression" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="decimal-format">
-		<xsd:complexType>
-			<xsd:attribute name="name" type="xsd:NMTOKEN" use="optional" />
-			<xsd:attribute default="." name="decimal-separator" type="xsd:string" />
-			<xsd:attribute default="," name="grouping-separator" type="xsd:string" />
-			<xsd:attribute default="Infinity" name="infinity" type="xsd:string" />
-			<xsd:attribute default="-" name="minus-sign" type="xsd:string" />
-			<xsd:attribute default="NaN" name="NaN" type="xsd:string" />
-			<xsd:attribute default="%" name="percent" type="xsd:string" />
-			<xsd:attribute default="‰" name="per-mille" type="xsd:string" />
-			<xsd:attribute default="0" name="zero-digit" type="xsd:string" />
-			<xsd:attribute default="#" name="digit" type="xsd:string" />
-			<xsd:attribute default=";" name="pattern-separator" type="xsd:string" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="namespace-alias">
-		<xsd:complexType>
-			<xsd:attribute name="stylesheet-prefix" type="xsd:string" use="required" />
-			<xsd:attribute name="result-prefix" type="xsd:string" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="template">
-		<xsd:complexType mixed="true">
-			<xsd:sequence>
-				<xsd:element ref="param" minOccurs="0" maxOccurs="unbounded" />
-				<xsd:choice minOccurs="0" maxOccurs="unbounded">
-					<xsd:group ref="char-instructions"></xsd:group>
-					<xsd:any namespace="##other" processContents="skip" />
-				</xsd:choice>
-			</xsd:sequence>
-			<xsd:attribute name="match" type="pattern" use="optional" />
-			<xsd:attribute name="name" type="xsd:NMTOKEN" use="optional" />
-			<xsd:attribute name="priority" type="xsd:NMTOKEN" use="optional" />
-			<xsd:attribute name="mode" type="xsd:NMTOKEN" use="optional" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="value-of">
-		<xsd:complexType>
-			<xsd:attributeGroup ref="select-required" />
-			<xsd:attributeGroup ref="disable-output-escaping" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="copy-of">
-		<xsd:complexType>
-			<xsd:attributeGroup ref="select-required" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="number">
-		<xsd:complexType>
-			<xsd:attribute default="single" name="level">
-				<xsd:simpleType>
-					<xsd:restriction base="xsd:string">
-						<xsd:enumeration value="single" />
-						<xsd:enumeration value="multiple" />
-						<xsd:enumeration value="any" />
-					</xsd:restriction>
-				</xsd:simpleType>
-			</xsd:attribute>
-	        <xsd:attribute name="count" type="pattern" use="optional"/>
-		    <xsd:attribute name="from" type="pattern" use="optional"/>
-		    <xsd:attribute name="value" type="expression" use="optional"/>
-			<xsd:attribute default="1" name="format" type="xsd:string" />
-			<xsd:attribute name="lang" type="xsd:string" use="optional" />
-			<xsd:attribute name="letter-value" type="xsd:string" use="optional" />
-			<xsd:attribute name="grouping-separator" type="xsd:string" use="optional" />
-			<xsd:attribute name="grouping-size" type="xsd:string" use="optional" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="apply-templates">
-		<xsd:complexType>
-			<xsd:choice maxOccurs="unbounded" minOccurs="0">
-				<xsd:element ref="sort" />
-				<xsd:element ref="with-param" />
-			</xsd:choice>
-			<xsd:attribute default="node()" name="select" type="expression" />
-			<xsd:attribute name="mode" type="xsd:NMTOKEN" use="optional" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="apply-imports">
-		<xsd:complexType />
-	</xsd:element>
-
-	<xsd:element name="for-each">
-		<xsd:complexType mixed="true">
-			<xsd:sequence>
-				<xsd:element ref="sort" minOccurs="0" maxOccurs="unbounded" />
-				<xsd:choice minOccurs="0" maxOccurs="unbounded">
-					<xsd:group ref="char-instructions"></xsd:group>
-					<xsd:any namespace="##other" processContents="skip" />
-				</xsd:choice>
-			</xsd:sequence>
-			<xsd:attributeGroup ref="select-required" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="sort">
-		<xsd:complexType>
-			<xsd:attribute default="." name="select" type="expression" />
-			<xsd:attribute name="lang" type="xsd:string" use="optional" />
-			<xsd:attribute default="text" name="data-type" type="xsd:string" />
-			<xsd:attribute default="ascending" name="order" type="xsd:string" />
-			<xsd:attribute name="case-order" type="xsd:string" use="optional" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="if">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="instructions" minOccurs="0" maxOccurs="unbounded"></xsd:group>
-			<xsd:attribute name="test" type="expression" use="required" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="choose">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element ref="when" minOccurs="1" maxOccurs="unbounded" />
-				<xsd:element ref="otherwise" minOccurs="0" />
-			</xsd:sequence>
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="when">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="instructions" minOccurs="0" maxOccurs="unbounded" />
-			<xsd:attribute name="test" type="expression" use="required" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="otherwise">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="instructions" minOccurs="0" maxOccurs="unbounded" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="attribute-set">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element  ref="attribute"  minOccurs="0" maxOccurs="unbounded" />
-			</xsd:sequence>
-			<xsd:attribute name="name" type="xsd:NMTOKEN" use="required" />
-			<xsd:attribute name="use-attribute-sets" type="xsd:NMTOKENS" use="optional" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="call-template">
-		<xsd:complexType>
-			<xsd:sequence>
-				<xsd:element ref="with-param" minOccurs="0"  maxOccurs="unbounded"  />
-			</xsd:sequence>
-			<xsd:attribute name="name" type="xsd:NMTOKEN" use="required" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="with-param" type="NamedAndSelectable" />
-	
-	<xsd:element name="variable" type="NamedAndSelectable" />
-	
-	<xsd:element name="param" type="NamedAndSelectable" />
-	
-	<xsd:element name="text">
-		<xsd:complexType>
-			<xsd:simpleContent>
-				<xsd:extension base="xsd:string">
-					<xsd:attributeGroup ref="disable-output-escaping" />
-				</xsd:extension>
-			</xsd:simpleContent>
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="processing-instruction">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="char-instructions"></xsd:group>
-			<xsd:attribute name="name" type="xsd:string" use="required" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="element">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="instructions"></xsd:group>
-			<xsd:attribute name="name" type="xsd:string" use="required" />
-			<xsd:attribute name="namespace" type="xsd:string" use="optional" />
-			<xsd:attributeGroup ref="use-attribute-sets" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="attribute">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="char-instructions"/>
-			<xsd:attribute name="name" type="xsd:string" use="required" />
-			<xsd:attribute name="namespace" type="xsd:string" use="optional" />
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="comment">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="char-instructions"/>
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="copy">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="instructions"/>
-			<!--  xsd:attribute ref="xml:space" /-->
-			<xsd:attributeGroup ref="use-attribute-sets" />
-		</xsd:complexType>
-	</xsd:element>
-	
-	<xsd:element name="message">
-		<xsd:complexType mixed="true">
-			<xsd:group ref="char-instructions"/>
-			<xsd:attribute default="no" name="terminate" type="YesNoType" />
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="fallback">
-		<xsd:complexType mixed="true">
-			<xsd:choice maxOccurs="unbounded" minOccurs="0">
-				<xsd:group ref="instructions"></xsd:group>
-			</xsd:choice>
-			<!--  xsd:attribute ref="xml:space" /-->
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:group name="instructions">
-		<xsd:choice>
-			<xsd:group ref="char-instructions"></xsd:group>
-			<xsd:element ref="processing-instruction" />
-			<xsd:element ref="comment" />
-			<xsd:element ref="element" />
-			<xsd:element ref="attribute" />
-		</xsd:choice>
-	</xsd:group>
-
-	<xsd:group name="char-instructions">
-		<xsd:choice>
-			<xsd:element ref="apply-templates" />
-			<xsd:element ref="call-template" />
-			<xsd:element ref="apply-imports" />
-			<xsd:element ref="for-each" />
-			<xsd:element ref="value-of" />
-			<xsd:element ref="copy-of" />
-			<xsd:element ref="number" />
-			<xsd:element ref="choose" />
-			<xsd:element ref="if" />
-			<xsd:element ref="text" />
-			<xsd:element ref="copy" />
-			<xsd:element ref="variable" />
-			<xsd:element ref="message" />
-			<xsd:element ref="fallback" />
-		</xsd:choice>
-	</xsd:group>
-
-	<xsd:group name="topLevelElements">
-		<xsd:choice>
-			<xsd:element ref="import" />
-			<xsd:element ref="include" />
-			<xsd:element ref="strip-space" />
-			<xsd:element ref="preserve-space" />
-			<xsd:element ref="key" />
-			<xsd:element ref="decimal-format" />
-			<xsd:element ref="attribute-set" />
-			<xsd:element ref="namespace-alias" />
-			<xsd:element ref="param" />
-			<xsd:element ref="variable" />
-			<xsd:element ref="output" />
-			<xsd:element ref="template" />
-		</xsd:choice>
-	</xsd:group>
-
-	<xsd:simpleType name="YesNoType">
-		<xsd:restriction base="xsd:string">
-			<xsd:enumeration value="yes" />
-			<xsd:enumeration value="no" />
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:complexType name="NamedAndSelectable" mixed="true">
-		<xsd:group ref="instructions" minOccurs="0" maxOccurs="unbounded" />
-		<xsd:attribute name="name" type="xsd:NMTOKEN" use="required" />
-		<xsd:attributeGroup ref="select-optional" />
-	</xsd:complexType>
-
-
-	<xsd:simpleType name="expression">
-		<xsd:restriction base="xsd:string"></xsd:restriction>
-	</xsd:simpleType>
-	<xsd:simpleType name="pattern">
-		<xsd:restriction base="xsd:string"></xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:attributeGroup name="select-optional">
-		<xsd:attribute name="select" type="expression" />
-	</xsd:attributeGroup>
-	<xsd:attributeGroup name="select-required">
-		<xsd:attribute name="select" type="expression" use="required" />
-	</xsd:attributeGroup>
-	<xsd:attributeGroup name="disable-output-escaping">
-		<xsd:attribute name="disable-output-escaping" type="YesNoType" default="no" />
-	</xsd:attributeGroup>
-	<xsd:attributeGroup name="use-attribute-sets">
-		<xsd:attribute name="use-attribute-sets" type="xsd:NMTOKENS" use="optional"/>
-	</xsd:attributeGroup>
-
-</xsd:schema>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/plugin.xml b/tests/org.eclipse.wst.xml.catalog.tests/plugin.xml
deleted file mode 100644
index ca8ffe8..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/plugin.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
-    	<extension point="org.eclipse.wst.xml.core.catalogContributions">
-	  <catalogContribution> 
-           <system id="testSystemId"
-               systemId="http://personal/personal.dtd"
-               uri="data/Personal/personal.dtd"> 
-               </system>
-           <public id="testPublicId1"
-               publicId="InvoiceId_test"
-               uri="data/Invoice/Invoice.dtd"
-               webURL="http://org.eclipse.wst.xml.example/Invoice.dtd">
-          </public>
-          <uri id="testUriId1"
-               name="http://apache.org/xml/xcatalog/example" 
-               uri="data/example/example.xsd"/> 
-          <uri id="testURIId2"
-               name="http://www.w3.org/2001/XMLSchema"
-               uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd">
-          </uri> 
-           <uri id="testURIId3"
-               name="http://oasis.names.tc.entity.xmlns.xml.catalog"
-               uri="jar:platform:/plugin/org.eclipse.wst.xml.catalog.tests/data/schemas.jar!/data/catalog.xsd">
-          </uri> 
-          <nextCatalog id="testNestedCatalog"
-               catalog="data/catalog1.xml"/> 
-       </catalogContribution> 
-	</extension> 
-   
- 
-</plugin>
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/AbstractCatalogTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/AbstractCatalogTest.java
deleted file mode 100644
index b045822..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/AbstractCatalogTest.java
+++ /dev/null
@@ -1,132 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
-import org.eclipse.wst.xml.core.internal.catalog.CatalogContributorRegistryReader;
-import org.eclipse.wst.xml.core.internal.catalog.CatalogSet;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.INextCatalog;
-import org.osgi.framework.Bundle;
-
-public abstract class AbstractCatalogTest extends TestCase
-{
-    private CatalogSet catalogSet = new CatalogSet();
-    
-    protected ICatalog systemCatalog;
-
-    protected ICatalog userCatalog;
-
-    protected ICatalog defaultCatalog;
-    
-    
-    public AbstractCatalogTest(String name)
-    {
-        super(name);
-        
-    }
-
-    protected static List getCatalogEntries(ICatalog catalog, int entryType)
-    {
-        List result = new ArrayList();
-        ICatalogEntry[] entries = catalog.getCatalogEntries();
-        for (int i = 0; i < entries.length; i++)
-        {
-            ICatalogEntry entry = entries[i];
-            if (entry.getEntryType() == entryType)
-            {
-                result.add(entry);
-            }
-        }
-        return result;
-    }
-    
-    protected ICatalog getCatalog(String id, String uriString) throws Exception
-    {
-		return catalogSet.lookupOrCreateCatalog(id, uriString);
-    }
-    
-
-    public void initCatalogs()
-    {
-        defaultCatalog = XMLCorePlugin.getDefault().getDefaultXMLCatalog();
-        INextCatalog[] nextCatalogs = defaultCatalog.getNextCatalogs();
-        for (int i = 0; i < nextCatalogs.length; i++)
-        {
-            INextCatalog catalog = nextCatalogs[i];
-            ICatalog referencedCatalog = catalog.getReferencedCatalog();
-            if (referencedCatalog != null)
-            {
-                if (XMLCorePlugin.SYSTEM_CATALOG_ID
-                        .equals(referencedCatalog.getId()))
-                {
-                    systemCatalog = referencedCatalog;
-                } else if (XMLCorePlugin.USER_CATALOG_ID
-                        .equals(referencedCatalog.getId()))
-                {
-                    userCatalog = referencedCatalog;
-                }
-            }
-        }
-    }
-
-    protected void setUp() throws Exception
-    {
-        super.setUp();
-        initCatalogs();
-    }
-	
-	protected static String makeAbsolute(String baseLocation, String location)
-	  {
-		  URL local = null;
-		  location = location.replace('\\', '/');
-		  try
-		  {
-			  URL baseURL = new URL(baseLocation);
-			  local = new URL(baseURL, location);
-		  } catch (MalformedURLException e)
-		  {
-		  }
-		  
-		  if (local != null)
-		  {
-			  return local.toString();
-		  } else
-		  {
-			  return location;
-		  }
-	  }
-	
-	protected static URL resolvePluginLocation(String pluginId){
-		Bundle bundle = Platform.getBundle(pluginId);
-		if (bundle != null)
-		{
-			URL bundleEntry = bundle.getEntry("/");
-			try
-			{
-				return Platform.resolve(bundleEntry);
-			} catch (IOException e)
-			{
-				e.printStackTrace();
-			}
-		}
-		return null;
-	}
-	
-	// see CatalogContributorRegistryReader.resolvePath(String path) 
-	  protected String resolvePath(String pluginId, String path) 
-	  {
-
-		  return  CatalogContributorRegistryReader.resolvePath( 
-				  CatalogContributorRegistryReader.getPlatformURL(pluginId), path);
-	  }
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/AllTests.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/AllTests.java
deleted file mode 100644
index 8c4bd78..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/AllTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AllTests {
-
-	public static Test suite() {
-		TestSuite suite = new TestSuite(
-				"Test for org.eclipse.wst.xml.catalog.tests");
-		//$JUnit-BEGIN$
-		suite.addTestSuite(CatalogReaderTest.class);
-		suite.addTestSuite(CatalogResolverTest.class);
-		suite.addTestSuite(CatalogWriterTest.class);
-		suite.addTestSuite(CatalogContributorRegistryReaderTest.class);
-		suite.addTestSuite(CatalogTest.class);
-		//$JUnit-END$
-		return suite;
-	}
-    
-
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogContributorRegistryReaderTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogContributorRegistryReaderTest.java
deleted file mode 100644
index e5c80f7..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogContributorRegistryReaderTest.java
+++ /dev/null
@@ -1,138 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import java.util.List;
-
-import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.INextCatalog;
-
-
-
-public class CatalogContributorRegistryReaderTest extends AbstractCatalogTest
-{
-    protected void setUp() throws Exception
-    {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception
-    {
-        super.tearDown();
-    }
-
-    public CatalogContributorRegistryReaderTest(String name)
-    {
-        super(name);
-    }
-
-    public final void testReadRegistry() throws Exception
-    {
-        assertNotNull(defaultCatalog);
-        assertEquals(XMLCorePlugin.DEFAULT_CATALOG_ID, defaultCatalog.getId());
-        assertEquals(2, defaultCatalog.getNextCatalogs().length);
-
-		String pluginId = TestPlugin.getDefault().getBundle().getSymbolicName();
-    
-		  // test system entries
-        assertNotNull(systemCatalog);
-        List entries = CatalogTest.getCatalogEntries(systemCatalog, ICatalogEntry.ENTRY_TYPE_SYSTEM);
-		for (int i = 0; i < entries.size(); i++)
-		{
-			ICatalogEntry entry = (ICatalogEntry)entries.get(i);
-			if("testSystemId".equals(entry.getId()))
-			{
-				String resolvedURI = resolvePath(pluginId, "data/Personal/personal.dtd");
-				assertEquals(resolvedURI, entry.getURI());
-				assertEquals("http://personal/personal.dtd", entry.getKey());
-			}
-		}
-		
-		// test public entries
-        entries = CatalogTest.getCatalogEntries(systemCatalog, ICatalogEntry.ENTRY_TYPE_PUBLIC);      
-		for (int i = 0; i < entries.size(); i++)
-		{
-			ICatalogEntry entry = (ICatalogEntry)entries.get(i);
-			if("testPublicId1".equals(entry.getId()))
-			{
-				String resolvedURI = resolvePath(pluginId, "data/Invoice/Invoice.dtd");
-				assertEquals(resolvedURI, entry.getURI());
-				assertEquals("InvoiceId_test", entry.getKey());
-				// test user defined attributes
-				assertEquals("http://org.eclipse.wst.xml.example/Invoice.dtd", entry.getAttributeValue("webURL"));
-
-			}
-			
-			else if("testMappingInfo".equals(entry.getId()))
-			{
-				String resolvedURI = resolvePath(pluginId, "platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd");
-				assertEquals(resolvedURI, entry.getURI());
-				assertEquals("http://www.w3.org/2001/XMLSchema1", entry.getKey());
-			}
-	     
-		}
-      
-        // test uri entries
-        entries = CatalogTest.getCatalogEntries(systemCatalog, ICatalogEntry.ENTRY_TYPE_URI);
-		for (int i = 0; i < entries.size(); i++)
-		{
-			ICatalogEntry entry = (ICatalogEntry)entries.get(i);
-			if("testURIId1".equals(entry.getId()))
-			{
-				  String resolvedURI = resolvePath(pluginId, "data/example/example.xsd");
-			      assertEquals(resolvedURI, entry.getURI());
-			      assertEquals("http://apache.org/xml/xcatalog/example", entry.getKey());
-			}
-			else if("testURIId2".equals(entry.getId()))
-			{
-				String resolvedURI = resolvePath(pluginId, "platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd");
-				assertEquals(resolvedURI, entry.getURI());
-				assertEquals("http://www.w3.org/2001/XMLSchema", entry.getKey());
-			}
-			else if("testURIId3".equals(entry.getId()))
-			{
-				String resolvedURI = resolvePath(pluginId, "jar:platform:/plugin/org.eclipse.wst.xml.catalog.tests/data/schemas.jar!/data/catalog.xsd");
-				assertEquals(resolvedURI, entry.getURI());
-				assertEquals("http://oasis.names.tc.entity.xmlns.xml.catalog", entry.getKey());
-			}
-		}
-      
-        // test tested catalog
-        INextCatalog[] nextCatalogEntries = systemCatalog.getNextCatalogs();
-        for (int i = 0; i < nextCatalogEntries.length; i++)
-		{
-			INextCatalog nextCatalogEntry = (INextCatalog) nextCatalogEntries[i];
-			if("testNestedCatalog".equals(nextCatalogEntry.getId()))
-			{
-				String resolvedURI = resolvePath(pluginId, "data/catalog1.xml");
-				assertEquals(resolvedURI, nextCatalogEntry.getCatalogLocation());
-				ICatalog nextCatalog = nextCatalogEntry.getReferencedCatalog();
-				assertNotNull(nextCatalog);
-				assertEquals(3, nextCatalog.getCatalogEntries().length);
-				// test public entries
-				entries = CatalogTest.getCatalogEntries(nextCatalog,
-						ICatalogEntry.ENTRY_TYPE_PUBLIC);
-				assertEquals(1, entries.size());
-				ICatalogEntry entry = (ICatalogEntry) entries.get(0);
-				//URI uri = URIHelper.getURIForFilePath(resolvedURI);
-				//resolvedURI = URIHelper.makeAbsolute(uri.toURL(), "./Invoice/Invoice.dtd");
-				assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-				assertEquals("InvoiceId_test", entry.getKey());
-				// test system entries
-				entries = CatalogTest.getCatalogEntries(nextCatalog,
-						ICatalogEntry.ENTRY_TYPE_SYSTEM);
-				assertEquals(1, entries.size());
-				entry = (ICatalogEntry) entries.get(0);
-				assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-				assertEquals("Invoice.dtd", entry.getKey());
-				// test uri entries
-				entries = CatalogTest.getCatalogEntries(nextCatalog,
-						ICatalogEntry.ENTRY_TYPE_URI);
-				assertEquals(1, entries.size());
-				entry = (ICatalogEntry) entries.get(0);
-				assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-				assertEquals("http://www.test.com/Invoice.dtd", entry.getKey());
-			}
-		}
-    }
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogReaderTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogReaderTest.java
deleted file mode 100644
index 079355e..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogReaderTest.java
+++ /dev/null
@@ -1,140 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import java.net.URL;
-import java.util.List;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.xml.core.internal.catalog.Catalog;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.INextCatalog;
-
-
-public class CatalogReaderTest extends AbstractCatalogTest {
-
-	protected void setUp() throws Exception {
-		super.setUp();
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public CatalogReaderTest(String name) {
-		super(name);
-	}
-
-
-	/*
-	 * Class under test for void read(ICatalog, String)
-	 */
-	public void testReadCatalog()throws Exception {
-
-		//read catalog
-		String catalogFile = "/data/catalog1.xml";
-		URL catalogUrl = TestPlugin.getDefault().getBundle().getEntry(catalogFile);
-		assertNotNull(catalogUrl);
-		URL base = Platform.resolve(catalogUrl);
-
-		Catalog catalog = (Catalog)getCatalog("catalog1", base.toString());
-		//CatalogReader.read(catalog, catalogFilePath);
-		assertNotNull(catalog);
-		
-		// test main catalog - catalog1.xml
-		//assertEquals("cat1", catalog.getId());
-		assertEquals(3, catalog.getCatalogEntries().length);
-			
-		// test public entries
-		List entries = CatalogTest.getCatalogEntries(catalog, ICatalogEntry.ENTRY_TYPE_PUBLIC);
-		assertEquals(1, entries.size());
-		ICatalogEntry entry = (ICatalogEntry)entries.get(0);
-		//String resolvedURI = URIHelper.makeAbsolute(base, "./Invoice/Invoice.dtd");
-		
-		assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-		assertEquals("InvoiceId_test", entry.getKey());
-		assertEquals("http://webURL", entry.getAttributeValue("webURL"));
-
-		
-		//  test system entries
-		entries = CatalogTest.getCatalogEntries(catalog, ICatalogEntry.ENTRY_TYPE_SYSTEM);
-		assertEquals(1, entries.size());
-		entry = (ICatalogEntry)entries.get(0);
-		assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-		assertEquals("Invoice.dtd", entry.getKey());
-		assertEquals("yes", entry.getAttributeValue("chached"));
-		assertEquals("value1", entry.getAttributeValue("property"));
-
-
-		//  test uri entries
-		entries = CatalogTest.getCatalogEntries(catalog, ICatalogEntry.ENTRY_TYPE_URI);
-		assertEquals(1, entries.size());
-		entry = (ICatalogEntry)entries.get(0);
-		assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-		assertEquals("http://www.test.com/Invoice.dtd", entry.getKey());
-		assertEquals("no", entry.getAttributeValue("chached"));
-		assertEquals("value2", entry.getAttributeValue("property"));
-		
-		//  test next catalog - catalog2.xml
-		INextCatalog[] nextCatalogEntries = catalog.getNextCatalogs();
-		assertEquals(1, nextCatalogEntries.length);
-	
-		INextCatalog nextCatalogEntry = (INextCatalog)nextCatalogEntries[0];
-		assertNotNull(nextCatalogEntry);
-		
-//		String catalogRefId = nextCatalogEntry.getCatalogRefId();
-//		assertEquals("nextCatalog1", catalogRefId);
-		//resolvedURI = URIHelper.makeAbsolute(base, "catalog2.xml");
-		assertEquals("catalog2.xml", nextCatalogEntry.getCatalogLocation());
-
-		ICatalog nextCatalog = nextCatalogEntry.getReferencedCatalog();
-
-		assertNotNull(nextCatalog);
-		assertEquals(4, nextCatalog.getCatalogEntries().length);
-		
-		// test public entries
-		entries = CatalogTest.getCatalogEntries(nextCatalog, ICatalogEntry.ENTRY_TYPE_PUBLIC);
-		assertEquals(2, entries.size());
-		entry = (ICatalogEntry)entries.get(0);
-		//resolvedURI = URIHelper.makeAbsolute(nextCatalog.getBase(), "./PublicationCatalog/Catalogue.xsd");
-		assertEquals("./PublicationCatalog/Catalogue.xsd", entry.getURI());
-		assertEquals("http://www.eclipse.org/webtools/Catalogue_001", entry.getKey());
-		
-		// test public entry from a group
-		entry = (ICatalogEntry)entries.get(1);
-		//resolvedURI = URIHelper.makeAbsolute(nextCatalog.getBase(), "./PublicationCatalog/Catalogue.xsd");
-		assertEquals("./PublicationCatalog/Catalogue.xsd", entry.getURI());
-		assertEquals("http://www.eclipse.org/webtools/Catalogue_002", entry.getKey());
-
-		//  test system entries
-		entries = CatalogTest.getCatalogEntries(nextCatalog, ICatalogEntry.ENTRY_TYPE_SYSTEM);
-		assertEquals(1, entries.size());
-		entry = (ICatalogEntry)entries.get(0);
-		assertEquals("./PublicationCatalog/Catalogue.xsd", entry.getURI());
-		assertEquals("Catalogue.xsd", entry.getKey());
-		//  test uri entries
-		entries = CatalogTest.getCatalogEntries(nextCatalog, ICatalogEntry.ENTRY_TYPE_URI);
-		assertEquals(1, entries.size());
-		entry = (ICatalogEntry)entries.get(0);
-		assertEquals("http://www.eclipse.org/webtools/Catalogue/Catalogue.xsd", entry.getURI());
-		assertEquals("http://www.eclipse.org/webtools/Catalogue.xsd", entry.getKey());
-		
-
-	}
-	
-	public void testCompatabilityReader() throws Exception {
-		//	read catalog
-		String catalogFile = "/data/compatabilityTest.xmlcatalog";
-		URL catalogUrl = TestPlugin.getDefault().getBundle().getEntry(catalogFile);
-		assertNotNull(catalogUrl);
-		URL base = Platform.resolve(catalogUrl);
-
-		Catalog catalog = (Catalog)getCatalog("compatabilityCatalog", base.toString());
-		//CatalogReader.read(catalog, catalogFilePath);
-		assertNotNull(catalog);
-		List entries = CatalogTest.getCatalogEntries(catalog, ICatalogEntry.ENTRY_TYPE_PUBLIC);
-		assertEquals(1, entries.size());
-		ICatalogEntry entry = (ICatalogEntry)entries.get(0);
-		assertEquals("platform:/resource/XMLExamples/Invoice2/Invoice.dtd", entry.getURI());
-		assertEquals("InvoiceId", entry.getKey());
-	}
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogResolverTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogResolverTest.java
deleted file mode 100644
index 222cbb7..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogResolverTest.java
+++ /dev/null
@@ -1,74 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-
-public class CatalogResolverTest extends AbstractCatalogTest {
-
-	protected void setUp() throws Exception {
-		super.setUp();
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public CatalogResolverTest(String name) {
-		super(name);
-	}
-
-	public final void testResolveResolver() throws Exception {
-	
-	
-		// from plugin.xml file
-		String pluginBase = resolvePluginLocation(TestPlugin.getDefault().getBundle().getSymbolicName()).toString();
-
-		String resolvedActual = defaultCatalog.resolvePublic("InvoiceId_test", null);
-		String resolvedURI = makeAbsolute(pluginBase, "data/Invoice/Invoice.dtd");
-		assertEquals(resolvedURI, resolvedActual);
-		resolvedActual = defaultCatalog.resolveSystem("http://personal/personal.dtd");
-		resolvedURI = makeAbsolute(pluginBase, "data/Personal/personal.dtd");
-		assertEquals(resolvedURI, resolvedActual);
-		resolvedActual = defaultCatalog.resolveURI("http://apache.org/xml/xcatalog/example");
-		resolvedURI = makeAbsolute(pluginBase, "data/example/example.xsd");
-		assertEquals(resolvedURI, resolvedActual);
-		resolvedActual = defaultCatalog.resolveURI("http://www.w3.org/2001/XMLSchema");
-		resolvedURI = resolvePath("", "platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd");
-		resolvedURI = makeAbsolute(pluginBase, resolvedURI);
-		assertEquals(resolvedURI, resolvedActual);
-		
-		// from catalog1.xml
-		resolvedActual = defaultCatalog.resolvePublic("InvoiceId_test", null);
-		resolvedURI = makeAbsolute(pluginBase, "data/Invoice/Invoice.dtd");
-		assertEquals(resolvedURI, resolvedActual);
-
-		resolvedActual = defaultCatalog.resolveSystem("Invoice.dtd");
-		resolvedURI = makeAbsolute(pluginBase, "data/Invoice/Invoice.dtd");
-		assertEquals(resolvedURI, resolvedActual);
-
-		resolvedActual = defaultCatalog.resolveURI("http://www.test.com/Invoice.dtd");
-		resolvedURI = makeAbsolute(pluginBase, "data/Invoice/Invoice.dtd");
-		assertEquals(resolvedURI, resolvedActual);
-
-		
-		// from catalog2.xml
-		resolvedActual = defaultCatalog.resolvePublic("http://www.eclipse.org/webtools/Catalogue_001", null);
-		resolvedURI = makeAbsolute(pluginBase, "data/PublicationCatalog/Catalogue.xsd");
-		assertEquals(resolvedURI, resolvedActual);
-		
-		resolvedActual = defaultCatalog.resolvePublic("http://www.eclipse.org/webtools/Catalogue_002", null);
-		resolvedURI = makeAbsolute(pluginBase, "data/PublicationCatalog/Catalogue.xsd");
-		assertEquals(resolvedURI, resolvedActual);
-
-		resolvedActual = defaultCatalog.resolveSystem("Catalogue.xsd");
-		resolvedURI = makeAbsolute(pluginBase, "data/PublicationCatalog/Catalogue.xsd");
-		assertEquals(resolvedURI, resolvedActual);
-
-		resolvedActual = defaultCatalog.resolveURI("http://Catalogue.xsd");
-		resolvedURI = "http://www.eclipse.org/webtools/Catalogue.xsd";
-		assertEquals(resolvedURI, resolvedURI);
-
-
-	}
-
-
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogTest.java
deleted file mode 100644
index 57ec343..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogTest.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import java.util.List;
-
-import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
-import org.eclipse.wst.xml.core.internal.catalog.Catalog;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry;
-
-
-
-public class CatalogTest extends AbstractCatalogTest {
-
-	protected void setUp() throws Exception {
-		super.setUp();
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public CatalogTest(String name) {
-		super(name);
-	}
-    
-    public void testCatalog() throws Exception
-    {
-       Catalog workingUserCatalog = new Catalog(null, "working", null);
-       assertNotNull(userCatalog);
-       workingUserCatalog.addEntriesFromCatalog(userCatalog);
-       
-       ICatalogEntry catalogEntry = (ICatalogEntry)userCatalog.createCatalogElement(ICatalogEntry.ENTRY_TYPE_PUBLIC);
-       catalogEntry.setKey("testKey");
-       catalogEntry.setURI("http://testuri");
-       workingUserCatalog.addCatalogElement(catalogEntry);
-     
-       userCatalog.addEntriesFromCatalog(workingUserCatalog);
-	   String userCatalogLocation = userCatalog.getLocation();
-	  
-       userCatalog.save();
-       userCatalog.clear();
-       
-       userCatalog = getCatalog(XMLCorePlugin.USER_CATALOG_ID, userCatalogLocation);
-       
-       List entries = getCatalogEntries(userCatalog, ICatalogEntry.ENTRY_TYPE_PUBLIC);
-       assertEquals(1, entries.size());
-       ICatalogEntry entry = (ICatalogEntry)entries.get(0);
-     
-       assertEquals("http://testuri", entry.getURI());
-       assertEquals("testKey", entry.getKey());
-
-   
-    }
-
-
-   
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogWriterTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogWriterTest.java
deleted file mode 100644
index cfdab44..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogWriterTest.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import java.net.URL;
-import java.util.List;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.xml.core.internal.catalog.Catalog;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry;
-import org.eclipse.wst.xml.core.internal.catalog.provisional.INextCatalog;
-
-public class CatalogWriterTest extends AbstractCatalogTest {
-
-	protected void setUp() throws Exception {
-		super.setUp();
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public CatalogWriterTest(String name) {
-		super(name);
-	}
-
-	public final void testWrite() throws Exception {
-
-		// read catalog
-		String catalogFile = "/data/catalog1.xml";
-		URL catalogUrl = TestPlugin.getDefault().getBundle().getEntry(
-				catalogFile);
-		assertNotNull(catalogUrl);
-		URL resolvedURL = Platform.resolve(catalogUrl);
-
-		Catalog testCatalog = (Catalog) getCatalog("catalog1", resolvedURL
-				.toString());
-		assertNotNull(testCatalog);
-		testCatalog.setBase(resolvedURL.toString());
-		// CatalogReader.read(testCatalog, resolvedURL.getFile());
-		assertNotNull(testCatalog);
-
-		// write catalog
-		URL resultsFolder = TestPlugin.getDefault().getBundle().getEntry(
-				"/");
-		IPath path = new Path(Platform.resolve(resultsFolder).getFile());
-		String resultCatalogFile = path.append("actual_results/catalog1.xml").toFile().toURI().toString();
-		testCatalog.setLocation(resultCatalogFile);
-		// write catalog
-		testCatalog.save();
-		
-		// read catalog file from the saved location and test its content
-		Catalog catalog = (Catalog) getCatalog("catalog2", testCatalog.getLocation());
-		assertNotNull(catalog);
-
-		// test saved catalog - catalog1.xml
-		assertEquals(3, catalog.getCatalogEntries().length);
-
-		// test public entries
-		List entries = CatalogTest.getCatalogEntries(catalog,
-				ICatalogEntry.ENTRY_TYPE_PUBLIC);
-		assertEquals(1, entries.size());
-		ICatalogEntry entry = (ICatalogEntry) entries.get(0);
-
-		assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-		assertEquals("InvoiceId_test", entry.getKey());
-		assertEquals("http://webURL", entry.getAttributeValue("webURL"));
-
-		// test system entries
-		entries = CatalogTest.getCatalogEntries(catalog,
-				ICatalogEntry.ENTRY_TYPE_SYSTEM);
-		assertEquals(1, entries.size());
-		entry = (ICatalogEntry) entries.get(0);
-		assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-		assertEquals("Invoice.dtd", entry.getKey());
-		assertEquals("yes", entry.getAttributeValue("chached"));
-		assertEquals("value1", entry.getAttributeValue("property"));
-
-		// test uri entries
-		entries = CatalogTest.getCatalogEntries(catalog,
-				ICatalogEntry.ENTRY_TYPE_URI);
-		assertEquals(1, entries.size());
-		entry = (ICatalogEntry) entries.get(0);
-		assertEquals("./Invoice/Invoice.dtd", entry.getURI());
-		assertEquals("http://www.test.com/Invoice.dtd", entry.getKey());
-		assertEquals("no", entry.getAttributeValue("chached"));
-		assertEquals("value2", entry.getAttributeValue("property"));
-
-		// test next catalog - catalog2.xml
-		INextCatalog[] nextCatalogEntries = catalog.getNextCatalogs();
-		assertEquals(1, nextCatalogEntries.length);
-
-		INextCatalog nextCatalogEntry = (INextCatalog) nextCatalogEntries[0];
-		assertNotNull(nextCatalogEntry);
-
-		assertEquals("catalog2.xml", nextCatalogEntry.getCatalogLocation());
-	}
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/TestPlugin.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/TestPlugin.java
deleted file mode 100644
index 4e42219..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/TestPlugin.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleContext;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class TestPlugin extends Plugin {
-	//The shared instance.
-	private static TestPlugin plugin;
-	//Resource bundle.
-	private ResourceBundle resourceBundle;
-	
-	/**
-	 * The constructor.
-	 */
-	public TestPlugin() {
-		super();
-		plugin = this;
-	}
-
-	/**
-	 * This method is called upon plug-in activation
-	 */
-	public void start(BundleContext context) throws Exception {
-		super.start(context);
-	}
-
-	/**
-	 * This method is called when the plug-in is stopped
-	 */
-	public void stop(BundleContext context) throws Exception {
-		super.stop(context);
-		plugin = null;
-		resourceBundle = null;
-	}
-
-	/**
-	 * Returns the shared instance.
-	 */
-	public static TestPlugin getDefault() {
-		return plugin;
-	}
-
-	/**
-	 * Returns the string from the plugin's resource bundle,
-	 * or 'key' if not found.
-	 */
-	public static String getResourceString(String key) {
-		ResourceBundle bundle = TestPlugin.getDefault().getResourceBundle();
-		try {
-			return (bundle != null) ? bundle.getString(key) : key;
-		} catch (MissingResourceException e) {
-			return key;
-		}
-	}
-
-	/**
-	 * Returns the plugin's resource bundle,
-	 */
-	public ResourceBundle getResourceBundle() {
-		try {
-			if (resourceBundle == null)
-				resourceBundle = ResourceBundle.getBundle("org.eclipse.wst.wst.xml.catalog.test.TestPluginResources");
-		} catch (MissingResourceException x) {
-			resourceBundle = null;
-		}
-		return resourceBundle;
-	}
-	
-	
-	public static String resolvePluginLocation(String path) throws IOException {
-		URL url = getDefault().getBundle().getEntry(path);
-		url = Platform.resolve(url);
-		return url.getFile();
-	}
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/XSDSchemaTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/XSDSchemaTest.java
deleted file mode 100644
index 4bb55b8..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/XSDSchemaTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import org.eclipse.xsd.impl.XSDSchemaImpl;
-
-import junit.framework.TestCase;
-
-public class XSDSchemaTest extends TestCase {
-
-	public static void main(String[] args) {
-	}
-	
-	public void testSchemaForSchema(){
-		
-		  XSDSchemaImpl.getSchemaForSchema("http://www.w3.org/2001/XMLSchema");  
-	}
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/ZipTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/ZipTest.java
deleted file mode 100644
index dca8739..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/ZipTest.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package org.eclipse.wst.xml.catalog.tests.internal;
-
-import java.io.InputStream;
-import java.net.URL;
-
-import junit.framework.TestCase;
-
-public class ZipTest extends TestCase {
-
-	 public void testZip() throws Exception{
-		  
-		  URL url = new URL("jar:file:/D:/tcs/catalogJarTest/schemas.jar!/data/catalog.xsd");
-		  InputStream is = url.openStream();
-    }
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/FileUtil.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/FileUtil.java
deleted file mode 100644
index e5ef8d0..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/FileUtil.java
+++ /dev/null
@@ -1,93 +0,0 @@
-package org.eclipse.wst.xml.resolver.tools.tests.internal;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.FileReader;
-import java.io.InputStream;
-import java.io.PrintWriter;
-
-public class FileUtil {
-
-	public FileUtil() {
-		super();
-	}
-	
-	public static void copyFile(String src, String dest) {
-		InputStream is = null;
-		FileOutputStream fos = null;
-		try {
-			is = new FileInputStream(src);
-			fos = new FileOutputStream(dest);
-			int c = 0;
-			byte[] array = new byte[1024];
-			while ((c = is.read(array)) >= 0) {
-				fos.write(array, 0, c);
-			}
-		} catch (Exception e) {
-		} finally {
-			try {
-				fos.close();
-				is.close();
-			} catch (Exception e) {
-			}
-		}
-	}
-	
-	public static File createFileAndParentDirectories(String fileName)
-		throws Exception {
-		File file = new File(fileName);
-		File parent = file.getParentFile();
-		if (!parent.exists()) {
-			parent.mkdirs();
-		}
-		file.createNewFile();
-		return file;
-	}
-	
-	public static void deleteDirectories(File dir)
-		throws Exception {
-
-		File[] children = dir.listFiles();
-		for(int i=0; i< children.length; i++){
-			if(children[i].list() != null && children[i].list().length > 0){
-				deleteDirectories(children[i]);
-			}
-			else{
-				children[i].delete();
-			}
-		}
-		dir.delete();
-			
-	}
-	
-	public static boolean textualCompare(final File first, final File second, File diff) throws java.io.IOException {
-        BufferedReader r1 = new BufferedReader(new FileReader(first));
-        BufferedReader r2 = new BufferedReader(new FileReader(second));
-        PrintWriter printWriter = new PrintWriter(new FileOutputStream(diff));             
-                             
-        boolean diffFound = false;
-        while (r1.ready()) {
-            String s1 = r1.readLine();
-            String s2 = r2.readLine();
-            if (s1 == null) {
-                if (s2 == null)
-                    return diffFound;   // files equal
-                else
-                    diffFound = true;  // files differ in length
-            }
-            if (!s1.equals(s2)) {
-            	printWriter.println("<<<< " + s1);
-            	printWriter.println("<<<< " + s2);
-                diffFound = true;    // files differ
-            }
-        } 
-        
-        printWriter.flush(); 
-        
-        return  diffFound;
-     
-    }
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/ResolvingXMLParser.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/ResolvingXMLParser.java
deleted file mode 100644
index 389d001..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/ResolvingXMLParser.java
+++ /dev/null
@@ -1,111 +0,0 @@
-package org.eclipse.wst.xml.resolver.tools.tests.internal;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.Vector;
-
-import org.apache.xml.resolver.CatalogManager;
-import org.apache.xml.resolver.apps.XParseError;
-import org.apache.xml.resolver.tools.ResolvingXMLReader;
-
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-
-public class ResolvingXMLParser {
-	
-	public boolean validationError = false;
-
-	protected static int maxErrs = 10;
-
-	protected static boolean nsAware = true;
-
-	protected static boolean validating = true;
-
-	protected static boolean showErrors = true;
-
-	protected static boolean showWarnings = true;
-
-	protected static Vector catalogFiles = new Vector();
-
-	protected  void parseAndValidate(String xmlFile, String[] catalogs)
-			throws MalformedURLException, FileNotFoundException, IOException {
-
-			CatalogManager myManager = new CatalogManager();
-			StringBuffer catalogFile = new StringBuffer();
-			for(int i=0; i<catalogs.length; i++){
-				catalogFile = catalogFile.append(catalogs[i] + ";");
-			}
-			myManager.setCatalogFiles(catalogFile.toString());
-		    myManager.setIgnoreMissingProperties(true);
-		    myManager.setVerbosity(2);
-		    ResolvingXMLReader reader = new ResolvingXMLReader(myManager);
-			try {
-				reader.setFeature("http://xml.org/sax/features/namespaces",
-								nsAware);
-				reader.setFeature("http://xml.org/sax/features/validation",
-						validating);
-				reader.setFeature(
-						"http://apache.org/xml/features/validation/schema", true);
-			} catch (SAXNotRecognizedException e1) {
-				e1.printStackTrace();
-			} catch (SAXNotSupportedException e1) {
-				e1.printStackTrace();
-			}
-
-		XParseError xpe = new XParseError(showErrors, showWarnings);
-		xpe.setMaxMessages(maxErrs);
-		reader.setErrorHandler(xpe);
-
-		String parseType = validating ? "validating" : "well-formed";
-		String nsType = nsAware ? "namespace-aware" : "namespace-ignorant";
-		if (maxErrs > 0) {
-			System.out.println("Attempting " + parseType + ", " + nsType
-					+ " parse");
-		}
-
-		try {
-			reader.parse(xmlFile);
-		} catch (Exception e) {
-			validationError = true;
-			e.printStackTrace();
-		}
-
-		if (maxErrs > 0) {
-			System.out.print("Parse ");
-			if (xpe.getFatalCount() > 0) {
-				validationError = true;
-				System.out.print("failed ");
-			} else {
-				System.out.print("succeeded ");
-				System.out.print("(");
-			}
-			System.out.print("with ");
-
-			int errCount = xpe.getErrorCount();
-			int warnCount = xpe.getWarningCount();
-
-			if (errCount > 0) {
-				validationError = true;
-				System.out.print(errCount + " error");
-				System.out.print(errCount > 1 ? "s" : "");
-				System.out.print(" and ");
-			} else {
-				System.out.print("no errors and ");
-			}
-
-			if (warnCount > 0) {
-				validationError = true;
-				System.out.print(warnCount + " warning");
-				System.out.print(warnCount > 1 ? "s" : "");
-				System.out.print(".");
-			} else {
-				System.out.print("no warnings.");
-			}
-
-			System.out.println("");
-		}
-	}
-	
-	
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/TraXLiaison.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/TraXLiaison.java
deleted file mode 100644
index 46861c2..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/TraXLiaison.java
+++ /dev/null
@@ -1,281 +0,0 @@
-/*
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- *
- * 3. The end-user documentation included with the redistribution, if
- *    any, must include the following acknowlegement:
- *       "This product includes software developed by the
- *        Apache Software Foundation (http://www.apache.org/)."
- *    Alternately, this acknowlegement may appear in the software itself,
- *    if and wherever such third-party acknowlegements normally appear.
- *
- * 4. The names "The Jakarta Project", "Ant", and "Apache Software
- *    Foundation" must not be used to endorse or promote products derived
- *    from this software without prior written permission. For written
- *    permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- *    nor may "Apache" appear in their names without prior written
- *    permission of the Apache Group.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation.  For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
-
-package org.eclipse.wst.xml.resolver.tools.tests.internal;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-
-import org.xml.sax.InputSource;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.XMLReader;
-
-import javax.xml.parsers.SAXParserFactory;
-
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.Templates;
-
-import javax.xml.transform.ErrorListener;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.Source;
-import javax.xml.transform.URIResolver;
-
-import javax.xml.transform.sax.SAXSource;
-
-/**
- * Concrete liaison for XSLT processor implementing TraX. (ie JAXP 1.1)
- *
- * @author <a href="mailto:rubys@us.ibm.com">Sam Ruby</a>
- * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
- * @author <a href="mailto:sbailliez@apache.org">Stephane Bailliez</a>
- * @since Ant 1.3
- */
-public class TraXLiaison implements XSLTLiaison, ErrorListener {
-
-	/** The trax TransformerFactory */
-	private TransformerFactory tfactory = null;
-
-	/** stylesheet stream, close it asap */
-	private FileInputStream xslStream = null;
-
-	/** Stylesheet template */
-	private Templates templates = null;
-
-	/** transformer */
-	private Transformer transformer = null;
-
-	/** possible resolver for publicIds */
-	private EntityResolver entityResolver;
-
-	/** possible resolver for URIs */
-	private URIResolver uriResolver;
-
-	public TraXLiaison() throws Exception {
-		tfactory = TransformerFactory.newInstance();
-		tfactory.setErrorListener(this);
-	}
-
-	/**
-	 * Set the output property for the current transformer.
-	 * Note that the stylesheet must be set prior to calling
-	 * this method.
-	 * @param name the output property name.
-	 * @param value the output property value.
-	 */
-	public void setOutputProperty(String name, String value) {
-		if (transformer == null) {
-			throw new IllegalStateException("stylesheet must be set prior to setting the output properties");
-		}
-		transformer.setOutputProperty(name, value);
-	}
-
-	//------------------- IMPORTANT
-	// 1) Don't use the StreamSource(File) ctor. It won't work with
-	// xalan prior to 2.2 because of systemid bugs.
-
-	// 2) Use a stream so that you can close it yourself quickly
-	// and avoid keeping the handle until the object is garbaged.
-	// (always keep control), otherwise you won't be able to delete
-	// the file quickly on windows.
-
-	// 3) Always set the systemid to the source for imports, includes...
-	// in xsl and xml...
-
-	public void setStylesheet(File stylesheet) throws Exception {
-		xslStream = new FileInputStream(stylesheet);
-		StreamSource src = new StreamSource(xslStream);
-		src.setSystemId(getSystemId(stylesheet));
-		templates = tfactory.newTemplates(src);
-		transformer = templates.newTransformer();
-		transformer.setErrorListener(this);
-	}
-
-	public void transform(File infile, File outfile) throws Exception {
-		FileInputStream fis = null;
-		FileOutputStream fos = null;
-		try {
-			fis = new FileInputStream(infile);
-			fos = new FileOutputStream(outfile);
-			// FIXME: need to use a SAXSource as the source for the transform
-			// so we can plug in our own entity resolver
-			Source src = null;
-			if (entityResolver != null) {
-				if (tfactory.getFeature(SAXSource.FEATURE)) {
-					SAXParserFactory spFactory = SAXParserFactory.newInstance();
-					spFactory.setNamespaceAware(true);
-					XMLReader reader = spFactory.newSAXParser().getXMLReader();
-					reader.setEntityResolver(entityResolver);
-					src = new SAXSource(reader, new InputSource(fis));
-				} else {
-					throw new IllegalStateException(
-						"xcatalog specified, but "
-							+ "parser doesn't support SAX");
-				}
-			} else {
-				src = new StreamSource(fis);
-			}
-			src.setSystemId(getSystemId(infile));
-			StreamResult res = new StreamResult(fos);
-			// not sure what could be the need of this...
-			res.setSystemId(getSystemId(outfile));
-
-			if (uriResolver != null)
-				transformer.setURIResolver(uriResolver);
-
-			transformer.transform(src, res);
-		} finally {
-			// make sure to close all handles, otherwise the garbage
-			// collector will close them...whenever possible and
-			// Windows may complain about not being able to delete files.
-			try {
-				if (xslStream != null) {
-					xslStream.close();
-				}
-			} catch (IOException ignored) {
-			}
-			try {
-				if (fis != null) {
-					fis.close();
-				}
-			} catch (IOException ignored) {
-			}
-			try {
-				if (fos != null) {
-					fos.close();
-				}
-			} catch (IOException ignored) {
-			}
-		}
-	}
-
-	// make sure that the systemid is made of '/' and not '\' otherwise
-	// crimson will complain that it cannot resolve relative entities
-	// because it grabs the base uri via lastIndexOf('/') without
-	// making sure it is really a /'ed path
-	protected String getSystemId(File file) {
-		String path = file.getAbsolutePath();
-		path = path.replace('\\', '/');
-
-		// on Windows, use 'file:///'
-		if (File.separatorChar == '\\') {
-			return FILE_PROTOCOL_PREFIX + "/" + path;
-		}
-		// Unix, use 'file://'
-		return FILE_PROTOCOL_PREFIX + path;
-	}
-
-	public void addParam(String name, String value) {
-		transformer.setParameter(name, value);
-	}
-
-	public void error(TransformerException e) {
-		logError(e, "Error");
-	}
-
-	public void fatalError(TransformerException e) {
-		logError(e, "Fatal Error");
-	}
-
-	public void warning(TransformerException e) {
-		logError(e, "Warning");
-	}
-
-	private void logError(TransformerException e, String type) {
-
-		StringBuffer msg = new StringBuffer();
-		if (e.getLocator() != null) {
-			if (e.getLocator().getSystemId() != null) {
-				String url = e.getLocator().getSystemId();
-				if (url.startsWith("file:///")) {
-					url = url.substring(8);
-				}
-				msg.append(url);
-			} else {
-				msg.append("Unknown file");
-			}
-			if (e.getLocator().getLineNumber() != -1) {
-				msg.append(":" + e.getLocator().getLineNumber());
-				if (e.getLocator().getColumnNumber() != -1) {
-					msg.append(":" + e.getLocator().getColumnNumber());
-				}
-			}
-		}
-		msg.append(": " + type + "! ");
-		msg.append(e.getMessage());
-		if (e.getCause() != null) {
-			msg.append(" Cause: " + e.getCause());
-		}
-
-		System.out.println(msg.toString());
-	}
-
-	/** Set the class to resolve entities during the transformation
-	 */
-	public void setEntityResolver(EntityResolver aResolver) {
-		entityResolver = aResolver;
-	}
-
-	/** Set the class to resolve URIs during the transformation
-	 */
-	public void setURIResolver(URIResolver aResolver) {
-		uriResolver = aResolver;
-		tfactory.setURIResolver(aResolver);
-	}
-
-} //-- TraXLiaison
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/ValidatorTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/ValidatorTest.java
deleted file mode 100644
index 45e7ac9..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/ValidatorTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package org.eclipse.wst.xml.resolver.tools.tests.internal;
-
-import java.io.IOException;
-
-import junit.framework.TestCase;
-
-import org.eclipse.wst.xml.catalog.tests.internal.TestPlugin;
-
-
-/**
- * To run this test need to add resolver.jar to the classpath.
- * Run as JUnit Plugin test:
- * - put resolver.jar on the boot class path
- * - add VM argument:
- * 
- * -Xbootclasspath/p:<install location>\jre\lib\ext\resolver.jar
- *
- *
- */
-public class ValidatorTest extends TestCase {
-	
-	
-
-	protected void setUp() throws Exception {
-		super.setUp();
-		
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public ValidatorTest(String name) {
-		super(name);
-	}
-	
-	
-	public void testValidatingParser() throws IOException {
-		String xmlFile = "/data/Personal/personal-schema.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/catalog2.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-				
-		System.out.println("---------" + this.getName() + "---------");
-		ResolvingXMLParser parser = new ResolvingXMLParser();
-		parser.parseAndValidate(xmlFile, new String[]{catalogFile});
-		assertFalse(parser.validationError);
-	}
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/XSLTLiaison.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/XSLTLiaison.java
deleted file mode 100644
index 7bf36a8..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/XSLTLiaison.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- *
- * 3. The end-user documentation included with the redistribution, if
- *    any, must include the following acknowlegement:
- *       "This product includes software developed by the
- *        Apache Software Foundation (http://www.apache.org/)."
- *    Alternately, this acknowlegement may appear in the software itself,
- *    if and wherever such third-party acknowlegements normally appear.
- *
- * 4. The names "The Jakarta Project", "Ant", and "Apache Software
- *    Foundation" must not be used to endorse or promote products derived
- *    from this software without prior written permission. For written
- *    permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- *    nor may "Apache" appear in their names without prior written
- *    permission of the Apache Group.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation.  For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
-
-package org.eclipse.wst.xml.resolver.tools.tests.internal;
-
-import java.io.File;
-
-/**
- * Proxy interface for XSLT processors.
- *
- * @author <a href="mailto:rubys@us.ibm.com">Sam Ruby</a>
- * @author <a href="mailto:sbailliez@apache.org">Stephane Bailliez</a>
- * @see XSLTProcess
- * @since Ant 1.1
- */
-public interface XSLTLiaison {
-
-    /**
-     * the file protocol prefix for systemid.
-     * This file protocol must be appended to an absolute path.
-     * Typically: <tt>FILE_PROTOCOL_PREFIX + file.getAbsolutePath()</tt>
-     * Note that on Windows, an extra '/' must be appended to the
-     * protocol prefix so that there is always 3 consecutive slashes.
-     * @since Ant 1.4
-     */
-    String FILE_PROTOCOL_PREFIX = "file://";
-
-    /**
-     * set the stylesheet to use for the transformation.
-     * @param stylesheet the stylesheet to be used for transformation.
-     * @since Ant 1.4
-     */
-    void setStylesheet(File stylesheet) throws Exception;
-
-    /**
-     * Add a parameter to be set during the XSL transformation.
-     * @param name the parameter name.
-     * @param expression the parameter value as an expression string.
-     * @throws Exception thrown if any problems happens.
-     * @since Ant 1.3
-     */
-    void addParam(String name, String expression) throws Exception;
-
-    /**
-     * Perform the transformation of a file into another.
-     * @param infile the input file, probably an XML one. :-)
-     * @param outfile the output file resulting from the transformation
-     * @throws Exception thrown if any problems happens.
-     * @see #setStylesheet(File)
-     * @since Ant 1.4
-     */
-    void transform(File infile, File outfile) throws Exception;
-
-} //-- XSLTLiaison
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/XSLTWithCatalogResolverTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/XSLTWithCatalogResolverTest.java
deleted file mode 100644
index 4cfb3ad..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/resolver/tools/tests/internal/XSLTWithCatalogResolverTest.java
+++ /dev/null
@@ -1,97 +0,0 @@
-package org.eclipse.wst.xml.resolver.tools.tests.internal;
-
-import java.io.File;
-
-import junit.framework.TestCase;
-
-import org.apache.xml.resolver.tools.CatalogResolver;
-import org.eclipse.wst.xml.catalog.tests.internal.TestPlugin;
-
-
-/**
- * Test from http://issues.apache.org/bugzilla/show_bug.cgi?id=16336
- * 
- * To run this test need to add resolver.jar to the classpath.
- * Run as JUnit Plugin test:
- * - put resolver.jar on the boot class path
- * - add VM argument:
- * 
- * -Xbootclasspath/p:<install location>\jre\lib\ext\resolver.jar
- *
- *
- */
-public class XSLTWithCatalogResolverTest extends TestCase {
-
-	CatalogResolver catalogResolver = null;
-	TraXLiaison xsltLiason = null;
-	static String SEP = File.separator;
-
-	public XSLTWithCatalogResolverTest(String name) {
-		super(name);
-	}
-
-	public static void main(String[] args) {
-		junit.textui.TestRunner.run(XSLTWithCatalogResolverTest.class);
-	}
-
-	protected void setUp() throws Exception {
-		super.setUp();	
-		catalogResolver = new CatalogResolver();
-		xsltLiason = new TraXLiaison();
-		xsltLiason.setEntityResolver(catalogResolver);
-		xsltLiason.setURIResolver(catalogResolver);
-
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public void testXSLTwithCatalogResolver() throws Exception {
-		
-		String testDirName = "data/testXSLTwithCatalogResolver";
-		testDirName = TestPlugin.resolvePluginLocation(testDirName);
-		
-		String catalogFileName = testDirName + SEP + "catalog.xml";	
-		String xslFileName = testDirName + SEP + "xmlcatalog.xsl";
-		String xmlFileName = testDirName + SEP + "xmlcatalog2.xml";
-		String resultFileName = xmlFileName + "-out";
-		String idealResultFileName = xmlFileName + "-result";
-
-		//setup catalog 
-
-		File catalogFile = new File(catalogFileName);
-		
-		assertTrue("Catalog file " + catalogFileName + " should exist for the test", catalogFile.exists());
-	
-		catalogResolver.getCatalog().parseCatalog(catalogFileName);
-		
-		File xslFile = new File(xslFileName);
-		
-		assertTrue("XSL file " + xslFileName + " should exist for the test", xslFile.exists());		
-			
-		File inFile = new File(xmlFileName);
-		
-		assertTrue("XML file " + xslFileName + " should exist for the test", xslFile.exists());		
-		
-		File outFile = FileUtil.createFileAndParentDirectories(resultFileName);
-
-		xsltLiason.setStylesheet(xslFile);
-		xsltLiason.addParam("outprop", "testvalue");
-	
-		xsltLiason.transform(inFile, outFile);
-		
-		boolean diffFound =
-					FileUtil.textualCompare(
-						outFile,
-						new File(idealResultFileName),
-						new File(resultFileName + "-diff"));
-			
-	   assertTrue("Output file should match the expected results", !diffFound);
-
-		
-
-	}
-
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/MyXMLCatalogResolver.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/MyXMLCatalogResolver.java
deleted file mode 100644
index d0f123e..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/MyXMLCatalogResolver.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.eclipse.wst.xml.uriresolver.validation.tests.internal;
-
-import java.io.IOException;
-
-import org.apache.xerces.util.XMLCatalogResolver;
-import org.apache.xerces.xni.XMLResourceIdentifier;
-import org.apache.xerces.xni.XNIException;
-
-public class MyXMLCatalogResolver extends XMLCatalogResolver {
-
-	/**
-	 * @param args
-	 */
-	public static void main(String[] args) {
-		// TODO Auto-generated method stub
-
-	}
-
-	public String resolveIdentifier(XMLResourceIdentifier resourceIdentifier) throws IOException, XNIException {
-	    String resolvedId = null;
-
-        // The namespace is useful for resolving namespace aware
-        // grammars such as XML schema. Let it take precedence over
-        // the external identifier if one exists.
-        String namespace = resourceIdentifier.getNamespace();
-        if (namespace != null) {
-            resolvedId = resolveURI(namespace);
-        }
-        
-        // Resolve against an external identifier if one exists. This
-        // is useful for resolving DTD external subsets and other 
-        // external entities. For XML schemas if there was no namespace 
-        // mapping we might be able to resolve a system identifier 
-        // specified as a location hint.
-        if (resolvedId == null) {
-            String publicId = resourceIdentifier.getPublicId();
-            String systemId = getUseLiteralSystemId() 
-                ? resourceIdentifier.getLiteralSystemId()
-                : resourceIdentifier.getExpandedSystemId();
-            if (publicId != null && systemId != null) {
-                resolvedId = resolvePublic(publicId, systemId);
-            }
-            else if (systemId != null) {
-                resolvedId = resolveSystem(systemId);
-            }
-        }
-        return resolvedId;
-	}
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/Validator.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/Validator.java
deleted file mode 100644
index b465393..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/Validator.java
+++ /dev/null
@@ -1,160 +0,0 @@
-package org.eclipse.wst.xml.uriresolver.validation.tests.internal;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.apache.xerces.parsers.DOMParser;
-import org.apache.xerces.parsers.SAXParser;
-import org.apache.xerces.util.XMLCatalogResolver;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-
-public class Validator {
-	
-	public boolean validationError = false;
-	
-	public void validateWithSchema_JAXP(String xmlFile, String[] catalogs) {
-		try {
-			System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
-					"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
-			DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-			factory.setNamespaceAware(true);
-			factory.setValidating(true);
-			factory.setAttribute(
-					"http://java.sun.com/xml/jaxp/properties/schemaLanguage",
-					"http://www.w3.org/2001/XMLSchema");
-	
-			// Create catalog resolver and set a catalog list.
-			XMLCatalogResolver resolver = new XMLCatalogResolver();
-			resolver.setPreferPublic(true);
-			resolver.setCatalogList(catalogs);
-			factory.setAttribute(
-					  "http://apache.org/xml/properties/internal/entity-resolver", 
-					  resolver);
-
-			DocumentBuilder builder = factory.newDocumentBuilder();
-			ErrorHandler handler = new ErrorHandler(this);
-			builder.setErrorHandler(handler);
-			builder.setEntityResolver(resolver);
-			builder.parse(xmlFile);
-			
-			if (validationError == true)
-				System.out.println("XML Document has Error: "
-						+ handler.saxParseException.getMessage());
-			else
-				System.out.println("XML Document is valid");
-		} catch (java.io.IOException ioe) {
-			System.out.println("IOException " + ioe.getMessage());
-		} catch (SAXException e) {
-			System.out.println("SAXException " + e.getMessage());
-		} catch (ParserConfigurationException e) {
-			System.out.println("ParserConfigurationException                    "
-							+ e.getMessage());
-		}
-		
-	}
-
-	
-	public void validateWithSchema_XercesSAXParser(String XmlDocumentUrl, String [] catalogs) {
-		SAXParser parser = new SAXParser();
-		try {
-			parser.setFeature("http://xml.org/sax/features/validation", true);
-			parser.setFeature(
-					"http://apache.org/xml/features/validation/schema", true);
-			
-			//	Create catalog resolver and set a catalog list.
-			XMLCatalogResolver resolver = new XMLCatalogResolver();
-			resolver.setUseLiteralSystemId(true);
-			resolver.setPreferPublic(true);
-			resolver.setCatalogList(catalogs);
-			
-			//	Set the resolver on the parser.
-			parser.setProperty("http://apache.org/xml/properties/internal/entity-resolver", 
-					  resolver);
-
-			ErrorHandler handler = new ErrorHandler(this);
-			parser.setErrorHandler(handler);
-			
-			parser.parse(XmlDocumentUrl);
-			if (validationError == true){
-				System.out.println("XML Document has Error: "
-						+ handler.saxParseException.getMessage());
-				throw  handler.saxParseException;
-			}
-			else{
-				System.out.println("XML Document is valid");
-			}
-				
-		} catch (java.io.IOException ioe) {
-			System.out.println("IOException " + ioe.getMessage());
-		} catch (SAXException e) {
-			System.out.println("SAXException " + e.getMessage());
-		}
-	}
-	
-	public void validateWithSchema_XercesDOMParser(String XmlDocumentUrl, String [] catalogs) {
-		DOMParser parser = new DOMParser();
-		try {
-			parser.setFeature("http://xml.org/sax/features/validation", true);
-			parser.setFeature(
-					"http://apache.org/xml/features/validation/schema", true);
-			
-			//	Create catalog resolver and set a catalog list.
-			XMLCatalogResolver resolver = new XMLCatalogResolver();
-			resolver.setUseLiteralSystemId(true);
-			resolver.setPreferPublic(true);
-			resolver.setCatalogList(catalogs);
-			
-			//	Set the resolver on the parser.
-			parser.setProperty("http://apache.org/xml/properties/internal/entity-resolver", 
-					  resolver);
-
-			ErrorHandler handler = new ErrorHandler(this);
-			parser.setErrorHandler(handler);
-			
-			parser.parse(XmlDocumentUrl);
-			if (validationError == true){
-				System.out.println("XML Document has Error: "
-						+ handler.saxParseException.getMessage());
-				throw  handler.saxParseException;
-			}
-			else{
-				System.out.println("XML Document is valid");
-			}
-				
-		} catch (java.io.IOException ioe) {
-			System.out.println("IOException " + ioe.getMessage());
-		} catch (SAXException e) {
-			System.out.println("SAXException " + e.getMessage());
-		}
-	}
-
-	private class ErrorHandler extends DefaultHandler {
-
-		Validator validator;
-
-		public SAXParseException saxParseException = null;
-
-		public ErrorHandler(Validator validator) {
-			super();
-			this.validator = validator;
-		}
-
-		public void error(SAXParseException exception) throws SAXException {
-			validationError = true;
-			saxParseException = exception;
-		}
-
-		public void fatalError(SAXParseException exception) throws SAXException {
-			validationError = true;
-			saxParseException = exception;
-		}
-
-		public void warning(SAXParseException exception) throws SAXException {
-		}
-	}
-
-	
-}
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/ValidatorTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/ValidatorTest.java
deleted file mode 100644
index 6b84caf..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/uriresolver/validation/tests/internal/ValidatorTest.java
+++ /dev/null
@@ -1,148 +0,0 @@
-package org.eclipse.wst.xml.uriresolver.validation.tests.internal;
-
-import java.io.IOException;
-
-import junit.framework.TestCase;
-
-import org.eclipse.wst.xml.catalog.tests.internal.TestPlugin;
-
-/**
- * To run this test need to add resolver.jar to the classpath.
- * Run as JUnit Plugin test:
- * - put resolver.jar on the boot class path
- * - add VM argument:
- * 
- * -Xbootclasspath/p:<install location>\jre\lib\ext\resolver.jar
- *
- *
- */
-public class ValidatorTest extends TestCase {
-	
-	Validator validator = null;
-
-	protected void setUp() throws Exception {
-		super.setUp();
-		validator = new Validator();
-	}
-
-	protected void tearDown() throws Exception {
-		super.tearDown();
-	}
-
-	public ValidatorTest(String name) {
-		super(name);
-	}
-	
-	
-	public void testValidatingXercesSAXParser1() throws IOException {
-		String xmlFile = "/data/Personal/personal-schema.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/catalog2.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesSAXParser(xmlFile, new String[]{catalogFile});
-		assertFalse(validator.validationError);
-	}
-	
-	public void testValidatingXercesSAXParser2() throws IOException {
-		String xmlFile = "/data/example/example-schema.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/example-catalog.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesSAXParser(xmlFile, new String[]{catalogFile});
-		assertFalse(validator.validationError);
-	}
-	public void testValiatingXercesSAXParser3() throws IOException {
-		String xmlFile = "/data/example/example-schema-nonamespace.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/example-catalog.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesSAXParser(xmlFile, new String[]{catalogFile});
-		assertFalse(validator.validationError);
-	}
-	
-	public void testValidatingXercesDOMParser1() throws IOException {
-		String xmlFile = "/data/example/example-schema-nonamespace.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/example-catalog.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesDOMParser(xmlFile, new String[]{catalogFile});
-		assertFalse(validator.validationError);
-	}
-	
-	public void testValidatingJAXPParser1() throws IOException {
-		String xmlFile = "/data/example/example-schema.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/example-catalog.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_JAXP(xmlFile, new String[]{catalogFile});	
-		assertFalse(validator.validationError);
-	}
-	
-	public void testValidationWithImportedAndIncludedSchema1() throws IOException {
-		String xmlFile = "/data/PurchaseOrder/international/report_.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/report-catalog_system.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesDOMParser(xmlFile, new String[]{catalogFile});
-		// Included schema will be resolved
-		assertFalse(validator.validationError);
-	}
-	
-	public void testValidationWithImportedAndIncludedSchema2() throws IOException {
-		String xmlFile = "/data/PurchaseOrder/international/report_.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/report-catalog_public.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesDOMParser(xmlFile, new String[]{catalogFile});
-		// Included schema will not be resolved
-		assertTrue(validator.validationError);
-	}
-	
-	public void testValidationWithImportedAndIncludedSchema3() throws IOException {
-		String xmlFile = "/data/PurchaseOrder/international/report_.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "/data/report-catalog_mappedincluded.xml";
-		catalogFile = TestPlugin.resolvePluginLocation(catalogFile);
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesDOMParser(xmlFile, new String[]{catalogFile});
-		// Included schema will not be resolved
-		assertTrue(validator.validationError);
-	}
-	
-	public void testValidationWithImportedSchemaNoCatalog() throws IOException {
-		String xmlFile = "/data/PurchaseOrder/international/report.xml";
-		xmlFile = TestPlugin.resolvePluginLocation(xmlFile);
-		
-		String catalogFile = "";
-		
-		System.out.println("---------" + this.getName() + "---------");
-		validator.validateWithSchema_XercesDOMParser(xmlFile, new String[]{catalogFile});
-		assertFalse(validator.validationError);
-	}
-	
-
-
-}
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/test.xml b/tests/org.eclipse.wst.xml.catalog.tests/test.xml
deleted file mode 100644
index 4b384c1..0000000
--- a/tests/org.eclipse.wst.xml.catalog.tests/test.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
-
-  <!-- Configurable Properties -->
-
-  <!-- sets the properties eclipse-home, and library-file -->
-  <property name="plugin-name" value="org.eclipse.wst.xml.catalog.tests"/>
-
-  <!-- End Configurable Properties -->
-
-  <!-- The property ${eclipse-home} should be passed into this script -->
-  <!-- Set a meaningful default value for when it is not. -->
-  <property name="eclipse-home" value="${basedir}\..\.."/>
-  <property name="bvtworkspace" value="${basedir}"/>
-  <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml"/>
-  <property name="workspace-folder" value="${bvtworkspace}/${plugin-name}"/>
-
-  <!-- This target holds all initialization code that needs to be done for -->
-  <!-- all tests that are to be run. Initialization for individual tests -->
-  <!-- should be done within the body of the suite target. -->
-  <target name="init">
-    <tstamp/>
-     <delete>
-       <fileset dir="${eclipse-home}" includes="org.eclipse.wst.xml.catalog.tests.*.xml"/>
-    </delete>
-  </target>
-
-  <!-- This target defines the tests that need to be run. -->
-  <target name="suite">
-
-    <!-- Start with clean data workspace -->  
-    <delete dir="${workspace-folder}" quiet="true"/>
-
-    <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="data-dir" value="${workspace-folder}"/>
-      <property name="plugin-name" value="${plugin-name}"/>
-      <property name="classname" value="org.eclipse.wst.xml.catalog.tests.internal.AllTests"/>
-    </ant>
-
-  </target>
-
-  <!-- This target holds code to cleanup the testing environment after -->
-  <!-- after all of the tests have been run. You can use this target to -->
-  <!-- delete temporary files that have been created. -->
-  <target name="cleanup">
-    <delete dir="${workspace-folder}" quiet="true"/>
-  </target>
-
-  <!-- This target runs the test suite. Any actions that need to happen -->
-  <!-- after all the tests have been run should go here. -->
-  <target name="run" depends="init,suite,cleanup">
-    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="includes" value="org.eclipse.wst.xml.catalog.tests*.xml"/>
-      <property name="output-file" value="${plugin-name}.xml"/>
-    </ant>
-  </target>
-
-</project>
diff --git a/tests/org.eclipse.wst.xml.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.xml.core.tests/META-INF/MANIFEST.MF
index 5dbc09c..54b038b 100644
--- a/tests/org.eclipse.wst.xml.core.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.wst.xml.core.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.eclipse.wst.xml.core.tests; singleton:=true
-Bundle-Version: 1.0.100.qualifier
+Bundle-Version: 1.0.101.qualifier
 Bundle-ClassPath: ssemodelxmltests.jar
 Bundle-Activator: org.eclipse.wst.xml.core.tests.SSEModelXMLTestsPlugin
 Bundle-Vendor: %Bundle-Vendor.0
diff --git a/tests/org.eclipse.wst.xml.core.tests/projecttestfiles/attributesordertestfiles.zip b/tests/org.eclipse.wst.xml.core.tests/projecttestfiles/attributesordertestfiles.zip
new file mode 100644
index 0000000..8c28d7c
--- /dev/null
+++ b/tests/org.eclipse.wst.xml.core.tests/projecttestfiles/attributesordertestfiles.zip
Binary files differ
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/SSEModelXMLTestSuite.java b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/SSEModelXMLTestSuite.java
index a157cac..90e45d6 100644
--- a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/SSEModelXMLTestSuite.java
+++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/SSEModelXMLTestSuite.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2004, 2006 IBM Corporation and others.
+ * Copyright (c) 2004, 2007 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -14,6 +14,7 @@
 import junit.framework.TestSuite;
 
 import org.eclipse.wst.xml.core.internal.document.test.NodeImplTestCase;
+import org.eclipse.wst.xml.core.tests.contentmodel.TestAttributesOrder;
 import org.eclipse.wst.xml.core.tests.contentmodel.TestCatalogRetrivalAndModelCreation;
 import org.eclipse.wst.xml.core.tests.document.GetDocumentRegionsTest;
 import org.eclipse.wst.xml.core.tests.document.TestStructuredDocument;
@@ -53,5 +54,7 @@
 		addTest(new TestSuite(NodeImplTestCase.class));
 
 		addTest(new TestSuite(TestFormatProcessorXML.class));
+
+    addTest(new TestSuite(TestAttributesOrder.class));
 	}
 }
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/contentmodel/TestAttributesOrder.java b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/contentmodel/TestAttributesOrder.java
new file mode 100644
index 0000000..10e86b8
--- /dev/null
+++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/contentmodel/TestAttributesOrder.java
@@ -0,0 +1,167 @@
+/*******************************************************************************
+ * Copyright (c) 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *     David Carver - STAR - Added content Assist check in testIgnoresAttributesOrder
+ *******************************************************************************/
+package org.eclipse.wst.xml.core.tests.contentmodel;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IWorkspace;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.osgi.service.datalocation.Location;
+import org.eclipse.wst.sse.core.StructuredModelManager;
+import org.eclipse.wst.sse.core.internal.provisional.IModelManager;
+import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMElementDeclaration;
+import org.eclipse.wst.xml.core.internal.contentmodel.modelquery.ModelQuery;
+import org.eclipse.wst.xml.core.internal.modelquery.ModelQueryUtil;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
+import org.eclipse.wst.xml.core.tests.util.FileUtil;
+import org.eclipse.wst.xml.core.tests.util.ProjectUnzipUtility;
+
+/**
+ * Tests to ensure that the attributes order is not important when trying to
+ * determine the content model.
+ * 
+ * See https://bugs.eclipse.org/bugs/show_bug.cgi?id=198807
+ */
+public class TestAttributesOrder extends TestCase
+{
+  private boolean isSetup = false;
+
+  /**
+   * The target project name.
+   */
+  private final String fProjectName = "AttributesOrder"; //$NON-NLS-N$
+
+  /**
+   * The name of the zip file containing the project to import.
+   */
+  private final String fZipFileName = "attributesordertestfiles.zip"; //$NON-NLS-1$
+
+  public TestAttributesOrder()
+  {
+    super("TestAttributesOrder");
+  }
+
+  /**
+   * Test used to make sure that the attributes order is not important when
+   * determining the content model for a given XML document.
+   */
+  public void testIgnoresAttributesOrder()
+  {
+    // Tests the scenario that used to succeed, where the namespace prefix is
+    // declared before the schemaLocation.
+
+    IFile file = getFile("PreviouslySucceedingTest.xml"); //$NON-NLS-1$
+    ensureDocumentHasGrammar(file);
+
+    // Tests the failing scenario, where the schemaLocation comes first.
+
+    file = getFile("PreviouslyFailingTest.xml"); //$NON-NLS-1$
+    ensureDocumentHasGrammar(file);
+  }
+
+  protected void setUp() throws Exception
+  {
+    super.setUp();
+
+    if (!this.isSetup)
+    {
+      doSetup();
+      this.isSetup = true;
+    }
+  }
+
+  /**
+   * Sets up the required project in the workspace.
+   * 
+   * @throws Exception
+   */
+  private void doSetup() throws Exception
+  {
+    Location platformLocation = Platform.getInstanceLocation();
+
+    ProjectUnzipUtility unzipUtil = new ProjectUnzipUtility();
+    File zipFile = FileUtil.makeFileFor(ProjectUnzipUtility.PROJECT_ZIPS_FOLDER, fZipFileName, ProjectUnzipUtility.PROJECT_ZIPS_FOLDER);
+    URL platformLocationURL = platformLocation.getURL();
+    String file = platformLocationURL.getFile();
+    unzipUtil.unzipAndImport(zipFile, file);
+    unzipUtil.initJavaProject(fProjectName);
+  }
+
+  /**
+   * Reusable test to make sure the XML model for the given file has a grammar.
+   * 
+   * @param file
+   *          the file containing the XML document.
+   */
+  private void ensureDocumentHasGrammar(IFile file)
+  {
+    IStructuredModel model = null;
+    try
+    {
+      IModelManager modelManager = StructuredModelManager.getModelManager();
+      model = modelManager.getModelForRead(file);
+      assertNotNull(model);
+      IDOMModel domModel = (IDOMModel) model;
+      IDOMDocument document = domModel.getDocument();
+      assertNotNull(document);
+      ModelQuery modelQuery = ModelQueryUtil.getModelQuery(document);
+      IDOMElement documentElement = (IDOMElement) document.getDocumentElement();
+      assertNotNull(documentElement);
+      CMElementDeclaration cmElementDeclaration = modelQuery.getCMElementDeclaration(documentElement);
+      assertNotNull("No element declaration for" + documentElement.getNodeName() + " ("+documentElement.getNamespaceURI()+")", cmElementDeclaration); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+      assertNotNull("No content assist available for" + documentElement.getNodeName() + " (" + documentElement.getNamespaceURI() + ")", modelQuery.getAvailableContent(documentElement, cmElementDeclaration, ModelQuery.INCLUDE_CHILD_NODES));
+    }
+    catch (IOException e)
+    {
+      e.printStackTrace();
+    }
+    catch (CoreException e)
+    {
+      e.printStackTrace();
+    }
+    finally
+    {
+      if (model != null)
+      {
+        model.releaseFromRead();
+      }
+    }
+  }
+
+  /**
+   * Utility to retrieve the IFile for the given file name. The file is expected
+   * to be in the workspace in the project named by {@link #fProjectName}.
+   * 
+   * @param fileName
+   *          the name of the file to retrieve.
+   * @return an IFile.
+   */
+  private IFile getFile(String fileName)
+  {
+    IWorkspace workspace = ResourcesPlugin.getWorkspace();
+    IWorkspaceRoot root = workspace.getRoot();
+    Path path = new Path(fProjectName + "/" + fileName); //$NON-NLS-1$
+    return root.getFile(path);
+  }
+}
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/TestFormatProcessorXML.java b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/TestFormatProcessorXML.java
index 6bb58da..93af3e8 100644
--- a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/TestFormatProcessorXML.java
+++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/TestFormatProcessorXML.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2006, 2007 Eclipse Foundation
+ * Copyright (c) 2006, 2008 Eclipse Foundation
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -251,4 +251,9 @@
 		formatAndAssertEquals("testfiles/xml/multiattributes.xml", "testfiles/xml/multiattributes-yessplit-yesalign-fmt.xml", false);
 
 	}
+	
+	public void testProcessingInstruction()  throws UnsupportedEncodingException, IOException, CoreException {
+		// BUG198297
+		formatAndAssertEquals("testfiles/xml/processinginstruction.xml", "testfiles/xml/processinginstruction-fmt.xml");
+	}
 }
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/processinginstruction-fmt.xml b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/processinginstruction-fmt.xml
new file mode 100644
index 0000000..c78ba97
--- /dev/null
+++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/processinginstruction-fmt.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<testdoc><?testing test="yay"?>
+</testdoc>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/processinginstruction.xml b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/processinginstruction.xml
new file mode 100644
index 0000000..c78ba97
--- /dev/null
+++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/processinginstruction.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<testdoc><?testing test="yay"?>
+</testdoc>
\ No newline at end of file