Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java')
-rw-r--r--bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java b/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java
deleted file mode 100644
index 6b215d4ee..000000000
--- a/bundles/org.eclipse.jst.ws.creation.ui/src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceRunCommand.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 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.jst.ws.internal.creation.ui.extension;
-
-import org.eclipse.jst.ws.internal.consumption.command.common.StartServerCommand;
-import org.eclipse.wst.command.env.core.SimpleCommand;
-import org.eclipse.wst.command.env.core.common.Environment;
-import org.eclipse.wst.command.env.core.common.Status;
-import org.eclipse.wst.ws.internal.provisional.wsrt.IWebService;
-
-public class PreServiceRunCommand extends SimpleCommand
-{
- private IWebService webService_;
-
- public Status execute(Environment environment)
- {
- System.out.println( "In Pre service run command." );
-
- StartServerCommand command = new StartServerCommand();
- command.setServerInstanceId(webService_.getWebServiceInfo().getServerInstanceId());
- Status status = command.execute(environment);
- if (status.getSeverity()==Status.ERROR)
- {
- environment.getStatusHandler().reportError(status);
- }
- return status;
-
- }
-
- public void setWebService( IWebService webService )
- {
- webService_ = webService;
- }
-
-}

Back to the top

192139'>tests/org.eclipse.wst.xsl.core.tests/projectfiles/ref1.xsl8
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/projectfiles/style1.xsl28
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestSuite.java35
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestsPlugin.java60
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/AbstractValidationTest.java228
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestIncludedTemplates.java19
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestXSLCore.java20
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/AbstractModelTest.java228
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheet.java115
-rw-r--r--tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheetModel.java49
-rw-r--r--tests/org.eclipse.wst.xsl.tests/.classpath7
-rw-r--r--tests/org.eclipse.wst.xsl.tests/.project28
-rw-r--r--tests/org.eclipse.wst.xsl.tests/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/org.eclipse.wst.xsl.tests/META-INF/MANIFEST.MF15
-rw-r--r--tests/org.eclipse.wst.xsl.tests/about.html34
-rw-r--r--tests/org.eclipse.wst.xsl.tests/build.properties18
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/100.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/101.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/102.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/103.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/104.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/105.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/106.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/107.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/108.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/109.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/110.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/111.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/112.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/113.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/114.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/115.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/116.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/117.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/118.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/119.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/120.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/121.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/122.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/123.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/124.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/125.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/126.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/127.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/128.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/129.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/130.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/131.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/132.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/133.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/134.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/135.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/136.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/137.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/138.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/139.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/13f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/140.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/141.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/142.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/143.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/144.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/145.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/146.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/147.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/148.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/149.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/14f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/150.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/151.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/152.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/153.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/154.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/155.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/156.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/157.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/158.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/159.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/15f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/160.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/161.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/162.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/163.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/164.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/165.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/166.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/167.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/168.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/169.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/16f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/17.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/170.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/171.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/172.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/173.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/174.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/175.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/176.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/177.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/178.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/179.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/17a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/17b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/17c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/17d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/18.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/19.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/20.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/21.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/22.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/23.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/24.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/25.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/26.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/27.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/28.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/29.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/2f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/30.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/31.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/32.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/33.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/34.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/35.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/36.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/37.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/38.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/39.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/3f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/40.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/41.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/42.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/43.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/44.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/45.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/46.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/47.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/48.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/49.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/4f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/50.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/51.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/52.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/53.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/54.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/55.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/56.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/57.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/58.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/59.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/5f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/60.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/61.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/62.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/63.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/64.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/65.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/66.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/67.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/68.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/69.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/6f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/70.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/71.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/72.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/73.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/74.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/75.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/76.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/77.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/78.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/79.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/7f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/80.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/81.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/82.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/83.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/84.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/85.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/86.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/87.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/88.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/89.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/8f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/90.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/91.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/92.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/93.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/94.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/95.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/96.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/97.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/98.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/99.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/9f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/a9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/aa.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ab.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ac.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ad.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ae.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/af.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/b9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ba.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/bb.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/bc.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/bd.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/be.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/bf.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/c9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ca.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/cb.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/cc.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/cd.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ce.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/cf.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/d9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/da.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/db.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/dc.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/dd.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/de.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/df.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/e9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ea.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/eb.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ec.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ed.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ee.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ef.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f0.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f1.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f2.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f3.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f4.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f5.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f6.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f7.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f8.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/f9.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/fa.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/fb.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/fc.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/fd.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/fe.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/_files/ff.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/coverageReport/xslUnitTestCoverage.html1
-rw-r--r--tests/org.eclipse.wst.xsl.tests/plugin.properties13
-rw-r--r--tests/org.eclipse.wst.xsl.tests/src/org/eclipse/wst/xsl/tests/AllTestsSuite.java44
-rw-r--r--tests/org.eclipse.wst.xsl.tests/test.xml115
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/.classpath11
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/.project28
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/META-INF/MANIFEST.MF35
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/about.html34
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/build.properties13
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/plugin.properties2
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/plugin.xml16
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/ChangeRequestsByResponsibility.xsl71
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/ChangeRequestsByStatus.xsl72
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/DraftReleaseCRs.xsl100
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/ListAllChangeRequests.xsl67
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/OutstandingCRs.xsl91
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/TestNamedTemplatesAssist.xsl72
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/TestResultPrefixes.xsl20
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/TestResultPrefixesEmpty.xsl8
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/TestResultPrefixesWithXhtml.xsl21
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/TestXPathXMLProposals.xsl33
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/build.xml18
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/calltemplateTest.xsl21
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/hrefs/mainFile.xsl18
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/hrefs/olib.xsl15
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/hrefs/oneLevelUp/olib.xsl15
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/modeTest.xsl33
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/modeTest2.xsl18
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/olib.xsl15
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/testElementProposals.xsl22
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/projectfiles/utils.xsl42
-rwxr-xr-xtests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/internal/validation/TestDelegatingSourceValidatorForXSL.java195
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/AbstractXSLUITest.java180
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/Activator.java50
-rwxr-xr-xtests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/XSLModelXMLTestsPlugin.java80
-rwxr-xr-xtests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/XSLUITestSuite.java55
-rwxr-xr-xtests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/XSLUITestsPlugin.java70
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/AbstractCompletionProposalTest.java165
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestCallTemplateCompletionProposal.java60
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestElementCompletionProposal.java164
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestExcludeResultPrefixesCompletionProposal.java176
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestHrefCompletionProposal.java66
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestNamedTemplateCompletionProposal.java48
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestTemplateModeCompletionProposal.java81
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/TestXPathXMLCompletionProposal.java56
-rwxr-xr-xtests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/contentassist/XSLCompletionTest.java181
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/hyperlinkdetector/TestXSLHyperlinkDetector.java233
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/style/TestXMLRegionMap.java243
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/style/TestXSLLineStyleProvider.java262
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/style/TestXSLRegionMap.java78
-rw-r--r--tests/org.eclipse.wst.xsl.ui.tests/src/org/eclipse/wst/xsl/ui/tests/templates/TestTemplateContextTypeXSL.java158
473 files changed, 0 insertions, 5868 deletions
diff --git a/features/org.eclipse.wst.xsl_tests.feature/.project b/features/org.eclipse.wst.xsl_tests.feature/.project
deleted file mode 100644
index ba12d45..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.xsl_tests.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.wst.xsl_tests.feature/.settings/org.eclipse.core.resources.prefs b/features/org.eclipse.wst.xsl_tests.feature/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 3750df1..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Dec 16 16:57:57 EST 2007
-eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
diff --git a/features/org.eclipse.wst.xsl_tests.feature/.settings/org.eclipse.pde.prefs b/features/org.eclipse.wst.xsl_tests.feature/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index fdd8568..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,16 +0,0 @@
-#Fri Jan 04 09:04:43 EST 2008
-compilers.incompatible-environment=1
-compilers.p.build=0
-compilers.p.deprecated=1
-compilers.p.missing-bundle-classpath-entries=0
-compilers.p.missing-packages=2
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=0
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=1
-compilers.p.unknown-element=0
-compilers.p.unknown-resource=1
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/features/org.eclipse.wst.xsl_tests.feature/build.properties b/features/org.eclipse.wst.xsl_tests.feature/build.properties
deleted file mode 100644
index 64f93a9..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = feature.xml
diff --git a/features/org.eclipse.wst.xsl_tests.feature/eclipse_update_120.jpg b/features/org.eclipse.wst.xsl_tests.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.wst.xsl_tests.feature/epl-v10.html b/features/org.eclipse.wst.xsl_tests.feature/epl-v10.html
deleted file mode 100644
index ed4b196..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.wst.xsl_tests.feature/feature.properties b/features/org.eclipse.wst.xsl_tests.feature/feature.properties
deleted file mode 100644
index 3ce3998..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/feature.properties
+++ /dev/null
@@ -1,148 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=XSL Tests Feature (Incubating)
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=XSL Test Feature
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2008 Doug Satchwell (Chase Technology Ltd),\n\
-David Carver (Standards for Technology in Automotive Retail) and others 2008.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- Doug Satchwell (Chase Technology Ltd - http://www.chasetechnology.co.uk)\n\
- David Carver (Standards for Technology in Automotive Retail - http://www.starstandard.org)\n\
- Jesper Moller (NineConsult - http://www.nineconsult.dk)\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-June 06, 2007\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
- - Common Development and Distribution License (CDDL) Version 1.0 (available at http://www.sun.com/cddl/cddl.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.wst.xsl_tests.feature/feature.xml b/features/org.eclipse.wst.xsl_tests.feature/feature.xml
deleted file mode 100644
index a0b19af..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/feature.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.xsl_tests.feature"
- label="%featureName"
- version="1.0.0.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- <discovery label="Web Tools Platform (WTP) Updates" url="http://download.eclipse.org/webtools/updates"/>
- </url>
-
- <plugin
- id="org.eclipse.wst.xsl.launching.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.xsl.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.xsl.ui.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.xsl.core.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.xml.xpath.core.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
diff --git a/features/org.eclipse.wst.xsl_tests.feature/license.html b/features/org.eclipse.wst.xsl_tests.feature/license.html
deleted file mode 100644
index 303e665..0000000
--- a/features/org.eclipse.wst.xsl_tests.feature/license.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>June 06, 2007</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>) </LI>
-
- <li>Common Development and Distribution License (CDDL) Version 1.0 (available at <A
- href="http://www.sun.com/cddl/cddl.html">http://www.sun.com/cddl/cddl.html)</A>
- </LI>
-</UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/tests/org.eclipse.wst.xsl.core.tests/.classpath b/tests/org.eclipse.wst.xsl.core.tests/.classpath
deleted file mode 100644
index bf37251..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
- <accessrules>
- <accessrule kind="accessible" pattern="**/internal/**"/>
- </accessrules>
- </classpathentry>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.wst.xsl.core.tests/.project b/tests/org.eclipse.wst.xsl.core.tests/.project
deleted file mode 100644
index cd1a756..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.xsl.core.tests</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.xsl.core.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.wst.xsl.core.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3e6ccbe..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-#Fri Apr 11 09:57:20 BST 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/tests/org.eclipse.wst.xsl.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.xsl.core.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index c4fbda9..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,19 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.wst.xsl.core.tests
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.wst.xsl.core.tests.XSLCoreTestsPlugin
-Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.core.resources;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.wst.xsl.core;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.wst.sse.core;bundle-version="[1.1.0,2.0.0)",
- org.eclipse.wst.xml.core;bundle-version="[1.1.0,2.0.0)",
- org.apache.xalan;bundle-version="[2.7.1,2.8.0)"
-Bundle-ActivationPolicy: lazy
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Import-Package: junit.framework,
- org.eclipse.wst.xml.core.internal.validation.core
-Export-Package: org.eclipse.wst.xsl.core.tests;uses:="org.osgi.framework,junit.framework,org.eclipse.core.runtime",
- org.eclipse.wst.xsl.internal.core.tests;x-internal:=true
-Bundle-Localization: plugin
diff --git a/tests/org.eclipse.wst.xsl.core.tests/about.html b/tests/org.eclipse.wst.xsl.core.tests/about.html
deleted file mode 100644
index 2199df3..0000000
--- a/tests/org.eclipse.wst.xsl.core.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>June, 2008</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.xsl.core.tests/build.properties b/tests/org.eclipse.wst.xsl.core.tests/build.properties
deleted file mode 100644
index cc9a00a..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/build.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- projectfiles/,\
- bin/,\
- about.html,\
- plugin.properties
diff --git a/tests/org.eclipse.wst.xsl.core.tests/plugin.properties b/tests/org.eclipse.wst.xsl.core.tests/plugin.properties
deleted file mode 100644
index b801a96..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/plugin.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-#Properties file for org.eclipse.wst.xsl.core.tests
-pluginName = XSL Core Tests Plug-in \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/XSLT20Test.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/XSLT20Test.xsl
deleted file mode 100644
index 0661940..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/XSLT20Test.xsl
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <!-- TODO: Auto-generated template -->
- </xsl:template>
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/circularref.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/circularref.xsl
deleted file mode 100644
index af5305f..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/circularref.xsl
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:include href="ref1.xsl"/>
-
- <xsl:template match="/">
- <!-- TODO: Auto-generated template -->
- </xsl:template>
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/globalVariablesTest.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/globalVariablesTest.xsl
deleted file mode 100644
index 3ca1ee2..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/globalVariablesTest.xsl
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ******************************************************************************
- * Copyright (c) 2008 Standards for Technology in Automotive Retail 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:
- * David Carver - STAR - bug 243578 - initial API and implementation
- ******************************************************************************* -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xhtml="http://www.w3c.org/1999/xhtml"
- exclude-result-prefixes="xhtml">
-
- <xsl:variable name="globalVariable">
- This is a global variable
- </xsl:variable>
- When xsl:i
- <xsl:param name="selectParam" select="'1'"/>
- <xsl:param name="contentParam">Test</xsl:param>
-
- <xsl:template name="func1">
- <xsl:param name="p1" select="1"/>
- <xsl:param name="p2"/>
- <literal>Hello World</literal>
- </xsl:template>
-
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/lib1.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/lib1.xsl
deleted file mode 100644
index f393e6d..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/lib1.xsl
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- ******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- ******************************************************************************* -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template name="existsInlib1Only">
- <xsl:param name="p1"></xsl:param>
- <literal>Hello World</literal>
- </xsl:template>
-
- <xsl:template name="existsInStyle1AndLib1">
- <xsl:param name="p1"></xsl:param>
- <literal>Hello World</literal>
- </xsl:template>
-
- <xsl:template name="existsInLib2">
- <xsl:param name="p1"></xsl:param>
- <literal>Hello World</literal>
- </xsl:template>
-
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/lib2.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/lib2.xsl
deleted file mode 100644
index b391214..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/lib2.xsl
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- ******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- ******************************************************************************* -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template name="func1">
- <xsl:param name="p1" select="1"/>
- <xsl:param name="p2"/>
- <literal>Hello World</literal>
- </xsl:template>
-
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/modeTest.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/modeTest.xsl
deleted file mode 100644
index 30930f0..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/modeTest.xsl
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:include href="modeTest2.xsl"/>
- <xsl:template match="/">
-
- </xsl:template>
- <xsl:template match="something" mode="mode1">
-
- </xsl:template>
- <xsl:template match="something" mode="mode2">
-
-
- </xsl:template>
- <xsl:template name="something" mode="mode1">
-
- </xsl:template>
-
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/modeTest2.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/modeTest2.xsl
deleted file mode 100644
index 3458e49..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/modeTest2.xsl
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/" mode="mode3">
- <!-- TODO: Auto-generated template -->
- </xsl:template>
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/ref1.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/ref1.xsl
deleted file mode 100644
index d6f2be1..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/ref1.xsl
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:include href="circularref.xsl"/>
- <xsl:template match="/">
- <!-- TODO: Auto-generated template -->
- </xsl:template>
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/style1.xsl b/tests/org.eclipse.wst.xsl.core.tests/projectfiles/style1.xsl
deleted file mode 100644
index d9522dd..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/projectfiles/style1.xsl
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- ******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- ******************************************************************************* -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:import href="lib2.xsl" />
- <xsl:include href="lib1.xsl" />
-
- <xsl:template name="existsInStyle1Only">
- <xsl:param name="p1"></xsl:param>
- <literal>Hello World</literal>
- </xsl:template>
-
- <xsl:template name="existsInStyle1AndLib1"> <!-- ERROR: template existsInStyle1AndLib1 is included from lib1.xsl-->
- <xsl:param name="p1"></xsl:param>
- <literal>Hello World</literal>
- </xsl:template>
-
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestSuite.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestSuite.java
deleted file mode 100644
index d73ff87..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestSuite.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.xsl.core.tests;
-
-
-import org.eclipse.wst.xsl.internal.core.tests.TestIncludedTemplates;
-import org.eclipse.wst.xsl.internal.core.tests.TestXSLCore;
-import org.eclipse.wst.xsl.internal.model.tests.TestStylesheet;
-import org.eclipse.wst.xsl.internal.model.tests.TestStylesheetModel;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-public class XSLCoreTestSuite extends TestSuite {
- public static Test suite() {
- return new XSLCoreTestSuite();
- }
-
- public XSLCoreTestSuite() {
- super("XSL Core Test Suite");
- addTestSuite(TestIncludedTemplates.class);
- addTestSuite(TestXSLCore.class);
- addTestSuite(TestStylesheet.class);
- addTestSuite(TestStylesheetModel.class);
- }
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestsPlugin.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestsPlugin.java
deleted file mode 100644
index cd893ac..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/core/tests/XSLCoreTestsPlugin.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.xsl.core.tests;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class XSLCoreTestsPlugin extends Plugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.wst.xsl.core.tests";
-
- // The shared instance
- private static XSLCoreTestsPlugin plugin;
-
- /**
- * The constructor
- */
- public XSLCoreTestsPlugin() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static XSLCoreTestsPlugin getDefault() {
- return plugin;
- }
-
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/AbstractValidationTest.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/AbstractValidationTest.java
deleted file mode 100644
index 2328ce7..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/AbstractValidationTest.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.wst.xsl.internal.core.tests;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathExpression;
-import javax.xml.xpath.XPathExpressionException;
-import javax.xml.xpath.XPathFactory;
-
-import junit.framework.TestCase;
-
-import org.apache.xpath.jaxp.XPathFactoryImpl;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.resources.IResource;
-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.FileLocator;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.sse.core.StructuredModelManager;
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.validation.core.ValidationMessage;
-import org.eclipse.wst.xsl.core.XSLCore;
-import org.eclipse.wst.xsl.core.internal.validation.XSLValidationMessage;
-import org.eclipse.wst.xsl.core.internal.validation.XSLValidationReport;
-import org.eclipse.wst.xsl.core.internal.validation.XSLValidator;
-import org.eclipse.wst.xsl.core.model.StylesheetModel;
-import org.eclipse.wst.xsl.core.tests.XSLCoreTestsPlugin;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- * An abstract class to help with the testing.
- * It reads an XSL file, runs the validation on it, and then parses the document looking for comment nodes where the comment starts with ERROR or WARN.
- * For each comment node found, it determines whether the validation found a corresponding error or warning at the given comment node parent's line number.
- * It also checks to make sure that no unexpected errors/warnings are found (ones that don't have comment nodes).
- *
- * @author Doug Satchwell
- */
-public abstract class AbstractValidationTest extends TestCase
-{
- protected static IProject fTestProject;
- private static boolean fTestProjectInitialized;
- private static final String TEST_PROJECT_NAME = "testproject";
-
- protected void setUp() throws Exception
- {
- super.setUp();
- if (!fTestProjectInitialized)
- {
- getAndCreateProject();
-
- // URL installLocation = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntry("/");
- Enumeration<String> e = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntryPaths("/projectfiles");// (path, filePattern, recurse)("/projectfiles", null, true);
- while (e.hasMoreElements())
- {
- String path = e.nextElement();
- URL url = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntry(path);
- if (!url.getFile().endsWith("/"))
- {
- url = FileLocator.resolve(url);
- path = path.substring("projectfiles".length());
- IFile destFile = fTestProject.getFile(path);
- System.out.println(destFile.getLocation()+" --> "+url.toExternalForm());
- destFile.createLink(url.toURI(), IResource.REPLACE, new NullProgressMonitor());
- }
- }
- fTestProject.refreshLocal(IResource.DEPTH_INFINITE, null);
- fTestProjectInitialized = true;
- }
- }
-
-
- protected IFile getFile(String path)
- {
- return fTestProject.getFile(new Path(path));
- }
-
- /**
- * Validate the file
- *
- * @param file
- * @return
- * @throws CoreException
- * @throws XPathExpressionException
- * @throws IOException
- */
- protected XSLValidationReport validate(IFile file) throws CoreException, XPathExpressionException, IOException
- {
- XSLValidationReport report = new XSLValidationReport(file.getLocationURI().toString());
- XSLValidator.getInstance().validate(file,report,true);
- StylesheetModel model = XSLCore.getInstance().getStylesheet(file);
- assertFalse("Stylesheet model is null",model == null);
- Map<Integer,String> expectedErrors = calculateErrorsAndWarnings(file);
- validateErrors(model,report,expectedErrors);
- return report;
- }
-
- private void validateErrors(StylesheetModel model, XSLValidationReport report, Map<Integer,String> expectedErrors)
- {
- expectedErrors = new HashMap<Integer, String>(expectedErrors);
- for (ValidationMessage msg : report.getValidationMessages())
- {
- XSLValidationMessage error = (XSLValidationMessage)msg;
- assertTrue("Error report must be for the current stylesheet only", error.getNode().getStylesheet() == model.getStylesheet());
- String comment = expectedErrors.remove(error.getLineNumber());
- assertNotNull("Unxpected error at line "+error.getLineNumber()+": "+error,comment);
- assertFalse("Incorrect error level for error at line "+error.getLineNumber()+": "+error,comment.startsWith("ERROR") && msg.getSeverity() != ValidationMessage.SEV_HIGH);
- assertFalse("Incorrect error level for error at line "+error.getLineNumber()+": "+error,comment.startsWith("WARN") && msg.getSeverity() == ValidationMessage.SEV_HIGH);
- }
- for (Map.Entry<Integer, String> entry : expectedErrors.entrySet())
- {
- assertTrue("Expected error "+entry.getValue()+" at line "+entry.getKey(), false);
- }
- }
-
- private Map<Integer,String> calculateErrorsAndWarnings(IFile file) throws XPathExpressionException, IOException, CoreException
- {
- Map<Integer,String> expectedErrors = new HashMap<Integer,String>();
- IStructuredModel smodel = null;
- try
- {
- smodel = StructuredModelManager.getModelManager().getModelForRead(file);
- if (smodel != null && smodel instanceof IDOMModel)
- {
- IDOMModel model = (IDOMModel) smodel;
- XPathExpression xp = XPathFactoryImpl.newInstance().newXPath().compile("//comment()");
- NodeList nodeSet = (NodeList)xp.evaluate(model.getDocument(), XPathConstants.NODESET);
- for (int i=0; i<nodeSet.getLength(); i++)
- {
- Node commentNode = nodeSet.item(i);
- String comment = commentNode.getNodeValue().trim();
- if (comment.startsWith("ERROR") || comment.startsWith("WARN"))
- {
- IDOMNode parent = (IDOMNode)commentNode.getParentNode();
- int line = model.getStructuredDocument().getLineOfOffset(parent.getStartOffset()) + 1;
- expectedErrors.put(line,comment);
- }
- }
- }
- }
- finally
- {
- if (smodel != null)
- smodel.releaseFromRead();
- }
- return expectedErrors;
- }
-
- private static void getAndCreateProject() throws CoreException
- {
- IWorkspace workspace = getWorkspace();
- IWorkspaceRoot root = workspace.getRoot();
- fTestProject = root.getProject(TEST_PROJECT_NAME);
-
- createProject(fTestProject, null, null);
- fTestProject.refreshLocal(IResource.DEPTH_INFINITE, null);
- assertTrue(fTestProject.exists());
- }
-
- private static void createProject(IProject project, IPath locationPath, IProgressMonitor monitor) throws CoreException
- {
- if (monitor == null)
- {
- monitor = new NullProgressMonitor();
- }
- monitor.beginTask("creating test project", 10);
- // create the project
- try
- {
- if (!project.exists())
- {
- IProjectDescription desc = project.getWorkspace().newProjectDescription(project.getName());
- if (Platform.getLocation().equals(locationPath))
- {
- locationPath = null;
- }
- desc.setLocation(locationPath);
- project.create(desc, monitor);
- monitor = null;
- }
- if (!project.isOpen())
- {
- project.open(monitor);
- monitor = null;
- }
- }
- finally
- {
- if (monitor != null)
- {
- monitor.done();
- }
- }
- }
-
- /**
- * Returns the workspace instance.
- */
- public static IWorkspace getWorkspace()
- {
- return ResourcesPlugin.getWorkspace();
- }
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestIncludedTemplates.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestIncludedTemplates.java
deleted file mode 100644
index ccd6542..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestIncludedTemplates.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.xsl.internal.core.tests;
-
-public class TestIncludedTemplates extends AbstractValidationTest
-{
- public void test1() throws Exception
- {
- validate(getFile("style1.xsl"));
- }
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestXSLCore.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestXSLCore.java
deleted file mode 100644
index 4857029..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/core/tests/TestXSLCore.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.eclipse.wst.xsl.internal.core.tests;
-
-import junit.framework.TestCase;
-import org.eclipse.wst.xsl.core.XSLCore;
-
-public class TestXSLCore extends TestCase {
-
- public TestXSLCore() {
- super();
- }
-
- public TestXSLCore(String name) {
- super(name);
- }
-
- public void testisXSLNamespaceNullFalse() {
- assertFalse(XSLCore.isXSLNamespace(null));
- }
-
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/AbstractModelTest.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/AbstractModelTest.java
deleted file mode 100644
index fb51107..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/AbstractModelTest.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk
- * 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:
- * Doug Satchwell (Chase Technology Ltd) - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.wst.xsl.internal.model.tests;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathExpression;
-import javax.xml.xpath.XPathExpressionException;
-import javax.xml.xpath.XPathFactory;
-
-import junit.framework.TestCase;
-
-import org.apache.xpath.jaxp.XPathFactoryImpl;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.resources.IResource;
-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.FileLocator;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wst.sse.core.StructuredModelManager;
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.validation.core.ValidationMessage;
-import org.eclipse.wst.xsl.core.XSLCore;
-import org.eclipse.wst.xsl.core.internal.validation.XSLValidationMessage;
-import org.eclipse.wst.xsl.core.internal.validation.XSLValidationReport;
-import org.eclipse.wst.xsl.core.internal.validation.XSLValidator;
-import org.eclipse.wst.xsl.core.model.StylesheetModel;
-import org.eclipse.wst.xsl.core.tests.XSLCoreTestsPlugin;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- * An abstract class to help with the testing.
- * It reads an XSL file, runs the validation on it, and then parses the document looking for comment nodes where the comment starts with ERROR or WARN.
- * For each comment node found, it determines whether the validation found a corresponding error or warning at the given comment node parent's line number.
- * It also checks to make sure that no unexpected errors/warnings are found (ones that don't have comment nodes).
- *
- * @author Doug Satchwell
- */
-public abstract class AbstractModelTest extends TestCase
-{
- protected static IProject fTestProject;
- private static boolean fTestProjectInitialized;
- private static final String TEST_PROJECT_NAME = "testproject";
-
- protected void setUp() throws Exception
- {
- super.setUp();
- if (!fTestProjectInitialized)
- {
- getAndCreateProject();
-
- // URL installLocation = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntry("/");
- Enumeration<String> e = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntryPaths("/projectfiles");// (path, filePattern, recurse)("/projectfiles", null, true);
- while (e.hasMoreElements())
- {
- String path = e.nextElement();
- URL url = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntry(path);
- if (!url.getFile().endsWith("/"))
- {
- url = FileLocator.resolve(url);
- path = path.substring("projectfiles".length());
- IFile destFile = fTestProject.getFile(path);
- System.out.println(destFile.getLocation()+" --> "+url.toExternalForm());
- destFile.createLink(url.toURI(), IResource.REPLACE, new NullProgressMonitor());
- }
- }
- fTestProject.refreshLocal(IResource.DEPTH_INFINITE, null);
- fTestProjectInitialized = true;
- }
- }
-
-
- protected IFile getFile(String path)
- {
- return fTestProject.getFile(new Path(path));
- }
-
- /**
- * Validate the file
- *
- * @param file
- * @return
- * @throws CoreException
- * @throws XPathExpressionException
- * @throws IOException
- */
- protected XSLValidationReport validate(IFile file) throws CoreException, XPathExpressionException, IOException
- {
- XSLValidationReport report = new XSLValidationReport(file.getLocationURI().toString());
- XSLValidator.getInstance().validate(file,report,true);
- StylesheetModel model = XSLCore.getInstance().getStylesheet(file);
- assertFalse("Stylesheet model is null",model == null);
- Map<Integer,String> expectedErrors = calculateErrorsAndWarnings(file);
- validateErrors(model,report,expectedErrors);
- return report;
- }
-
- private void validateErrors(StylesheetModel model, XSLValidationReport report, Map<Integer,String> expectedErrors)
- {
- expectedErrors = new HashMap<Integer, String>(expectedErrors);
- for (ValidationMessage msg : report.getValidationMessages())
- {
- XSLValidationMessage error = (XSLValidationMessage)msg;
- assertTrue("Error report must be for the current stylesheet only", error.getNode().getStylesheet() == model.getStylesheet());
- String comment = expectedErrors.remove(error.getLineNumber());
- assertNotNull("Unxpected error at line "+error.getLineNumber()+": "+error,comment);
- assertFalse("Incorrect error level for error at line "+error.getLineNumber()+": "+error,comment.startsWith("ERROR") && msg.getSeverity() != ValidationMessage.SEV_HIGH);
- assertFalse("Incorrect error level for error at line "+error.getLineNumber()+": "+error,comment.startsWith("WARN") && msg.getSeverity() == ValidationMessage.SEV_HIGH);
- }
- for (Map.Entry<Integer, String> entry : expectedErrors.entrySet())
- {
- assertTrue("Expected error "+entry.getValue()+" at line "+entry.getKey(), false);
- }
- }
-
- private Map<Integer,String> calculateErrorsAndWarnings(IFile file) throws XPathExpressionException, IOException, CoreException
- {
- Map<Integer,String> expectedErrors = new HashMap<Integer,String>();
- IStructuredModel smodel = null;
- try
- {
- smodel = StructuredModelManager.getModelManager().getModelForRead(file);
- if (smodel != null && smodel instanceof IDOMModel)
- {
- IDOMModel model = (IDOMModel) smodel;
- XPathExpression xp = XPathFactoryImpl.newInstance().newXPath().compile("//comment()");
- NodeList nodeSet = (NodeList)xp.evaluate(model.getDocument(), XPathConstants.NODESET);
- for (int i=0; i<nodeSet.getLength(); i++)
- {
- Node commentNode = nodeSet.item(i);
- String comment = commentNode.getNodeValue().trim();
- if (comment.startsWith("ERROR") || comment.startsWith("WARN"))
- {
- IDOMNode parent = (IDOMNode)commentNode.getParentNode();
- int line = model.getStructuredDocument().getLineOfOffset(parent.getStartOffset()) + 1;
- expectedErrors.put(line,comment);
- }
- }
- }
- }
- finally
- {
- if (smodel != null)
- smodel.releaseFromRead();
- }
- return expectedErrors;
- }
-
- private static void getAndCreateProject() throws CoreException
- {
- IWorkspace workspace = getWorkspace();
- IWorkspaceRoot root = workspace.getRoot();
- fTestProject = root.getProject(TEST_PROJECT_NAME);
-
- createProject(fTestProject, null, null);
- fTestProject.refreshLocal(IResource.DEPTH_INFINITE, null);
- assertTrue(fTestProject.exists());
- }
-
- private static void createProject(IProject project, IPath locationPath, IProgressMonitor monitor) throws CoreException
- {
- if (monitor == null)
- {
- monitor = new NullProgressMonitor();
- }
- monitor.beginTask("creating test project", 10);
- // create the project
- try
- {
- if (!project.exists())
- {
- IProjectDescription desc = project.getWorkspace().newProjectDescription(project.getName());
- if (Platform.getLocation().equals(locationPath))
- {
- locationPath = null;
- }
- desc.setLocation(locationPath);
- project.create(desc, monitor);
- monitor = null;
- }
- if (!project.isOpen())
- {
- project.open(monitor);
- monitor = null;
- }
- }
- finally
- {
- if (monitor != null)
- {
- monitor.done();
- }
- }
- }
-
- /**
- * Returns the workspace instance.
- */
- public static IWorkspace getWorkspace()
- {
- return ResourcesPlugin.getWorkspace();
- }
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheet.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheet.java
deleted file mode 100644
index d8dd6aa..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheet.java
+++ /dev/null
@@ -1,115 +0,0 @@
-package org.eclipse.wst.xsl.internal.model.tests;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.wst.xsl.core.XSLCore;
-import org.eclipse.wst.xsl.core.internal.StylesheetBuilder;
-import org.eclipse.wst.xsl.core.model.Import;
-import org.eclipse.wst.xsl.core.model.Include;
-import org.eclipse.wst.xsl.core.model.Stylesheet;
-import org.eclipse.wst.xsl.core.model.StylesheetModel;
-import org.eclipse.wst.xsl.core.model.Template;
-import org.eclipse.wst.xsl.core.model.Variable;
-import org.eclipse.wst.xsl.core.model.XSLAttribute;
-
-import junit.framework.TestCase;
-
-public class TestStylesheet extends AbstractModelTest {
-
- public TestStylesheet() {
- // TODO Auto-generated constructor stub
- }
-
- public void testLoadModel() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet model = builder.getStylesheet(getFile("style1.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", model);
- }
-
- public void testgetLocalTemplatesTemplates() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet model = builder.getStylesheet(getFile("style1.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", model);
-
- List<Template> templatesList = model.getTemplates();
- assertEquals("Wrong number of templates returned.", 2, templatesList.size());
- }
-
- public void testGetIncludes() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("style1.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
-
- List<Include> includeList = stylesheet.getIncludes();
- assertEquals("Wrong number of includes returned.", 1, includeList.size());
- }
-
- public void testGetImports() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("style1.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
-
- List<Import> includeList = stylesheet.getImports();
- assertEquals("Wrong number of includes returned.", 1, includeList.size());
-
- }
-
- public void testGetGlobalVariables() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("globalVariablesTest.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
-
- List<Variable> globalVariablesList = stylesheet.getGlobalVariables();
- assertEquals("Wrong number of global variables returned.", 1, globalVariablesList.size());
- }
-
- public void testGetLineNumber() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("globalVariablesTest.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
- // Line Number is off by 1 from what is displayed in the Editor
- assertEquals("Incorrect line number.", 12, stylesheet.getLineNumber());
- }
-
- public void testGetColumnNumber() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("globalVariablesTest.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
- // Line Number is off by 1 from what is displayed in the Editor
- assertEquals("Incorrect column number.", 0, stylesheet.getColumnNumber());
- }
-
- public void testGetVersion() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("globalVariablesTest.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
-
- // Line Number is off by 1 from what is displayed in the Editor
- assertEquals("Wrong version number returned.", "1.0", stylesheet.getVersion());
- }
-
- public void testXSLT2GetVersion() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("XSLT20Test.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
- // Line Number is off by 1 from what is displayed in the Editor
- assertEquals("Wrong version number returned.", "2.0", stylesheet.getVersion());
- }
-
- public void testGetAttributes() {
- StylesheetBuilder builder = StylesheetBuilder.getInstance();
- Stylesheet stylesheet = builder.getStylesheet(getFile("globalVariablesTest.xsl"), false);
- assertNotNull("Model failed to load, returned NULL", stylesheet);
-
- Map<String,XSLAttribute> attributeList = stylesheet.getAttributes();
- assertEquals("Incorrect number of attributes", 4, attributeList.size());
- XSLAttribute attribute = stylesheet.getAttribute("exclude-result-prefixes");
- assertEquals("Wrong attribute returned:", "exclude-result-prefixes", attribute.getName());
-
- }
-
-
-
-}
diff --git a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheetModel.java b/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheetModel.java
deleted file mode 100644
index 121b6f9..0000000
--- a/tests/org.eclipse.wst.xsl.core.tests/src/org/eclipse/wst/xsl/internal/model/tests/TestStylesheetModel.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.eclipse.wst.xsl.internal.model.tests;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.wst.xsl.core.XSLCore;
-import org.eclipse.wst.xsl.core.model.StylesheetModel;
-import org.eclipse.wst.xsl.core.model.Template;
-import org.eclipse.wst.xsl.core.model.XSLAttribute;
-import org.eclipse.wst.xsl.core.model.XSLElement;
-
-public class TestStylesheetModel extends AbstractModelTest {
-
- public TestStylesheetModel() {
-
- }
-
- public void testStyleSheetModel() {
-
- StylesheetModel model = XSLCore.getInstance().getStylesheet(getFile("globalVariablesTest.xsl"));
- assertNotNull("Failed to load stylesheet 'globalVariablesTest.xsl'.", model);
- model = XSLCore.getInstance().getStylesheet(getFile("style1.xsl"));
- assertNotNull("Failed to load stylesheet 'style1.xsl'.", model);
- model = XSLCore.getInstance().getStylesheet(getFile("XSLT20Test.xsl"));
- assertNotNull("Failed to load stylesheet 'XSLT20Test.xsl'.", model);
- model = XSLCore.getInstance().getStylesheet(getFile("circularref.xsl"));
- assertNotNull("Failed to load stylesheet 'circularref.xsl'.", model);
- model = XSLCore.getInstance().getStylesheet(getFile("modeTest.xsl"));
- assertNotNull("Failed to load stylesheet 'modeTest.xsl'.", model);
-
- }
-
- public void testFindAvailableTemplateModes() {
- ArrayList<String> modes = new ArrayList();
- StylesheetModel model = XSLCore.getInstance().getStylesheet(getFile("modeTest.xsl"));
- List<Template> templates = model.getTemplates();
- assertTrue("No templates returned.", templates.size() > 0);
-
- for (Template template : templates) {
- XSLAttribute attribute = template.getAttribute("mode");
- if (attribute != null) {
- if (modes.indexOf(attribute.getValue()) == -1 ) {
- modes.add(attribute.getValue());
- }
- }
- }
- assertEquals("Wrong number of mode templates returned.", 3, modes.size());
- }
-}
diff --git a/tests/org.eclipse.wst.xsl.tests/.classpath b/tests/org.eclipse.wst.xsl.tests/.classpath
deleted file mode 100644
index ce73933..0000000
--- a/tests/org.eclipse.wst.xsl.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/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.wst.xsl.tests/.project b/tests/org.eclipse.wst.xsl.tests/.project
deleted file mode 100644
index 4293a3d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.xsl.tests</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.xsl.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.wst.xsl.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 5552f02..0000000
--- a/tests/org.eclipse.wst.xsl.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-#Thu Jan 10 09:20:54 EST 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.wst.xsl.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.xsl.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index cf5fd83..0000000
--- a/tests/org.eclipse.wst.xsl.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,15 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name.0
-Bundle-SymbolicName: org.eclipse.wst.xsl.tests;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %Bundle-Vendor.0
-Bundle-RequiredExecutionEnvironment: J2SE-1.4
-Bundle-Localization: plugin
-Require-Bundle: org.junit;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.wst.xsl.launching.tests;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.wst.xsl.ui.tests;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.wst.xsl.core.tests;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.wst.xml.xpath.core.tests;bundle-version="[1.0.0,2.0.0)"
-Export-Package: org.eclipse.wst.xsl.tests
-Bundle-ClassPath: .
diff --git a/tests/org.eclipse.wst.xsl.tests/about.html b/tests/org.eclipse.wst.xsl.tests/about.html
deleted file mode 100644
index 2199df3..0000000
--- a/tests/org.eclipse.wst.xsl.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>June, 2008</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.xsl.tests/build.properties b/tests/org.eclipse.wst.xsl.tests/build.properties
deleted file mode 100644
index 74f90d9..0000000
--- a/tests/org.eclipse.wst.xsl.tests/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2008 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
-###############################################################################
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.properties,\
- test.xml,\
- about.html
-source.. = src/
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/0.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/0.html
deleted file mode 100644
index 098faa5..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/0.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR PACKAGE [<SPAN CLASS="in">org.eclipse.wst.xml.xpath.core</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>org.eclipse.wst.xml.xpath.core</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/17)</TD><TD CLASS="h">0%   (0/9)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY SOURCE FILE</H3><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR CLASS="o"><TD><A HREF="50.html">XPathCorePlugin.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/17)</TD><TD CLASS="h">0%   (0/9)</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1.html
deleted file mode 100644
index 9416c50..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/1.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR PACKAGE [<SPAN CLASS="in">org.eclipse.wst.xml.xpath.messages</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>org.eclipse.wst.xml.xpath.messages</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/4)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY SOURCE FILE</H3><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR CLASS="o"><TD><A HREF="51.html">Messages.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/4)</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10.html
deleted file mode 100644
index d62ca81..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR PACKAGE [<SPAN CLASS="in">org.eclipse.wst.xsl.internal.debug.ui.model</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>org.eclipse.wst.xsl.internal.debug.ui.model</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/19)</TD><TD CLASS="h">0%   (0/313)</TD><TD CLASS="h">0%   (0/85)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY SOURCE FILE</H3><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR CLASS="o"><TD><A HREF="7c.html">XSLBreakpointAdapterFactory.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/37)</TD><TD CLASS="h">0%   (0/10)</TD></TR><TR><TD><A HREF="7d.html">XSLLineBreakpointAdapter.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/113)</TD><TD CLASS="h">0%   (0/27)</TD></TR><TR CLASS="o"><TD><A HREF="7e.html">XSLModelPresentation.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/163)</TD><TD CLASS="h">0%   (0/48)</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/100.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/100.html
deleted file mode 100644
index ccd54ac..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/100.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">LaunchHelper.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>LaunchHelper.java</TD><TD>100% (1/1)</TD><TD>70%  (7/10)</TD><TD CLASS="h">44%  (199/456)</TD><TD CLASS="h">51%  (49.3/97)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">LaunchHelper</A></TD><TD>100% (1/1)</TD><TD>70%  (7/10)</TD><TD CLASS="h">44%  (199/456)</TD><TD CLASS="h">51%  (49.3/97)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getAttribute (IAttribute [], String): IAttribute</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/25)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getAttributes (): LaunchAttributes</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getProperties (): LaunchProperties</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">hydrateTransformerFactory (ILaunchConfiguration): ITransformerFactory</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">29%  (14/49)</TD><TD CLASS="h">36%  (4/11)</TD></TR><TR><TD CLASS="f"><A HREF="#5">hydrateAttributes (ILaunchConfiguration): LaunchAttributes</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">43%  (29/68)</TD><TD CLASS="h">57%  (8/14)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">save (File): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">45%  (95/211)</TD><TD CLASS="h">47%  (19.3/41)</TD></TR><TR><TD CLASS="f"><A HREF="#7">getProcessorInstall (ILaunchConfiguration): IProcessorInstall</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">47%  (9/19)</TD><TD CLASS="h">50%  (3/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">hydrateOutputProperties (ILaunchConfiguration): LaunchProperties</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">56%  (33/59)</TD><TD CLASS="h">69%  (9/13)</TD></TR><TR><TD CLASS="f"><A HREF="#0">LaunchHelper (ILaunchConfiguration): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (16/16)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">getTransformerFactory (): ITransformerFactory</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.BufferedWriter;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.ByteArrayInputStream;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.File;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.io.FileNotFoundException;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.io.FileWriter;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">19</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">20</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">21</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">22</TD><TD> </TD></TR><TR><TD CLASS="l">23</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">24</TD><TD>import javax.xml.transform.TransformerException;</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.debug.core.ILaunchConfiguration;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.wst.xsl.jaxp.debug.invoker.PipelineDefinition;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.wst.xsl.jaxp.debug.invoker.TransformDefinition;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.wst.xsl.jaxp.debug.invoker.TypedValue;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IAttribute;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorInstall;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorType;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.ITransformerFactory;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.JAXPLaunchConfigurationConstants;</TD></TR><TR><TD CLASS="l">38</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.JAXPRuntime;</TD></TR><TR><TD CLASS="l">39</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.LaunchAttributes;</TD></TR><TR><TD CLASS="l">40</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.LaunchProperties;</TD></TR><TR><TD CLASS="l">41</TD><TD>import org.eclipse.wst.xsl.launching.config.BaseLaunchHelper;</TD></TR><TR><TD CLASS="l">42</TD><TD>import org.eclipse.wst.xsl.launching.config.LaunchAttribute;</TD></TR><TR><TD CLASS="l">43</TD><TD>import org.eclipse.wst.xsl.launching.config.LaunchTransform;</TD></TR><TR><TD CLASS="l">44</TD><TD>import org.eclipse.wst.xsl.launching.config.Messages;</TD></TR><TR><TD CLASS="l">45</TD><TD>import org.eclipse.wst.xsl.launching.config.PreferenceUtil;</TD></TR><TR><TD CLASS="l">46</TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">47</TD><TD> </TD></TR><TR><TD CLASS="l">48</TD><TD>public class LaunchHelper extends BaseLaunchHelper</TD></TR><TR><TD CLASS="l">49</TD><TD>{</TD></TR><TR><TD CLASS="l">50</TD><TD>        private final LaunchAttributes attributes;</TD></TR><TR><TD CLASS="l">51</TD><TD>        private final LaunchProperties outputProperties;</TD></TR><TR><TD CLASS="l"><A NAME="0">52</A></TD><TD>        private final ITransformerFactory transformerFactory;</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR><TD CLASS="l">54</TD><TD>        public LaunchHelper(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">55</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>                super(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                attributes = hydrateAttributes(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                outputProperties = hydrateOutputProperties(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>                transformerFactory = hydrateTransformerFactory(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">60</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">61</TD><TD> </TD></TR><TR><TD CLASS="l">62</TD><TD>        public LaunchProperties getProperties()</TD></TR><TR><TD CLASS="l">63</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">64</TD><TD>                return outputProperties;</TD></TR><TR><TD CLASS="l"><A NAME="2">65</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">66</TD><TD> </TD></TR><TR><TD CLASS="l">67</TD><TD>        public LaunchAttributes getAttributes()</TD></TR><TR><TD CLASS="l">68</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">69</TD><TD>                return attributes;</TD></TR><TR><TD CLASS="l"><A NAME="6">70</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">71</TD><TD> </TD></TR><TR><TD CLASS="l">72</TD><TD>        public void save(File file) throws CoreException</TD></TR><TR><TD CLASS="l">73</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">74</TD><TD>                BufferedWriter writer = null;</TD></TR><TR><TD CLASS="l">75</TD><TD>                try</TD></TR><TR><TD CLASS="l">76</TD><TD>                {</TD></TR><TR><TD CLASS="l">77</TD><TD>                        // ensure it exists</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>                        file.createNewFile();</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                        writer = new BufferedWriter(new FileWriter(file));</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                        PipelineDefinition pdef = new PipelineDefinition();</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                        for (Iterator&lt;?&gt; iter = attributes.getAttributes().iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">82</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">83</TD><TD>                                LaunchAttribute att = (LaunchAttribute) iter.next();</TD></TR><TR CLASS="z"><TD CLASS="l">84</TD><TD>                                pdef.addAttribute(new TypedValue(att.uri, TypedValue.TYPE_STRING, att.value));</TD></TR><TR><TD CLASS="l">85</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                        for (Iterator&lt;?&gt; iter = pipeline.getTransformDefs().iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">87</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                                LaunchTransform lt = (LaunchTransform) iter.next();</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                                TransformDefinition tdef = new TransformDefinition();</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                                URL url = pathToURL(lt.getLocation());</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>                                tdef.setStylesheetURL(url.toExternalForm());</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                                tdef.setResolverClass(lt.getResolver());</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                                for (Iterator&lt;?&gt; iterator = lt.getParameters().iterator(); iterator.hasNext();)</TD></TR><TR><TD CLASS="l">94</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">95</TD><TD>                                        LaunchAttribute att = (LaunchAttribute) iterator.next();</TD></TR><TR CLASS="z"><TD CLASS="l">96</TD><TD>                                        tdef.addParameter(new TypedValue(att.uri, TypedValue.TYPE_STRING, att.getResolvedValue()));</TD></TR><TR><TD CLASS="l">97</TD><TD>                                }</TD></TR><TR><TD CLASS="l">98</TD><TD>                                // set the output props for the LAST transform only</TD></TR><TR CLASS="c"><TD CLASS="l">99</TD><TD>                                if (!iter.hasNext())</TD></TR><TR><TD CLASS="l">100</TD><TD>                                {</TD></TR><TR CLASS="p"><TD TITLE="42% line coverage (10 out of 24 instructions)" CLASS="l">101</TD><TD TITLE="42% line coverage (10 out of 24 instructions)">                                        for (Map.Entry&lt;String, String&gt; entry : outputProperties.getProperties().entrySet())</TD></TR><TR><TD CLASS="l">102</TD><TD>                                        {</TD></TR><TR CLASS="z"><TD CLASS="l">103</TD><TD>                                                String name = entry.getKey();</TD></TR><TR CLASS="z"><TD CLASS="l">104</TD><TD>                                                String value = entry.getValue();</TD></TR><TR CLASS="z"><TD CLASS="l">105</TD><TD>                                                if (name != null &amp;&amp; value != null)</TD></TR><TR CLASS="z"><TD CLASS="l">106</TD><TD>                                                        tdef.setOutputProperty(name, value);</TD></TR><TR><TD CLASS="l">107</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">108</TD><TD>                                }</TD></TR><TR CLASS="c"><TD CLASS="l">109</TD><TD>                                pdef.addTransformDef(tdef);</TD></TR><TR><TD CLASS="l">110</TD><TD>                        }</TD></TR><TR><TD CLASS="l">111</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">112</TD><TD>                        Document doc = pdef.toXML();</TD></TR><TR CLASS="c"><TD CLASS="l">113</TD><TD>                        String s = PreferenceUtil.serializeDocument(doc);</TD></TR><TR CLASS="c"><TD CLASS="l">114</TD><TD>                        writer.write(s);</TD></TR><TR><TD CLASS="l">115</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">116</TD><TD>                catch (FileNotFoundException e)</TD></TR><TR><TD CLASS="l">117</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">118</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.ERROR, Messages.getString(&#34;LaunchHelper.0&#34;), e)); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">119</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">120</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">121</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">122</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.ERROR, Messages.getString(&#34;LaunchHelper.1&#34;), e)); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">123</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">124</TD><TD>                catch (ParserConfigurationException e)</TD></TR><TR><TD CLASS="l">125</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">126</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.ERROR, &#34;ParserConfigurationException&#34;, e)); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">127</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">128</TD><TD>                catch (TransformerException e)</TD></TR><TR><TD CLASS="l">129</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.ERROR, &#34;TransformerException&#34;, e)); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">131</TD><TD>                }</TD></TR><TR><TD CLASS="l">132</TD><TD>                finally</TD></TR><TR CLASS="z"><TD CLASS="l">133</TD><TD>                {</TD></TR><TR CLASS="p"><TD TITLE="40% line coverage (2 out of 5 instructions)" CLASS="l">134</TD><TD TITLE="40% line coverage (2 out of 5 instructions)">                        if (writer != null)</TD></TR><TR><TD CLASS="l">135</TD><TD>                        {</TD></TR><TR><TD CLASS="l">136</TD><TD>                                try</TD></TR><TR><TD CLASS="l">137</TD><TD>                                {</TD></TR><TR CLASS="p"><TD TITLE="50% line coverage (3 out of 6 instructions)" CLASS="l">138</TD><TD TITLE="50% line coverage (3 out of 6 instructions)">                                        writer.close();</TD></TR><TR><TD CLASS="l">139</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">140</TD><TD>                                catch (IOException e)</TD></TR><TR><TD CLASS="l">141</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">142</TD><TD>                                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">143</TD><TD>                                }</TD></TR><TR><TD CLASS="l">144</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="8">146</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">147</TD><TD> </TD></TR><TR><TD CLASS="l">148</TD><TD>        public static LaunchProperties hydrateOutputProperties(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">149</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">150</TD><TD>                LaunchProperties properties = new LaunchProperties();</TD></TR><TR CLASS="c"><TD CLASS="l">151</TD><TD>                boolean usePreferenceProperties = false; //configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_USE_PROPERTIES_FROM_PREFERENCES, true);</TD></TR><TR CLASS="c"><TD CLASS="l">152</TD><TD>                IProcessorType pt = getProcessorInstall(configuration).getProcessorType();</TD></TR><TR CLASS="c"><TD CLASS="l">153</TD><TD>                if (usePreferenceProperties)</TD></TR><TR><TD CLASS="l">154</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">155</TD><TD>                        for (Map.Entry&lt;String, String&gt; entry : pt.getOutputPropertyValues().entrySet())</TD></TR><TR><TD CLASS="l">156</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">157</TD><TD>                                String name = (String) entry.getKey();</TD></TR><TR CLASS="z"><TD CLASS="l">158</TD><TD>                                String value = (String) entry.getValue();</TD></TR><TR CLASS="z"><TD CLASS="l">159</TD><TD>                                properties.setProperty(name, value);</TD></TR><TR><TD CLASS="l">160</TD><TD>                        }</TD></TR><TR><TD CLASS="l">161</TD><TD>                }</TD></TR><TR><TD CLASS="l">162</TD><TD>                else</TD></TR><TR><TD CLASS="l">163</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">164</TD><TD>                        String s = configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_OUTPUT_PROPERTIES, (String) null);</TD></TR><TR CLASS="c"><TD CLASS="l">165</TD><TD>                        if (s != null &amp;&amp; s.length() &gt; 0)</TD></TR><TR><TD CLASS="l">166</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">167</TD><TD>                                ByteArrayInputStream inputStream = new ByteArrayInputStream(s.getBytes());</TD></TR><TR CLASS="c"><TD CLASS="l">168</TD><TD>                                properties = LaunchProperties.fromXML(inputStream);</TD></TR><TR><TD CLASS="l">169</TD><TD>                        }</TD></TR><TR><TD CLASS="l">170</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">171</TD><TD>                return properties;</TD></TR><TR><TD CLASS="l"><A NAME="5">172</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">173</TD><TD> </TD></TR><TR><TD CLASS="l">174</TD><TD>        private static LaunchAttributes hydrateAttributes(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">175</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">176</TD><TD>                LaunchAttributes attributes  = new LaunchAttributes();</TD></TR><TR CLASS="c"><TD CLASS="l">177</TD><TD>                boolean useDefaultAttributes = false; //configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_USE_FEATURES_FROM_PREFERENCES, true);</TD></TR><TR CLASS="c"><TD CLASS="l">178</TD><TD>                if (useDefaultAttributes)</TD></TR><TR><TD CLASS="l">179</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">180</TD><TD>                        IProcessorType pt = getProcessorInstall(configuration).getProcessorType();</TD></TR><TR CLASS="z"><TD CLASS="l">181</TD><TD>                        Map&lt;String, String&gt; fvals = pt.getAttributeValues();</TD></TR><TR CLASS="z"><TD CLASS="l">182</TD><TD>                        for (Map.Entry&lt;String, String&gt; entry : fvals.entrySet())</TD></TR><TR><TD CLASS="l">183</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">184</TD><TD>                                String uri = (String) entry.getKey();</TD></TR><TR CLASS="z"><TD CLASS="l">185</TD><TD>                                IAttribute attribute = getAttribute(pt.getAttributes(), uri);</TD></TR><TR CLASS="z"><TD CLASS="l">186</TD><TD>                                attributes.addAttribute(new LaunchAttribute(uri, &#34;string&#34;, (String) entry.getValue()));</TD></TR><TR><TD CLASS="l">187</TD><TD>                        }</TD></TR><TR><TD CLASS="l">188</TD><TD>                }</TD></TR><TR><TD CLASS="l">189</TD><TD>                else</TD></TR><TR><TD CLASS="l">190</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">191</TD><TD>                        String s = configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_ATTRIBUTES, (String) null);</TD></TR><TR CLASS="c"><TD CLASS="l">192</TD><TD>                        if (s != null &amp;&amp; s.length() &gt; 0)</TD></TR><TR><TD CLASS="l">193</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">194</TD><TD>                                ByteArrayInputStream inputStream = new ByteArrayInputStream(s.getBytes());</TD></TR><TR CLASS="c"><TD CLASS="l">195</TD><TD>                                attributes = LaunchAttributes.fromXML(inputStream);</TD></TR><TR><TD CLASS="l">196</TD><TD>                        }</TD></TR><TR><TD CLASS="l">197</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">198</TD><TD>                return attributes;</TD></TR><TR><TD CLASS="l"><A NAME="1">199</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">200</TD><TD> </TD></TR><TR><TD CLASS="l">201</TD><TD>        private static IAttribute getAttribute(IAttribute[] attributes, String uri)</TD></TR><TR><TD CLASS="l">202</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">203</TD><TD>                for (IAttribute attribute : attributes)</TD></TR><TR><TD CLASS="l">204</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">205</TD><TD>                        if (attribute.getURI().equals(uri))</TD></TR><TR CLASS="z"><TD CLASS="l">206</TD><TD>                                return attribute;</TD></TR><TR><TD CLASS="l">207</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">208</TD><TD>                return null;</TD></TR><TR><TD CLASS="l">209</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="7">210</A></TD><TD> </TD></TR><TR><TD CLASS="l">211</TD><TD> </TD></TR><TR><TD CLASS="l">212</TD><TD>        public static IProcessorInstall getProcessorInstall(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">213</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">214</TD><TD>                boolean useDefaultProcessor = configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_USE_DEFAULT_PROCESSOR, true);</TD></TR><TR CLASS="c"><TD CLASS="l">215</TD><TD>                if (useDefaultProcessor)</TD></TR><TR CLASS="c"><TD CLASS="l">216</TD><TD>                        return JAXPRuntime.getDefaultProcessor();</TD></TR><TR CLASS="z"><TD CLASS="l">217</TD><TD>                String processorId = configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_PROCESSOR, &#34;&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">218</TD><TD>                IProcessorInstall processor = JAXPRuntime.getProcessor(processorId);</TD></TR><TR CLASS="z"><TD CLASS="l">219</TD><TD>                return processor;</TD></TR><TR><TD CLASS="l"><A NAME="4">220</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">221</TD><TD> </TD></TR><TR><TD CLASS="l">222</TD><TD>        private static ITransformerFactory hydrateTransformerFactory(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">223</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">224</TD><TD>                IProcessorType type = getProcessorInstall(configuration).getProcessorType();</TD></TR><TR CLASS="c"><TD CLASS="l">225</TD><TD>                boolean useDefaultFactory = configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_USE_DEFAULT_PROCESSOR, true);</TD></TR><TR CLASS="c"><TD CLASS="l">226</TD><TD>                if (useDefaultFactory)</TD></TR><TR CLASS="c"><TD CLASS="l">227</TD><TD>                        return type.getDefaultTransformerFactory();</TD></TR><TR><TD CLASS="l">228</TD><TD>                </TD></TR><TR CLASS="z"><TD CLASS="l">229</TD><TD>                String factoryId = configuration.getAttribute(JAXPLaunchConfigurationConstants.ATTR_TRANSFORMER_FACTORY, (String)null);</TD></TR><TR CLASS="z"><TD CLASS="l">230</TD><TD>                if (factoryId == null)</TD></TR><TR CLASS="z"><TD CLASS="l">231</TD><TD>                        return null;</TD></TR><TR><TD CLASS="l">232</TD><TD>                </TD></TR><TR CLASS="z"><TD CLASS="l">233</TD><TD>                for (ITransformerFactory factory : type.getTransformerFactories())</TD></TR><TR><TD CLASS="l">234</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">235</TD><TD>                        if (factory.getFactoryClass().equals(factoryId))</TD></TR><TR CLASS="z"><TD CLASS="l">236</TD><TD>                                return factory;</TD></TR><TR><TD CLASS="l">237</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">238</TD><TD>                return null;</TD></TR><TR><TD CLASS="l"><A NAME="a">239</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">240</TD><TD> </TD></TR><TR><TD CLASS="l">241</TD><TD>        public ITransformerFactory getTransformerFactory()</TD></TR><TR><TD CLASS="l">242</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">243</TD><TD>                return transformerFactory;</TD></TR><TR><TD CLASS="l">244</TD><TD>        }</TD></TR><TR><TD CLASS="l">245</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/101.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/101.html
deleted file mode 100644
index f303e1c..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/101.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">JAXPLaunchingPlugin.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>JAXPLaunchingPlugin.java</TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (4/6)</TD><TD CLASS="h">49%  (17/35)</TD><TD CLASS="h">69%  (9/13)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">JAXPLaunchingPlugin</A></TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (4/6)</TD><TD CLASS="h">49%  (17/35)</TD><TD CLASS="h">69%  (9/13)</TD></TR><TR><TD CLASS="f"><A HREF="#1">log (CoreException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">log (Exception): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/12)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#0">JAXPLaunchingPlugin (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getDefault (): JAXPLaunchingPlugin</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">start (BundleContext): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">stop (BundleContext): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">4</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">5</TD><TD>import org.eclipse.core.runtime.Plugin;</TD></TR><TR><TD CLASS="l">6</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">7</TD><TD>import org.osgi.framework.BundleContext;</TD></TR><TR><TD CLASS="l">8</TD><TD> </TD></TR><TR><TD CLASS="l">9</TD><TD>/**</TD></TR><TR><TD CLASS="l">10</TD><TD> * The activator class controls the plug-in life cycle</TD></TR><TR><TD CLASS="l">11</TD><TD> */</TD></TR><TR><TD CLASS="l">12</TD><TD>public class JAXPLaunchingPlugin extends Plugin {</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>        // The plug-in ID</TD></TR><TR><TD CLASS="l">15</TD><TD>        public static final String PLUGIN_ID = &#34;org.eclipse.wst.xsl.jaxp.launching&#34;;</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>        // The shared instance</TD></TR><TR><TD CLASS="l">18</TD><TD>        private static JAXPLaunchingPlugin plugin;</TD></TR><TR><TD CLASS="l"><A NAME="0">19</A></TD><TD>        </TD></TR><TR><TD CLASS="l">20</TD><TD>        /**</TD></TR><TR><TD CLASS="l">21</TD><TD>         * The constructor</TD></TR><TR><TD CLASS="l">22</TD><TD>         */</TD></TR><TR CLASS="c"><TD CLASS="l">23</TD><TD>        public JAXPLaunchingPlugin() {</TD></TR><TR CLASS="c"><TD CLASS="l">24</TD><TD>        }</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD>        /*</TD></TR><TR><TD CLASS="l"><A NAME="5">27</A></TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">28</TD><TD>         * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)</TD></TR><TR><TD CLASS="l">29</TD><TD>         */</TD></TR><TR><TD CLASS="l">30</TD><TD>        public void start(BundleContext context) throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">31</TD><TD>                super.start(context);</TD></TR><TR CLASS="c"><TD CLASS="l">32</TD><TD>                plugin = this;</TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>        }</TD></TR><TR><TD CLASS="l">34</TD><TD> </TD></TR><TR><TD CLASS="l">35</TD><TD>        /*</TD></TR><TR><TD CLASS="l"><A NAME="6">36</A></TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">37</TD><TD>         * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)</TD></TR><TR><TD CLASS="l">38</TD><TD>         */</TD></TR><TR><TD CLASS="l">39</TD><TD>        public void stop(BundleContext context) throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>                plugin = null;</TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>                super.stop(context);</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>        }</TD></TR><TR><TD CLASS="l">43</TD><TD> </TD></TR><TR><TD CLASS="l">44</TD><TD>        /**</TD></TR><TR><TD CLASS="l">45</TD><TD>         * Returns the shared instance</TD></TR><TR><TD CLASS="l"><A NAME="4">46</A></TD><TD>         *</TD></TR><TR><TD CLASS="l">47</TD><TD>         * @return the shared instance</TD></TR><TR><TD CLASS="l">48</TD><TD>         */</TD></TR><TR><TD CLASS="l">49</TD><TD>        public static JAXPLaunchingPlugin getDefault() {</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                return plugin;</TD></TR><TR><TD CLASS="l"><A NAME="2">51</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">52</TD><TD> </TD></TR><TR><TD CLASS="l">53</TD><TD>        public static void log(Exception e)</TD></TR><TR><TD CLASS="l">54</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>                getDefault().getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, 0, &#34;&#34;, e)); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="1">56</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>        public static void log(CoreException e)</TD></TR><TR><TD CLASS="l">59</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                getDefault().getLog().log(e.getStatus());</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>        }</TD></TR><TR><TD CLASS="l">62</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/102.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/102.html
deleted file mode 100644
index a7329fc..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/102.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">Utils.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>Utils.java</TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (2/3)</TD><TD CLASS="h">51%  (58/113)</TD><TD CLASS="h">74%  (14/19)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">Utils</A></TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (2/3)</TD><TD CLASS="h">51%  (58/113)</TD><TD CLASS="h">74%  (14/19)</TD></TR><TR><TD CLASS="f"><A HREF="#0">Utils (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getFileLocation (String, String): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">52%  (28/54)</TD><TD CLASS="h">78%  (7/9)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getPluginLocation (String): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">54%  (30/56)</TD><TD CLASS="h">78%  (7/9)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import java.io.File;</TD></TR><TR><TD CLASS="l">4</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">5</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">6</TD><TD> </TD></TR><TR><TD CLASS="l">7</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">8</TD><TD>import org.eclipse.core.runtime.FileLocator;</TD></TR><TR><TD CLASS="l">9</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l"><A NAME="0">10</A></TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">11</TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">12</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">14</TD><TD>public class Utils</TD></TR><TR><TD CLASS="l"><A NAME="2">15</A></TD><TD>{</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>        public static String getFileLocation(String bundleId, String path) throws CoreException</TD></TR><TR><TD CLASS="l">18</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">19</TD><TD>                String location = null;</TD></TR><TR><TD CLASS="l">20</TD><TD>                try</TD></TR><TR><TD CLASS="l">21</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">22</TD><TD>                        URL url = FileLocator.find(Platform.getBundle(bundleId), new Path(path), null);</TD></TR><TR CLASS="c"><TD CLASS="l">23</TD><TD>                        if (url != null)</TD></TR><TR><TD CLASS="l">24</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">25</TD><TD>                                URL fileUrl = FileLocator.toFileURL(url);</TD></TR><TR CLASS="c"><TD CLASS="l">26</TD><TD>                                File file = new File(fileUrl.getFile());</TD></TR><TR CLASS="c"><TD CLASS="l">27</TD><TD>                                location = file.getAbsolutePath();</TD></TR><TR><TD CLASS="l">28</TD><TD>                        }</TD></TR><TR><TD CLASS="l">29</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">30</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">31</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">32</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.ERROR, Messages.getString(&#34;Utils.0&#34;) + path + Messages.getString(&#34;Utils.1&#34;) + bundleId, e)); //$NON-NLS-1$ //$NON-NLS-2$</TD></TR><TR><TD CLASS="l">33</TD><TD>                } </TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                return location;</TD></TR><TR><TD CLASS="l"><A NAME="3">35</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR><TD CLASS="l">37</TD><TD>        public static String getPluginLocation(String bundleId) throws CoreException</TD></TR><TR><TD CLASS="l">38</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>                String location = null;</TD></TR><TR><TD CLASS="l">40</TD><TD>                try</TD></TR><TR><TD CLASS="l">41</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                        URL url = new URL(&#34;platform:/plugin/&#34;+bundleId);</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                        if (url != null)</TD></TR><TR><TD CLASS="l">44</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>                                URL fileUrl = FileLocator.toFileURL(url);</TD></TR><TR CLASS="c"><TD CLASS="l">46</TD><TD>                                File file = new File(fileUrl.getFile());</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>                                location = file.getAbsolutePath();</TD></TR><TR><TD CLASS="l">48</TD><TD>                        }</TD></TR><TR><TD CLASS="l">49</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">50</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">51</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.ERROR, Messages.getString(&#34;Utils.0&#34;) + bundleId + Messages.getString(&#34;Utils.1&#34;) + bundleId, e)); //$NON-NLS-1$ //$NON-NLS-2$</TD></TR><TR><TD CLASS="l">53</TD><TD>                } </TD></TR><TR CLASS="c"><TD CLASS="l">54</TD><TD>                return location;</TD></TR><TR><TD CLASS="l">55</TD><TD>        }</TD></TR><TR><TD CLASS="l">56</TD><TD> </TD></TR><TR><TD CLASS="l">57</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/103.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/103.html
deleted file mode 100644
index c8e1041..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/103.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">TransformerFactory.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>TransformerFactory.java</TD><TD>100% (1/1)</TD><TD CLASS="h">33%  (1/3)</TD><TD CLASS="h">60%  (9/15)</TD><TD CLASS="h">67%  (4/6)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">TransformerFactory</A></TD><TD>100% (1/1)</TD><TD CLASS="h">33%  (1/3)</TD><TD CLASS="h">60%  (9/15)</TD><TD CLASS="h">67%  (4/6)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getFactoryClass (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getName (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#0">TransformerFactory (String, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (4/4)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.ITransformerFactory;</TD></TR><TR><TD CLASS="l">4</TD><TD> </TD></TR><TR><TD CLASS="l">5</TD><TD>public class TransformerFactory implements ITransformerFactory</TD></TR><TR><TD CLASS="l">6</TD><TD>{</TD></TR><TR><TD CLASS="l">7</TD><TD>        private final String factoryClass;</TD></TR><TR><TD CLASS="l"><A NAME="0">8</A></TD><TD>        private final String name;</TD></TR><TR><TD CLASS="l">9</TD><TD>        </TD></TR><TR><TD CLASS="l">10</TD><TD>        public TransformerFactory(String name,String factoryClass)</TD></TR><TR><TD CLASS="l">11</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">12</TD><TD>                super();</TD></TR><TR CLASS="c"><TD CLASS="l">13</TD><TD>                this.factoryClass = factoryClass;</TD></TR><TR CLASS="c"><TD CLASS="l">14</TD><TD>                this.name = name;</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="1">15</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>        public String getFactoryClass()</TD></TR><TR><TD CLASS="l">18</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">19</TD><TD>                return factoryClass;</TD></TR><TR><TD CLASS="l"><A NAME="2">20</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>        public String getName()</TD></TR><TR><TD CLASS="l">23</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">24</TD><TD>                return name;</TD></TR><TR><TD CLASS="l">25</TD><TD>        }</TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR><TD CLASS="l">27</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/104.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/104.html
deleted file mode 100644
index 55e10b3..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/104.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">PreferenceInitializer.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>PreferenceInitializer.java</TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>85%  (60/71)</TD><TD CLASS="h">71%  (15/21)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">PreferenceInitializer</A></TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>85%  (60/71)</TD><TD CLASS="h">71%  (15/21)</TD></TR><TR><TD CLASS="f"><A HREF="#1">initializeDefaultPreferences (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>84%  (57/68)</TD><TD CLASS="h">70%  (14/20)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">PreferenceInitializer (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">16</TD><TD>import javax.xml.transform.TransformerException;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.core.runtime.preferences.DefaultScope;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.runtime.preferences.IEclipsePreferences;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.JAXPLaunchConfigurationConstants;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.JAXPRuntime;</TD></TR><TR><TD CLASS="l"><A NAME="0">23</A></TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD>/**</TD></TR><TR><TD CLASS="l">25</TD><TD> * Class used to initialize default preference values.</TD></TR><TR><TD CLASS="l">26</TD><TD> */</TD></TR><TR CLASS="c"><TD CLASS="l">27</TD><TD>public class PreferenceInitializer extends AbstractPreferenceInitializer</TD></TR><TR><TD CLASS="l">28</TD><TD>{</TD></TR><TR><TD CLASS="l"><A NAME="1">29</A></TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">31</TD><TD>        public void initializeDefaultPreferences()</TD></TR><TR><TD CLASS="l">32</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>                IEclipsePreferences node = new DefaultScope().getNode(JAXPLaunchingPlugin.PLUGIN_ID);</TD></TR><TR><TD CLASS="l">34</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>                ProcessorPreferences prefs = new ProcessorPreferences();</TD></TR><TR CLASS="c"><TD CLASS="l">36</TD><TD>                prefs.setDefaultProcessorId(JAXPRuntime.JRE_DEFAULT_PROCESSOR_ID);</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">38</TD><TD>                OutputPropertyPreferences outputPrefs = new OutputPropertyPreferences();</TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>                outputPrefs.setOutputPropertyValues(JAXPRuntime.JRE_DEFAULT_PROCESSOR_TYPE_ID, JAXPRuntime.createDefaultOutputProperties(JAXPRuntime.JRE_DEFAULT_PROCESSOR_TYPE_ID));</TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>                outputPrefs.setOutputPropertyValues(JAXPLaunchConfigurationConstants.XALAN_TYPE_ID, JAXPRuntime.createDefaultOutputProperties(JAXPLaunchConfigurationConstants.XALAN_TYPE_ID));</TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>                outputPrefs.setOutputPropertyValues(JAXPLaunchConfigurationConstants.SAXON_TYPE_ID, JAXPRuntime.createDefaultOutputProperties(JAXPLaunchConfigurationConstants.SAXON_TYPE_ID));</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                outputPrefs.setOutputPropertyValues(JAXPLaunchConfigurationConstants.SAXON_1_0_TYPE_ID, JAXPRuntime.createDefaultOutputProperties(JAXPLaunchConfigurationConstants.SAXON_1_0_TYPE_ID));</TD></TR><TR><TD CLASS="l">43</TD><TD> </TD></TR><TR><TD CLASS="l">44</TD><TD>                try</TD></TR><TR><TD CLASS="l">45</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">46</TD><TD>                        String xml = prefs.getAsXML();</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>                        node.put(JAXPRuntime.PREF_PROCESSOR_XML, xml);</TD></TR><TR><TD CLASS="l">48</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">49</TD><TD>                        xml = outputPrefs.getAsXML();</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                        node.put(JAXPRuntime.PREF_OUTPUT_PROPERTIES_XML, xml);</TD></TR><TR><TD CLASS="l">51</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                        node.put(JAXPLaunchConfigurationConstants.ATTR_DEFAULT_DEBUGGING_INSTALL_ID, &#34;org.eclipse.wst.xsl.launching.xalan.processor&#34;); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">53</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                catch (ParserConfigurationException e)</TD></TR><TR><TD CLASS="l">55</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">56</TD><TD>                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">57</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">58</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">59</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">61</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">62</TD><TD>                catch (TransformerException e)</TD></TR><TR><TD CLASS="l">63</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">64</TD><TD>                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">65</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">66</TD><TD>        }</TD></TR><TR><TD CLASS="l">67</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/105.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/105.html
deleted file mode 100644
index fb1529d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/105.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">ProcessorInvokerDescriptor.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>ProcessorInvokerDescriptor.java</TD><TD>100% (1/1)</TD><TD>100% (5/5)</TD><TD>93%  (113/122)</TD><TD>86%  (24/28)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">ProcessorInvokerDescriptor</A></TD><TD>100% (1/1)</TD><TD>100% (5/5)</TD><TD>93%  (113/122)</TD><TD>86%  (24/28)</TD></TR><TR><TD CLASS="f"><A HREF="#1">createEntries (String, String []): String []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>91%  (86/95)</TD><TD CLASS="h">79%  (15/19)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">ProcessorInvokerDescriptor (String, String, String, String []): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (15/15)</TD><TD>100% (6/6)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getClasspathEntries (): String []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getId (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">getInvokerClassName (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.File;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.runtime.FileLocator;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorInvoker;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD>public class ProcessorInvokerDescriptor implements IProcessorInvoker</TD></TR><TR><TD CLASS="l">25</TD><TD>{</TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR><TD CLASS="l">27</TD><TD>        private final String invokerClass;</TD></TR><TR><TD CLASS="l"><A NAME="0">28</A></TD><TD>        private final String[] classpath;</TD></TR><TR><TD CLASS="l">29</TD><TD>        private final String id;</TD></TR><TR><TD CLASS="l">30</TD><TD>        private final String bundleId;</TD></TR><TR><TD CLASS="l">31</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">32</TD><TD>        public ProcessorInvokerDescriptor(String id, String bundleId, String invokerClass, String[] classpath)</TD></TR><TR><TD CLASS="l">33</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                this.id = id;</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>                this.bundleId = bundleId;</TD></TR><TR CLASS="c"><TD CLASS="l">36</TD><TD>                this.invokerClass = invokerClass;</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>                this.classpath = classpath;</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">38</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">39</TD><TD> </TD></TR><TR><TD CLASS="l">40</TD><TD>        public String[] getClasspathEntries()</TD></TR><TR><TD CLASS="l">41</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                return createEntries(bundleId,classpath);</TD></TR><TR><TD CLASS="l"><A NAME="1">43</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">44</TD><TD>        </TD></TR><TR><TD CLASS="l">45</TD><TD>        public static String[] createEntries(String bundleId, String[] classpath)</TD></TR><TR><TD CLASS="l">46</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>                List&lt;String&gt; entries = new ArrayList&lt;String&gt;();</TD></TR><TR><TD CLASS="l">48</TD><TD>                try {</TD></TR><TR><TD CLASS="l">49</TD><TD>                        // if in dev mode, use the bin dir</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                        if (Platform.inDevelopmentMode())</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                                entries.add(Utils.getFileLocation(bundleId, &#34;/bin&#34;)); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                        for (String jar : classpath)</TD></TR><TR><TD CLASS="l">53</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">54</TD><TD>                                String entry = null;</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                                if (jar.startsWith(&#34;${eclipse_orbit:&#34;) &amp;&amp; jar.endsWith(&#34;}&#34;)) //$NON-NLS-1$ //$NON-NLS-2$</TD></TR><TR><TD CLASS="l">56</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                                        jar = jar.substring(&#34;${eclipse_orbit:&#34;.length()); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                                        jar = jar.substring(0,jar.length()-1);</TD></TR><TR><TD CLASS="l">59</TD><TD>                                        try</TD></TR><TR><TD CLASS="l">60</TD><TD>                                        {</TD></TR><TR CLASS="c"><TD CLASS="l">61</TD><TD>                                                File bundleFile = FileLocator.getBundleFile(Platform.getBundle(jar));</TD></TR><TR CLASS="c"><TD CLASS="l">62</TD><TD>                                                if (bundleFile.isDirectory())</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                                                        entry = Utils.getPluginLocation(jar) + &#34;/bin&#34;;</TD></TR><TR><TD CLASS="l">64</TD><TD>                                                else</TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                                                        entry = Utils.getPluginLocation(jar);</TD></TR><TR><TD CLASS="l">66</TD><TD>                                        }</TD></TR><TR CLASS="z"><TD CLASS="l">67</TD><TD>                                        catch (IOException e)</TD></TR><TR><TD CLASS="l">68</TD><TD>                                        {}</TD></TR><TR><TD CLASS="l">69</TD><TD>                                }</TD></TR><TR><TD CLASS="l">70</TD><TD>                                else</TD></TR><TR><TD CLASS="l">71</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">72</TD><TD>                                        entry = Utils.getFileLocation(bundleId,jar);</TD></TR><TR><TD CLASS="l">73</TD><TD>                                }</TD></TR><TR CLASS="c"><TD CLASS="l">74</TD><TD>                                if (entry!=null)</TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                                        entries.add(entry);</TD></TR><TR><TD CLASS="l">76</TD><TD>                        }</TD></TR><TR><TD CLASS="l">77</TD><TD>                } </TD></TR><TR CLASS="z"><TD CLASS="l">78</TD><TD>                catch (CoreException e) </TD></TR><TR><TD CLASS="l">79</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">81</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                return entries.toArray(new String[0]);</TD></TR><TR><TD CLASS="l">83</TD><TD>        }</TD></TR><TR><TD CLASS="l">84</TD><TD> </TD></TR><TR><TD CLASS="l">85</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="5">86</A></TD><TD>         * The name of the class that implements IProcessorInvoker</TD></TR><TR><TD CLASS="l">87</TD><TD>         */</TD></TR><TR><TD CLASS="l">88</TD><TD>        public String getInvokerClassName()</TD></TR><TR><TD CLASS="l">89</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                return invokerClass;</TD></TR><TR><TD CLASS="l"><A NAME="4">91</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">92</TD><TD> </TD></TR><TR><TD CLASS="l">93</TD><TD>        public String getId()</TD></TR><TR><TD CLASS="l">94</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                return id;</TD></TR><TR><TD CLASS="l">96</TD><TD>        }</TD></TR><TR><TD CLASS="l">97</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/106.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/106.html
deleted file mode 100644
index 3bca842..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/106.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">OutputPropertyPreferences.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>OutputPropertyPreferences.java</TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (197/197)</TD><TD>100% (45/45)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">OutputPropertyPreferences</A></TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (197/197)</TD><TD>100% (45/45)</TD></TR><TR><TD CLASS="f"><A HREF="#0">OutputPropertyPreferences (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">elementAsPropertyValues (Element): Map</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (39/39)</TD><TD>100% (7/7)</TD></TR><TR><TD CLASS="f"><A HREF="#3">elementAsType (Element): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">featureValuesAsElement (Document, Element, Map): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (39/39)</TD><TD>100% (9/9)</TD></TR><TR><TD CLASS="f"><A HREF="#5">fromXML (InputStream): OutputPropertyPreferences</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (38/38)</TD><TD>100% (10/10)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">getAsXML (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (44/44)</TD><TD>100% (9/9)</TD></TR><TR><TD CLASS="f"><A HREF="#7">getOutputPropertyValues (String): Map</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">setOutputPropertyValues (String, Map): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (7/7)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#9">typeAsElement (Document, String): Element</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (10/10)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">19</TD><TD>import javax.xml.transform.TransformerException;</TD></TR><TR><TD CLASS="l">20</TD><TD> </TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l"><A NAME="0">22</A></TD><TD>import org.eclipse.wst.xsl.launching.config.PreferenceUtil;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.w3c.dom.Element;</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">26</TD><TD>public class OutputPropertyPreferences</TD></TR><TR><TD CLASS="l">27</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="7">28</A></TD><TD>        private final Map&lt;String, Map&lt;String,String&gt;&gt; typeProperties = new HashMap&lt;String, Map&lt;String,String&gt;&gt;();</TD></TR><TR><TD CLASS="l">29</TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD>        public Map&lt;String,String&gt; getOutputPropertyValues(String typeId)</TD></TR><TR><TD CLASS="l">31</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">32</TD><TD>                return typeProperties.get(typeId);</TD></TR><TR><TD CLASS="l"><A NAME="8">33</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">34</TD><TD> </TD></TR><TR><TD CLASS="l">35</TD><TD>        public void setOutputPropertyValues(String typeId, Map&lt;String,String&gt; properties)</TD></TR><TR><TD CLASS="l">36</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>                typeProperties.put(typeId, properties);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="6">38</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">39</TD><TD> </TD></TR><TR><TD CLASS="l">40</TD><TD>        public String getAsXML() throws ParserConfigurationException, IOException, TransformerException</TD></TR><TR><TD CLASS="l">41</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                Document doc = PreferenceUtil.getDocument();</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                Element config = doc.createElement(&#34;outputPropertyPreferences&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">44</TD><TD>                doc.appendChild(config);</TD></TR><TR><TD CLASS="l">45</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">46</TD><TD>                for (String type : typeProperties.keySet())</TD></TR><TR><TD CLASS="l">47</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>                        Element processorTypeElement = typeAsElement(doc, type);</TD></TR><TR CLASS="c"><TD CLASS="l">49</TD><TD>                        Map&lt;String,String&gt; propertyValues = typeProperties.get(type);</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                        featureValuesAsElement(doc, processorTypeElement, propertyValues);</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                        config.appendChild(processorTypeElement);</TD></TR><TR><TD CLASS="l">52</TD><TD>                }</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR><TD CLASS="l">54</TD><TD>                // Serialize the Document and return the resulting String</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                return PreferenceUtil.serializeDocument(doc);</TD></TR><TR><TD CLASS="l"><A NAME="5">56</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>        public static OutputPropertyPreferences fromXML(InputStream inputStream) throws CoreException</TD></TR><TR><TD CLASS="l">59</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>                OutputPropertyPreferences prefs = new OutputPropertyPreferences();</TD></TR><TR><TD CLASS="l">61</TD><TD> </TD></TR><TR><TD CLASS="l">62</TD><TD>                // Do the parsing and obtain the top-level node</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                Document doc = PreferenceUtil.getDocument(inputStream);</TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                Element config = doc.getDocumentElement();</TD></TR><TR><TD CLASS="l">65</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">66</TD><TD>                Element[] processorTypeEls = PreferenceUtil.getChildElements(config, &#34;processorType&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                for (int i = 0; i &lt; processorTypeEls.length; ++i)</TD></TR><TR><TD CLASS="l">68</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">69</TD><TD>                        Element processorTypeEl = processorTypeEls[i];</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                        String type = elementAsType(processorTypeEl);</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                        Map&lt;String,String&gt; featureValues = elementAsPropertyValues(processorTypeEl);</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                        prefs.setOutputPropertyValues(type, featureValues);</TD></TR><TR><TD CLASS="l">73</TD><TD>                }</TD></TR><TR><TD CLASS="l">74</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                return prefs;</TD></TR><TR><TD CLASS="l"><A NAME="3">76</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR><TD CLASS="l">78</TD><TD>        private static String elementAsType(Element parent)</TD></TR><TR><TD CLASS="l">79</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                String id = parent.getAttribute(&#34;id&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                return id;</TD></TR><TR><TD CLASS="l"><A NAME="9">82</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">83</TD><TD> </TD></TR><TR><TD CLASS="l">84</TD><TD>        private static Element typeAsElement(Document doc, String type)</TD></TR><TR><TD CLASS="l">85</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                Element element = doc.createElement(&#34;processorType&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                element.setAttribute(&#34;id&#34;, type); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                return element;</TD></TR><TR><TD CLASS="l"><A NAME="2">89</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">90</TD><TD> </TD></TR><TR><TD CLASS="l">91</TD><TD>        private static Map&lt;String, String&gt; elementAsPropertyValues(Element element)</TD></TR><TR><TD CLASS="l">92</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                Element[] propertyEls = PreferenceUtil.getChildElements(element, &#34;property&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                Map&lt;String, String&gt; propertyValues = new HashMap&lt;String,String&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                for (Element featureEl : propertyEls)</TD></TR><TR><TD CLASS="l">96</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">97</TD><TD>                        String name = featureEl.getAttribute(&#34;name&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                        String value = featureEl.getAttribute(&#34;value&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">99</TD><TD>                        propertyValues.put(name, value);</TD></TR><TR><TD CLASS="l">100</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">101</TD><TD>                return propertyValues;</TD></TR><TR><TD CLASS="l"><A NAME="4">102</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">103</TD><TD> </TD></TR><TR><TD CLASS="l">104</TD><TD>        private static void featureValuesAsElement(Document doc, Element featuresEl, Map&lt;String, String&gt; propertyValues)</TD></TR><TR><TD CLASS="l">105</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">106</TD><TD>                if (propertyValues != null)</TD></TR><TR><TD CLASS="l">107</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                        for (Map.Entry&lt;String, String&gt; entry : propertyValues.entrySet())</TD></TR><TR><TD CLASS="l">109</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">110</TD><TD>                                String name = entry.getKey();</TD></TR><TR CLASS="c"><TD CLASS="l">111</TD><TD>                                String value = entry.getValue();</TD></TR><TR CLASS="c"><TD CLASS="l">112</TD><TD>                                Element element = doc.createElement(&#34;property&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">113</TD><TD>                                element.setAttribute(&#34;name&#34;, name); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">114</TD><TD>                                element.setAttribute(&#34;value&#34;, value); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">115</TD><TD>                                featuresEl.appendChild(element);</TD></TR><TR><TD CLASS="l">116</TD><TD>                        }</TD></TR><TR><TD CLASS="l">117</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">118</TD><TD>        }</TD></TR><TR><TD CLASS="l">119</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2b.html">org.eclipse.wst.xsl.jaxp.launching.internal</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/107.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/107.html
deleted file mode 100644
index f35f139..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/107.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2c.html">org.eclipse.wst.xsl.core.resolver</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLVersionHandler.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLVersionHandler.java</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/17)</TD><TD CLASS="h">0%   (0/106)</TD><TD CLASS="h">0%   (0/37)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLVersionHandler</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/16)</TD><TD CLASS="h">0%   (0/99)</TD><TD CLASS="h">0%   (0/35)</TD></TR><TR><TD CLASS="f"><A HREF="#0">XSLVersionHandler (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">comment (char [], int, int): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">createParser (SAXParserFactory): SAXParser</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/27)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">endCDATA (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">endDTD (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">endEntity (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#7">error (SAXParseException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">fatalError (SAXParseException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#9">getVersionAttribute (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">parseContents (InputSource): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/19)</TD><TD CLASS="h">0%   (0/7)</TD></TR><TR><TD CLASS="f"><A HREF="#b">resolveEntity (String, String): InputSource</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">startCDATA (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#d">startDTD (String, String, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#e">startElement (String, String, String, Attributes): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/26)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#f">startEntity (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#10">warning (SAXParseException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#11">XSLVersionHandler$StopParsingException</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#11">XSLVersionHandler$StopParsingException (XSLVersionHandler): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/**********************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2005, 2008 IBM Corporation and others. All rights reserved.   This</TD></TR><TR><TD CLASS="l">3</TD><TD> * program and the accompanying materials are made available under the terms of</TD></TR><TR><TD CLASS="l">4</TD><TD> * the Eclipse Public License v1.0 which accompanies this distribution, and is</TD></TR><TR><TD CLASS="l">5</TD><TD> * available at http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">6</TD><TD> * </TD></TR><TR><TD CLASS="l">7</TD><TD> * Contributors: </TD></TR><TR><TD CLASS="l">8</TD><TD> * IBM - Initial API and implementation</TD></TR><TR><TD CLASS="l">9</TD><TD> * Jesper Steen M�ller - adapted from org.eclipse.core.internal.content</TD></TR><TR><TD CLASS="l">10</TD><TD> **********************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.core.resolver;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.StringReader;</TD></TR><TR><TD CLASS="l">16</TD><TD>import javax.xml.parsers.*;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.xsl.core.internal.XSLCorePlugin;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.xml.sax.*;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.xml.sax.ext.LexicalHandler;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.xml.sax.helpers.DefaultHandler;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD>/**</TD></TR><TR><TD CLASS="l">25</TD><TD> * A simple XML parser to find the XSL version of a given XML file, expectedly a XSLT stylesheet.</TD></TR><TR><TD CLASS="l">26</TD><TD> */</TD></TR><TR><TD CLASS="l">27</TD><TD>public final class XSLVersionHandler extends DefaultHandler implements LexicalHandler, ErrorHandler {</TD></TR><TR><TD CLASS="l">28</TD><TD>        /**</TD></TR><TR><TD CLASS="l">29</TD><TD>         * An exception indicating that the parsing should stop. This is usually</TD></TR><TR><TD CLASS="l">30</TD><TD>         * triggered when the top-level element has been found.</TD></TR><TR><TD CLASS="l">31</TD><TD>         * </TD></TR><TR><TD CLASS="l">32</TD><TD>         * @since 3.0</TD></TR><TR><TD CLASS="l">33</TD><TD>         */</TD></TR><TR><TD CLASS="l">34</TD><TD>        private class StopParsingException extends SAXException {</TD></TR><TR><TD CLASS="l">35</TD><TD>                /**</TD></TR><TR><TD CLASS="l">36</TD><TD>                 * All serializable objects should have a stable serialVersionUID</TD></TR><TR><TD CLASS="l">37</TD><TD>                 */</TD></TR><TR><TD CLASS="l">38</TD><TD>                private static final long serialVersionUID = 1L;</TD></TR><TR><TD CLASS="l">39</TD><TD> </TD></TR><TR><TD CLASS="l">40</TD><TD>                /**</TD></TR><TR><TD CLASS="l">41</TD><TD>                 * Constructs an instance of &lt;code&gt;StopParsingException&lt;/code&gt; with a</TD></TR><TR><TD CLASS="l"><A NAME="11">42</A></TD><TD>                 * &lt;code&gt;null&lt;/code&gt; detail message.</TD></TR><TR><TD CLASS="l">43</TD><TD>                 */</TD></TR><TR><TD CLASS="l">44</TD><TD>                public StopParsingException() {</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>                        super((String) null);</TD></TR><TR CLASS="z"><TD CLASS="l">46</TD><TD>                }</TD></TR><TR><TD CLASS="l">47</TD><TD>        }</TD></TR><TR><TD CLASS="l">48</TD><TD> </TD></TR><TR><TD CLASS="l">49</TD><TD>        private static final String XSLT_STYLESHEET = &#34;stylesheet&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">50</TD><TD> </TD></TR><TR><TD CLASS="l">51</TD><TD>        private static final String XSLT_TEMPLATE = &#34;template&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">52</TD><TD> </TD></TR><TR><TD CLASS="l">53</TD><TD>        private static final String XSLT_VERSION = &#34;version&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">54</TD><TD> </TD></TR><TR><TD CLASS="l">55</TD><TD>        /**</TD></TR><TR><TD CLASS="l">56</TD><TD>         * This is the value of the version attribute in the XSLT file.</TD></TR><TR><TD CLASS="l">57</TD><TD>         * This member variable is &lt;code&gt;null&lt;/code&gt; unless the file has been</TD></TR><TR><TD CLASS="l">58</TD><TD>         * parsed successful to the point of finding the top-level element,</TD></TR><TR><TD CLASS="l">59</TD><TD>         * and locating the 'version' attribute there.</TD></TR><TR><TD CLASS="l">60</TD><TD>         */</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>        private String versionAttribute = null;</TD></TR><TR><TD CLASS="l"><A NAME="0">62</A></TD><TD> </TD></TR><TR><TD CLASS="l">63</TD><TD>        /**</TD></TR><TR><TD CLASS="l">64</TD><TD>         * TODO: Add Javadoc</TD></TR><TR><TD CLASS="l">65</TD><TD>         */</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>        public XSLVersionHandler() {</TD></TR><TR CLASS="z"><TD CLASS="l">67</TD><TD>        }</TD></TR><TR><TD CLASS="l">68</TD><TD> </TD></TR><TR><TD CLASS="l">69</TD><TD>        /*</TD></TR><TR><TD CLASS="l">70</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">71</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="2">72</A></TD><TD>         * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int)</TD></TR><TR><TD CLASS="l">73</TD><TD>         */</TD></TR><TR><TD CLASS="l">74</TD><TD>        public final void comment(final char[] ch, final int start, final int length) {</TD></TR><TR><TD CLASS="l">75</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>        }</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR><TD CLASS="l">78</TD><TD>        /**</TD></TR><TR><TD CLASS="l">79</TD><TD>         * Creates a new SAX parser for use within this instance.</TD></TR><TR><TD CLASS="l">80</TD><TD>         * </TD></TR><TR><TD CLASS="l">81</TD><TD>         * @return The newly created parser.</TD></TR><TR><TD CLASS="l">82</TD><TD>         * </TD></TR><TR><TD CLASS="l">83</TD><TD>         * @throws ParserConfigurationException</TD></TR><TR><TD CLASS="l">84</TD><TD>         *             If a parser of the given configuration cannot be created.</TD></TR><TR><TD CLASS="l">85</TD><TD>         * @throws SAXException</TD></TR><TR><TD CLASS="l">86</TD><TD>         *             If something in general goes wrong when creating the parser.</TD></TR><TR><TD CLASS="l">87</TD><TD>         * @throws SAXNotRecognizedException</TD></TR><TR><TD CLASS="l">88</TD><TD>         *             If the &lt;code&gt;XMLReader&lt;/code&gt; does not recognize the</TD></TR><TR><TD CLASS="l">89</TD><TD>         *             lexical handler configuration option.</TD></TR><TR><TD CLASS="l">90</TD><TD>         * @throws SAXNotSupportedException</TD></TR><TR><TD CLASS="l">91</TD><TD>         *             If the &lt;code&gt;XMLReader&lt;/code&gt; does not support the lexical</TD></TR><TR><TD CLASS="l"><A NAME="3">92</A></TD><TD>         *             handler configuration option.</TD></TR><TR><TD CLASS="l">93</TD><TD>         */</TD></TR><TR><TD CLASS="l">94</TD><TD>        private final SAXParser createParser(SAXParserFactory parserFactory) throws ParserConfigurationException, SAXException, SAXNotRecognizedException, SAXNotSupportedException {</TD></TR><TR><TD CLASS="l">95</TD><TD>                // Initialize the parser.</TD></TR><TR CLASS="z"><TD CLASS="l">96</TD><TD>                final SAXParser parser = parserFactory.newSAXParser();</TD></TR><TR CLASS="z"><TD CLASS="l">97</TD><TD>                final XMLReader reader = parser.getXMLReader();</TD></TR><TR CLASS="z"><TD CLASS="l">98</TD><TD>                reader.setProperty(&#34;http://xml.org/sax/properties/lexical-handler&#34;, this); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">99</TD><TD>                reader.setErrorHandler(this); // This helps to ignore errors</TD></TR><TR><TD CLASS="l">100</TD><TD>                // disable DTD validation</TD></TR><TR><TD CLASS="l">101</TD><TD>                try {</TD></TR><TR><TD CLASS="l">102</TD><TD>                        //        be sure validation is &#34;off&#34; or the feature to ignore DTD's will not apply</TD></TR><TR CLASS="z"><TD CLASS="l">103</TD><TD>                        reader.setFeature(&#34;http://xml.org/sax/features/validation&#34;, false); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">104</TD><TD>                        reader.setFeature(&#34;http://apache.org/xml/features/nonvalidating/load-external-dtd&#34;, false); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">105</TD><TD>                } catch (SAXNotRecognizedException e) {</TD></TR><TR><TD CLASS="l">106</TD><TD>                        // not a big deal if the parser does not recognize the features</TD></TR><TR CLASS="z"><TD CLASS="l">107</TD><TD>                } catch (SAXNotSupportedException e) {</TD></TR><TR><TD CLASS="l">108</TD><TD>                        // not a big deal if the parser does not support the features</TD></TR><TR><TD CLASS="l">109</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                return parser;</TD></TR><TR><TD CLASS="l">111</TD><TD>        }</TD></TR><TR><TD CLASS="l">112</TD><TD> </TD></TR><TR><TD CLASS="l">113</TD><TD>        /*</TD></TR><TR><TD CLASS="l">114</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">115</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="4">116</A></TD><TD>         * @see org.xml.sax.ext.LexicalHandler#endCDATA()</TD></TR><TR><TD CLASS="l">117</TD><TD>         */</TD></TR><TR><TD CLASS="l">118</TD><TD>        public final void endCDATA() {</TD></TR><TR><TD CLASS="l">119</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">120</TD><TD>        }</TD></TR><TR><TD CLASS="l">121</TD><TD> </TD></TR><TR><TD CLASS="l">122</TD><TD>        /*</TD></TR><TR><TD CLASS="l">123</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">124</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="5">125</A></TD><TD>         * @see org.xml.sax.ext.LexicalHandler#endDTD()</TD></TR><TR><TD CLASS="l">126</TD><TD>         */</TD></TR><TR><TD CLASS="l">127</TD><TD>        public final void endDTD() {</TD></TR><TR><TD CLASS="l">128</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">129</TD><TD>        }</TD></TR><TR><TD CLASS="l">130</TD><TD> </TD></TR><TR><TD CLASS="l">131</TD><TD>        /*</TD></TR><TR><TD CLASS="l">132</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">133</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="6">134</A></TD><TD>         * @see org.xml.sax.ext.LexicalHandler#endEntity(java.lang.String)</TD></TR><TR><TD CLASS="l">135</TD><TD>         */</TD></TR><TR><TD CLASS="l">136</TD><TD>        public final void endEntity(final String name) {</TD></TR><TR><TD CLASS="l">137</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">138</TD><TD>        }</TD></TR><TR><TD CLASS="l">139</TD><TD> </TD></TR><TR><TD CLASS="l">140</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="9">141</A></TD><TD>         * TODO: Add Javadoc</TD></TR><TR><TD CLASS="l">142</TD><TD>         * @return</TD></TR><TR><TD CLASS="l">143</TD><TD>         */</TD></TR><TR><TD CLASS="l">144</TD><TD>        public String getVersionAttribute() {</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                return versionAttribute;</TD></TR><TR><TD CLASS="l">146</TD><TD>        }</TD></TR><TR><TD CLASS="l">147</TD><TD> </TD></TR><TR><TD CLASS="l">148</TD><TD>        /**</TD></TR><TR><TD CLASS="l">149</TD><TD>         * TODO: Add Javadoc</TD></TR><TR><TD CLASS="l">150</TD><TD>         * @param contents</TD></TR><TR><TD CLASS="l">151</TD><TD>         * @return</TD></TR><TR><TD CLASS="l">152</TD><TD>         * @throws IOException</TD></TR><TR><TD CLASS="l">153</TD><TD>         * @throws ParserConfigurationException</TD></TR><TR><TD CLASS="l">154</TD><TD>         * @throws SAXException</TD></TR><TR><TD CLASS="l"><A NAME="a">155</A></TD><TD>         */</TD></TR><TR><TD CLASS="l">156</TD><TD>        public boolean parseContents(InputSource contents) throws IOException, ParserConfigurationException, SAXException {</TD></TR><TR><TD CLASS="l">157</TD><TD>                // Parse the file into we have what we need (or an error occurs).</TD></TR><TR><TD CLASS="l">158</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">159</TD><TD>                        SAXParserFactory factory = XSLCorePlugin.getDefault().getFactory();</TD></TR><TR CLASS="z"><TD CLASS="l">160</TD><TD>                        if (factory == null)</TD></TR><TR CLASS="z"><TD CLASS="l">161</TD><TD>                                return false;</TD></TR><TR CLASS="z"><TD CLASS="l">162</TD><TD>                        final SAXParser parser = createParser(factory);</TD></TR><TR><TD CLASS="l">163</TD><TD>                        // to support external entities specified as relative URIs (see bug 63298)</TD></TR><TR CLASS="z"><TD CLASS="l">164</TD><TD>                        parser.parse(contents, this);</TD></TR><TR CLASS="z"><TD CLASS="l">165</TD><TD>                } catch (StopParsingException e) {</TD></TR><TR><TD CLASS="l">166</TD><TD>                        // Abort the parsing normally. Fall through...</TD></TR><TR><TD CLASS="l">167</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">168</TD><TD>                return true;</TD></TR><TR><TD CLASS="l">169</TD><TD>        }</TD></TR><TR><TD CLASS="l">170</TD><TD> </TD></TR><TR><TD CLASS="l">171</TD><TD>        /*</TD></TR><TR><TD CLASS="l">172</TD><TD>         * Resolve external entity definitions to an empty string.  This is to speed</TD></TR><TR><TD CLASS="l">173</TD><TD>         * up processing of files with external DTDs.  Not resolving the contents </TD></TR><TR><TD CLASS="l"><A NAME="b">174</A></TD><TD>         * of the DTD is ok, as only the System ID of the DTD declaration is used.</TD></TR><TR><TD CLASS="l">175</TD><TD>         * @see org.xml.sax.helpers.DefaultHandler#resolveEntity(java.lang.String, java.lang.String)</TD></TR><TR><TD CLASS="l">176</TD><TD>         */</TD></TR><TR><TD CLASS="l">177</TD><TD>        public InputSource resolveEntity(String publicId, String systemId) throws SAXException {</TD></TR><TR CLASS="z"><TD CLASS="l">178</TD><TD>                return new InputSource(new StringReader(&#34;&#34;)); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">179</TD><TD>        }</TD></TR><TR><TD CLASS="l">180</TD><TD> </TD></TR><TR><TD CLASS="l">181</TD><TD>        /*</TD></TR><TR><TD CLASS="l">182</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">183</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="c">184</A></TD><TD>         * @see org.xml.sax.ext.LexicalHandler#startCDATA()</TD></TR><TR><TD CLASS="l">185</TD><TD>         */</TD></TR><TR><TD CLASS="l">186</TD><TD>        public final void startCDATA() {</TD></TR><TR><TD CLASS="l">187</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">188</TD><TD>        }</TD></TR><TR><TD CLASS="l">189</TD><TD> </TD></TR><TR><TD CLASS="l">190</TD><TD>        /*</TD></TR><TR><TD CLASS="l">191</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">192</TD><TD>         * </TD></TR><TR><TD CLASS="l">193</TD><TD>         * @see org.xml.sax.ext.LexicalHandler#startDTD(java.lang.String,</TD></TR><TR><TD CLASS="l"><A NAME="d">194</A></TD><TD>         *      java.lang.String, java.lang.String)</TD></TR><TR><TD CLASS="l">195</TD><TD>         */</TD></TR><TR><TD CLASS="l">196</TD><TD>        public final void startDTD(final String name, final String publicId, final String systemId) throws SAXException {</TD></TR><TR><TD CLASS="l">197</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">198</TD><TD>        }</TD></TR><TR><TD CLASS="l">199</TD><TD> </TD></TR><TR><TD CLASS="l">200</TD><TD>        /*</TD></TR><TR><TD CLASS="l">201</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">202</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="e">203</A></TD><TD>         * @see org.xml.sax.ContentHandler#startElement(java.lang.String,</TD></TR><TR><TD CLASS="l">204</TD><TD>         *      java.lang.String, java.lang.String, org.xml.sax.Attributes)</TD></TR><TR><TD CLASS="l">205</TD><TD>         */</TD></TR><TR><TD CLASS="l">206</TD><TD>        public final void startElement(final String uri, final String elementName, final String qualifiedName, final Attributes attributes) throws SAXException {</TD></TR><TR CLASS="z"><TD CLASS="l">207</TD><TD>                if (uri.equals(XSLCore.XSL_NAMESPACE_URI) &amp;&amp; (XSLT_TEMPLATE.equals(elementName) || XSLT_STYLESHEET.equals(elementName))) {</TD></TR><TR CLASS="z"><TD CLASS="l">208</TD><TD>                        versionAttribute = attributes.getValue(XSLT_VERSION);</TD></TR><TR><TD CLASS="l">209</TD><TD>                } else {</TD></TR><TR CLASS="z"><TD CLASS="l">210</TD><TD>                        versionAttribute = &#34;&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">211</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">212</TD><TD>                throw new StopParsingException();</TD></TR><TR><TD CLASS="l">213</TD><TD>        }</TD></TR><TR><TD CLASS="l">214</TD><TD> </TD></TR><TR><TD CLASS="l">215</TD><TD>        /*</TD></TR><TR><TD CLASS="l">216</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">217</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="f">218</A></TD><TD>         * @see org.xml.sax.ext.LexicalHandler#startEntity(java.lang.String)</TD></TR><TR><TD CLASS="l">219</TD><TD>         */</TD></TR><TR><TD CLASS="l">220</TD><TD>        public final void startEntity(final String name) {</TD></TR><TR><TD CLASS="l">221</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">222</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="10">223</A></TD><TD>        </TD></TR><TR><TD CLASS="l">224</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">225</TD><TD>        public void warning(SAXParseException e) throws SAXException {</TD></TR><TR><TD CLASS="l">226</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">227</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="7">228</A></TD><TD>        </TD></TR><TR><TD CLASS="l">229</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">230</TD><TD>        public void error(SAXParseException e) throws SAXException {</TD></TR><TR><TD CLASS="l">231</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">232</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="8">233</A></TD><TD>        </TD></TR><TR><TD CLASS="l">234</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">235</TD><TD>        public void fatalError(SAXParseException e) throws SAXException {</TD></TR><TR><TD CLASS="l">236</TD><TD>                // Not interested.</TD></TR><TR CLASS="z"><TD CLASS="l">237</TD><TD>        }</TD></TR><TR><TD CLASS="l">238</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2c.html">org.eclipse.wst.xsl.core.resolver</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/108.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/108.html
deleted file mode 100644
index 360f067..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/108.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2c.html">org.eclipse.wst.xsl.core.resolver</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">ResolverExtension.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>ResolverExtension.java</TD><TD>100% (1/1)</TD><TD CLASS="h">62%  (5/8)</TD><TD CLASS="h">53%  (128/240)</TD><TD CLASS="h">54%  (35.3/66)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">ResolverExtension</A></TD><TD>100% (1/1)</TD><TD CLASS="h">62%  (5/8)</TD><TD CLASS="h">53%  (128/240)</TD><TD CLASS="h">54%  (35.3/66)</TD></TR><TR><TD CLASS="f"><A HREF="#1">createInputSource (IFile): InputSource</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/13)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">createInputSource (String): InputSource</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">peekVersionFromFile (IFile, String): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/55)</TD><TD CLASS="h">0%   (0/14)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">peekVersionAttributeFromSSE (IFile): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">64%  (42/66)</TD><TD CLASS="h">64%  (10.3/16)</TD></TR><TR><TD CLASS="f"><A HREF="#5">resolve (IFile, String, String, String): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">78%  (43/55)</TD><TD CLASS="h">76%  (16/21)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">checkInitialised (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>92%  (36/39)</TD><TD CLASS="h">78%  (7/9)</TD></TR><TR><TD CLASS="f"><A HREF="#7">&lt;static initializer&gt;</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">ResolverExtension (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Jesper Steen Moeller and others</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> * Jesper Steen Moeller - XSL core plugin</TD></TR><TR><TD CLASS="l">10</TD><TD> * Doug Satchwell - bug 225304</TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>package org.eclipse.wst.xsl.core.resolver;</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.core.runtime.FileLocator;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverExtension;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.wst.sse.core.StructuredModelManager;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.IModelManager;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.wst.xsl.core.Messages;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.xsl.core.internal.XSLCorePlugin;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.w3c.dom.Element;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.xml.sax.InputSource;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.xml.sax.SAXException;</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>/**</TD></TR><TR><TD CLASS="l">40</TD><TD> * TODO: Javadoc</TD></TR><TR><TD CLASS="l"><A NAME="0">41</A></TD><TD> * </TD></TR><TR><TD CLASS="l">42</TD><TD> * @author Jesper Steen Moeller</TD></TR><TR><TD CLASS="l"><A NAME="7">43</A></TD><TD> * </TD></TR><TR><TD CLASS="l">44</TD><TD> */</TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>public class ResolverExtension implements URIResolverExtension</TD></TR><TR><TD CLASS="l">46</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>        private static final Double DEFAULT_XSLT_VERSION = 1.0;</TD></TR><TR><TD CLASS="l">48</TD><TD>        private static final String XSLT_STYLESHEET = &#34;stylesheet&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">49</TD><TD>        private static final String XSLT_TEMPLATE = &#34;template&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">50</TD><TD>        private static final String XSLT_VERSION = &#34;version&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">51</TD><TD> </TD></TR><TR><TD CLASS="l">52</TD><TD>        private boolean initialised;</TD></TR><TR><TD CLASS="l">53</TD><TD>        private String xslt_1_0_fileURL;</TD></TR><TR><TD CLASS="l">54</TD><TD>        private String xslt_2_0_fileURL;</TD></TR><TR><TD CLASS="l">55</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="5">56</A></TD><TD>        public String resolve(IFile file, String baseLocation, String publicId, String systemId)</TD></TR><TR><TD CLASS="l">57</TD><TD>        {</TD></TR><TR><TD CLASS="l">58</TD><TD> </TD></TR><TR><TD CLASS="l">59</TD><TD>                // Is someone looking for &#34;our&#34; schema?</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>                if (!XSLCore.XSL_NAMESPACE_URI.equals(publicId))</TD></TR><TR><TD CLASS="l">61</TD><TD>                {</TD></TR><TR><TD CLASS="l">62</TD><TD>                        // Not this time, return right away</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                        return null;</TD></TR><TR><TD CLASS="l">64</TD><TD>                }</TD></TR><TR><TD CLASS="l">65</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">66</TD><TD>                String version = null;</TD></TR><TR><TD CLASS="l">67</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>                if (file != null)</TD></TR><TR CLASS="c"><TD CLASS="l">69</TD><TD>                        version = peekVersionAttributeFromSSE(file);</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                if (version == null)</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                        version = peekVersionFromFile(file, baseLocation);</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">73</TD><TD>                if (version == null)</TD></TR><TR CLASS="z"><TD CLASS="l">74</TD><TD>                        return null;</TD></TR><TR><TD CLASS="l">75</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">76</TD><TD>                Double versionNumber = null;</TD></TR><TR><TD CLASS="l">77</TD><TD>                try</TD></TR><TR><TD CLASS="l">78</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                        versionNumber = Double.valueOf(version);</TD></TR><TR><TD CLASS="l">80</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">81</TD><TD>                catch (Throwable t)</TD></TR><TR><TD CLASS="l">82</TD><TD>                {</TD></TR><TR><TD CLASS="l">83</TD><TD>                        // Not interested</TD></TR><TR><TD CLASS="l">84</TD><TD>                }</TD></TR><TR><TD CLASS="l">85</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                if (versionNumber == null)</TD></TR><TR><TD CLASS="l">87</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">88</TD><TD>                        versionNumber = DEFAULT_XSLT_VERSION;</TD></TR><TR><TD CLASS="l">89</TD><TD>                }</TD></TR><TR><TD CLASS="l">90</TD><TD> </TD></TR><TR><TD CLASS="l">91</TD><TD>                // We carelessly ditch the fraction part</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                int intVersion = versionNumber.intValue();</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                checkInitialised();</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                if (intVersion == 1)</TD></TR><TR><TD CLASS="l">95</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                        return xslt_1_0_fileURL;</TD></TR><TR><TD CLASS="l">97</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                else if (intVersion == 2)</TD></TR><TR><TD CLASS="l">99</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                        return xslt_2_0_fileURL;</TD></TR><TR><TD CLASS="l">101</TD><TD>                }</TD></TR><TR><TD CLASS="l">102</TD><TD>                else</TD></TR><TR CLASS="z"><TD CLASS="l">103</TD><TD>                        return null;</TD></TR><TR><TD CLASS="l"><A NAME="6">104</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">105</TD><TD> </TD></TR><TR><TD CLASS="l">106</TD><TD>        private void checkInitialised()</TD></TR><TR><TD CLASS="l">107</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                if (!initialised)</TD></TR><TR><TD CLASS="l">109</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">110</TD><TD>                        initialised = true;</TD></TR><TR><TD CLASS="l">111</TD><TD>                        try</TD></TR><TR><TD CLASS="l">112</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">113</TD><TD>                                URL pluginURL = FileLocator.find(XSLCorePlugin.getDefault().getBundle(), new Path(&#34;/xslt-schemas/xslt-1.0.xsd&#34;), null); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">114</TD><TD>                                xslt_1_0_fileURL = FileLocator.toFileURL(pluginURL).toExternalForm();</TD></TR><TR CLASS="c"><TD CLASS="l">115</TD><TD>                                pluginURL = FileLocator.find(XSLCorePlugin.getDefault().getBundle(), new Path(&#34;/xslt-schemas/xslt-2.0.xsd&#34;), null); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">116</TD><TD>                                xslt_2_0_fileURL = FileLocator.toFileURL(pluginURL).toExternalForm();</TD></TR><TR><TD CLASS="l">117</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">118</TD><TD>                        catch (IOException e)</TD></TR><TR><TD CLASS="l">119</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">120</TD><TD>                                XSLCorePlugin.log(e);</TD></TR><TR><TD CLASS="l">121</TD><TD>                        }</TD></TR><TR><TD CLASS="l">122</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">123</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">124</TD><TD> </TD></TR><TR><TD CLASS="l">125</TD><TD>        private String peekVersionFromFile(IFile file, String baseLocation)</TD></TR><TR><TD CLASS="l">126</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">127</TD><TD>                XSLVersionHandler handler = new XSLVersionHandler();</TD></TR><TR><TD CLASS="l">128</TD><TD>                try</TD></TR><TR><TD CLASS="l">129</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                        handler.parseContents(file != null ? createInputSource(file) : createInputSource(baseLocation));</TD></TR><TR><TD CLASS="l">131</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">132</TD><TD>                catch (SAXException se)</TD></TR><TR><TD CLASS="l">133</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">134</TD><TD>                        XSLCorePlugin.log(se);</TD></TR><TR><TD CLASS="l">135</TD><TD>                        // drop through, since this is almost to be expected</TD></TR><TR><TD CLASS="l">136</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">137</TD><TD>                catch (IOException ioe)</TD></TR><TR><TD CLASS="l">138</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">139</TD><TD>                        XSLCorePlugin.log(new CoreException(XSLCorePlugin.newErrorStatus(&#34;Can't parse XSL document&#34;, ioe))); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">140</TD><TD>                        // drop through, since this is not really a show-stopper</TD></TR><TR><TD CLASS="l">141</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">142</TD><TD>                catch (ParserConfigurationException pce)</TD></TR><TR><TD CLASS="l">143</TD><TD>                {</TD></TR><TR><TD CLASS="l">144</TD><TD>                        // some bad thing happened - force this describer to be disabled</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                        String message = Messages.XSLCorePlugin_parserConfiguration;</TD></TR><TR CLASS="z"><TD CLASS="l">146</TD><TD>                        XSLCorePlugin.log(new Status(IStatus.ERROR, XSLCorePlugin.PLUGIN_ID, 0, message, pce));</TD></TR><TR CLASS="z"><TD CLASS="l">147</TD><TD>                        throw new RuntimeException(message);</TD></TR><TR><TD CLASS="l">148</TD><TD>                        // drop through, since this is not really a show-stopper</TD></TR><TR><TD CLASS="l">149</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">150</TD><TD>                catch (CoreException ce)</TD></TR><TR><TD CLASS="l">151</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                        XSLCorePlugin.log(ce);</TD></TR><TR><TD CLASS="l">153</TD><TD>                        // drop through, since this is not really a show-stopper</TD></TR><TR><TD CLASS="l">154</TD><TD>                }</TD></TR><TR><TD CLASS="l">155</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">156</TD><TD>                String versionX = handler.getVersionAttribute();</TD></TR><TR CLASS="z"><TD CLASS="l">157</TD><TD>                return versionX;</TD></TR><TR><TD CLASS="l"><A NAME="4">158</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">159</TD><TD> </TD></TR><TR><TD CLASS="l">160</TD><TD>        private String peekVersionAttributeFromSSE(IFile file)</TD></TR><TR><TD CLASS="l">161</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">162</TD><TD>                IModelManager manager = StructuredModelManager.getModelManager();</TD></TR><TR><TD CLASS="l">163</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">164</TD><TD>                if (manager != null)</TD></TR><TR><TD CLASS="l">165</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">166</TD><TD>                        String id = manager.calculateId(file);</TD></TR><TR CLASS="c"><TD CLASS="l">167</TD><TD>                        IStructuredModel model = manager.getExistingModelForRead(id);</TD></TR><TR><TD CLASS="l">168</TD><TD>                        try</TD></TR><TR><TD CLASS="l">169</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">170</TD><TD>                                if (model instanceof IDOMModel)</TD></TR><TR><TD CLASS="l">171</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">172</TD><TD>                                        Document doc = ((IDOMModel) model).getDocument();</TD></TR><TR CLASS="c"><TD CLASS="l">173</TD><TD>                                        if (doc != null &amp;&amp; doc.getDocumentElement() != null)</TD></TR><TR><TD CLASS="l">174</TD><TD>                                        {</TD></TR><TR CLASS="c"><TD CLASS="l">175</TD><TD>                                                Element documentElement = doc.getDocumentElement();</TD></TR><TR CLASS="p"><TD TITLE="62% line coverage (8 out of 13 instructions)" CLASS="l">176</TD><TD TITLE="62% line coverage (8 out of 13 instructions)">                                                if (XSLT_STYLESHEET.equals(documentElement.getLocalName()) || XSLT_TEMPLATE.equals(documentElement.getLocalName()))</TD></TR><TR><TD CLASS="l">177</TD><TD>                                                {</TD></TR><TR CLASS="c"><TD CLASS="l">178</TD><TD>                                                        return documentElement.getAttribute(XSLT_VERSION);</TD></TR><TR><TD CLASS="l">179</TD><TD>                                                }</TD></TR><TR><TD CLASS="l">180</TD><TD>                                                else</TD></TR><TR CLASS="z"><TD CLASS="l">181</TD><TD>                                                        return &#34;&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">182</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">183</TD><TD>                                }</TD></TR><TR><TD CLASS="l">184</TD><TD>                        }</TD></TR><TR><TD CLASS="l">185</TD><TD>                        finally</TD></TR><TR CLASS="z"><TD CLASS="l">186</TD><TD>                        {</TD></TR><TR><TD CLASS="l">187</TD><TD>                                // bug 225304</TD></TR><TR CLASS="p"><TD TITLE="46% line coverage (6 out of 13 instructions)" CLASS="l">188</TD><TD TITLE="46% line coverage (6 out of 13 instructions)">                                if (model != null)</TD></TR><TR CLASS="p"><TD TITLE="25% line coverage (2 out of 8 instructions)" CLASS="l">189</TD><TD TITLE="25% line coverage (2 out of 8 instructions)">                                        model.releaseFromRead();</TD></TR><TR CLASS="z"><TD CLASS="l">190</TD><TD>                        }</TD></TR><TR><TD CLASS="l">191</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">192</TD><TD>                return null;</TD></TR><TR><TD CLASS="l"><A NAME="2">193</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">194</TD><TD> </TD></TR><TR><TD CLASS="l">195</TD><TD>        private InputSource createInputSource(String systemId) throws CoreException</TD></TR><TR><TD CLASS="l">196</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">197</TD><TD>                return new InputSource(systemId);</TD></TR><TR><TD CLASS="l"><A NAME="1">198</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">199</TD><TD> </TD></TR><TR><TD CLASS="l">200</TD><TD>        private InputSource createInputSource(IFile file) throws CoreException</TD></TR><TR><TD CLASS="l">201</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">202</TD><TD>                InputSource src = new InputSource(file.getContents());</TD></TR><TR CLASS="z"><TD CLASS="l">203</TD><TD>                src.setSystemId(file.getLocationURI().toString());</TD></TR><TR CLASS="z"><TD CLASS="l">204</TD><TD>                return src;</TD></TR><TR><TD CLASS="l">205</TD><TD>        }</TD></TR><TR><TD CLASS="l">206</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2c.html">org.eclipse.wst.xsl.core.resolver</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/109.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/109.html
deleted file mode 100644
index 16a9fbd..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/109.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">OverrideIndicatorImageProvider.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>OverrideIndicatorImageProvider.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/34)</TD><TD CLASS="h">0%   (0/9)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">OverrideIndicatorImageProvider</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/34)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR><TD CLASS="f"><A HREF="#0">OverrideIndicatorImageProvider (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getImageDescriptor (String): ImageDescriptor</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/10)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getImageDescriptorId (Annotation): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getManagedImage (Annotation): Image</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">isImageProviderFor (Annotation): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/11)</TD><TD CLASS="h">0%   (0/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.ui.internal.editor;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.jface.resource.ImageDescriptor;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.jface.text.source.Annotation;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.swt.graphics.Image;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.ui.texteditor.IAnnotationImageProvider;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.xsl.ui.internal.XSLUIPlugin;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR><TD CLASS="l">19</TD><TD>/**</TD></TR><TR><TD CLASS="l"><A NAME="0">20</A></TD><TD> * Image provider for {@link org.eclipse.wst.xsl.ui.internal.editor.jdt.internal.ui.javaeditor.OverrideIndicatorManager.OverrideIndicator} annotations.</TD></TR><TR><TD CLASS="l">21</TD><TD> * </TD></TR><TR><TD CLASS="l">22</TD><TD> * @since 3.0</TD></TR><TR><TD CLASS="l">23</TD><TD> */</TD></TR><TR CLASS="z"><TD CLASS="l">24</TD><TD>public class OverrideIndicatorImageProvider implements IAnnotationImageProvider</TD></TR><TR><TD CLASS="l">25</TD><TD>{</TD></TR><TR><TD CLASS="l">26</TD><TD>        private static final String OVERRIDE_IMG_DESC_ID = &#34;OverrideIndicatorImageProvider.OVERRIDE_IMG_DESC_ID&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>        /**</TD></TR><TR><TD CLASS="l">29</TD><TD>         * This does not support managing its own image.</TD></TR><TR><TD CLASS="l">30</TD><TD>         * </TD></TR><TR><TD CLASS="l">31</TD><TD>         * @param annotation</TD></TR><TR><TD CLASS="l"><A NAME="4">32</A></TD><TD>         * @return null</TD></TR><TR><TD CLASS="l">33</TD><TD>         */</TD></TR><TR><TD CLASS="l">34</TD><TD>        public Image getManagedImage(Annotation annotation)</TD></TR><TR><TD CLASS="l">35</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">36</TD><TD>                return null;</TD></TR><TR><TD CLASS="l">37</TD><TD>        }</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="3">40</A></TD><TD>         * @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getImageDescriptorId(org.eclipse.jface.text.source.Annotation)</TD></TR><TR><TD CLASS="l">41</TD><TD>         */</TD></TR><TR><TD CLASS="l">42</TD><TD>        public String getImageDescriptorId(Annotation annotation)</TD></TR><TR><TD CLASS="l">43</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>                if (!isImageProviderFor(annotation))</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>                        return null;</TD></TR><TR CLASS="z"><TD CLASS="l">46</TD><TD>                return OVERRIDE_IMG_DESC_ID;</TD></TR><TR><TD CLASS="l">47</TD><TD>        }</TD></TR><TR><TD CLASS="l">48</TD><TD> </TD></TR><TR><TD CLASS="l">49</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="2">50</A></TD><TD>         * @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getImageDescriptor(java.lang.String)</TD></TR><TR><TD CLASS="l">51</TD><TD>         */</TD></TR><TR><TD CLASS="l">52</TD><TD>        public ImageDescriptor getImageDescriptor(String imageDescritporId)</TD></TR><TR><TD CLASS="l">53</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                if (OVERRIDE_IMG_DESC_ID.equals(imageDescritporId))</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>                        return XSLUIPlugin.imageDescriptorFromPlugin(XSLUIPlugin.PLUGIN_ID, &#34;icons/full/over_co.gif&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">56</TD><TD>                return null;</TD></TR><TR><TD CLASS="l"><A NAME="5">57</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">58</TD><TD> </TD></TR><TR><TD CLASS="l">59</TD><TD>        private boolean isImageProviderFor(Annotation annotation)</TD></TR><TR><TD CLASS="l">60</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                return annotation != null &amp;&amp; OverrideIndicatorManager.ANNOTATION_TYPE.equals(annotation.getType());</TD></TR><TR><TD CLASS="l">62</TD><TD>        }</TD></TR><TR><TD CLASS="l">63</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10a.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10a.html
deleted file mode 100644
index fe3a209..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10a.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">OverrideIndicatorManager.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>OverrideIndicatorManager.java</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/289)</TD><TD CLASS="h">0%   (0/56)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">OverrideIndicatorManager</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/276)</TD><TD CLASS="h">0%   (0/52)</TD></TR><TR><TD CLASS="f"><A HREF="#0">OverrideIndicatorManager (IAnnotationModel, IFile): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/19)</TD><TD CLASS="h">0%   (0/7)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getLockObject (IAnnotationModel): Object</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/13)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR><TD CLASS="f"><A HREF="#3">removeAnnotations (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/49)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">updateAnnotations (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/195)</TD><TD CLASS="h">0%   (0/31)</TD></TR><TR><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#5">OverrideIndicatorManager$OverrideIndicator</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/13)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#5">OverrideIndicatorManager$OverrideIndicator (OverrideIndicatorManager, String,...</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/12)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#7">open (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.ui.internal.editor;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.core.runtime.Assert;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.jface.text.ISynchronizable;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.jface.text.Position;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.jface.text.source.Annotation;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.jface.text.source.IAnnotationModel;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.jface.text.source.IAnnotationModelExtension;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.wst.xsl.core.model.StylesheetModel;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.wst.xsl.core.model.Template;</TD></TR><TR><TD CLASS="l">28</TD><TD> </TD></TR><TR><TD CLASS="l">29</TD><TD>/**</TD></TR><TR><TD CLASS="l">30</TD><TD> * Manages the override and overwrite indicators for the given Java element and annotation model.</TD></TR><TR><TD CLASS="l">31</TD><TD> * </TD></TR><TR><TD CLASS="l">32</TD><TD> * @since 3.0</TD></TR><TR><TD CLASS="l">33</TD><TD> */</TD></TR><TR><TD CLASS="l">34</TD><TD>public class OverrideIndicatorManager</TD></TR><TR><TD CLASS="l">35</TD><TD>{</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR><TD CLASS="l">37</TD><TD>        /**</TD></TR><TR><TD CLASS="l">38</TD><TD>         * Overwrite and override indicator annotation.</TD></TR><TR><TD CLASS="l">39</TD><TD>         * </TD></TR><TR><TD CLASS="l">40</TD><TD>         * @since 3.0</TD></TR><TR><TD CLASS="l">41</TD><TD>         */</TD></TR><TR><TD CLASS="l">42</TD><TD>        class OverrideIndicator extends Annotation</TD></TR><TR><TD CLASS="l">43</TD><TD>        {</TD></TR><TR><TD CLASS="l">44</TD><TD> </TD></TR><TR><TD CLASS="l">45</TD><TD>                private String fAstNodeKey;</TD></TR><TR><TD CLASS="l">46</TD><TD> </TD></TR><TR><TD CLASS="l">47</TD><TD>                /**</TD></TR><TR><TD CLASS="l">48</TD><TD>                 * Creates a new override annotation.</TD></TR><TR><TD CLASS="l">49</TD><TD>                 * </TD></TR><TR><TD CLASS="l">50</TD><TD>                 * @param isOverwriteIndicator</TD></TR><TR><TD CLASS="l">51</TD><TD>                 *            &lt;code&gt;true&lt;/code&gt; if this annotation is an overwrite indicator, &lt;code&gt;false&lt;/code&gt; otherwise</TD></TR><TR><TD CLASS="l">52</TD><TD>                 * @param text</TD></TR><TR><TD CLASS="l">53</TD><TD>                 *            the text associated with this annotation</TD></TR><TR><TD CLASS="l">54</TD><TD>                 * @param key</TD></TR><TR><TD CLASS="l">55</TD><TD>                 *            the method binding key</TD></TR><TR><TD CLASS="l">56</TD><TD>                 * @since 3.0</TD></TR><TR><TD CLASS="l">57</TD><TD>                 */</TD></TR><TR><TD CLASS="l"><A NAME="5">58</A></TD><TD>                OverrideIndicator(String text, String key)</TD></TR><TR><TD CLASS="l">59</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                        super(ANNOTATION_TYPE, false, text);</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                        fAstNodeKey = key;</TD></TR><TR CLASS="z"><TD CLASS="l">62</TD><TD>                }</TD></TR><TR><TD CLASS="l">63</TD><TD> </TD></TR><TR><TD CLASS="l">64</TD><TD>                /**</TD></TR><TR><TD CLASS="l">65</TD><TD>                 * Opens and reveals the defining method.</TD></TR><TR><TD CLASS="l">66</TD><TD>                 */</TD></TR><TR><TD CLASS="l">67</TD><TD>                public void open()</TD></TR><TR><TD CLASS="l">68</TD><TD>                {</TD></TR><TR><TD CLASS="l">69</TD><TD>                        // CompilationUnit ast= SharedASTProvider.getAST(fJavaElement, SharedASTProvider.WAIT_ACTIVE_ONLY, null);</TD></TR><TR><TD CLASS="l">70</TD><TD>                        // if (ast != null) {</TD></TR><TR><TD CLASS="l">71</TD><TD>                        // ASTNode node= ast.findDeclaringNode(fAstNodeKey);</TD></TR><TR><TD CLASS="l">72</TD><TD>                        // if (node instanceof MethodDeclaration) {</TD></TR><TR><TD CLASS="l">73</TD><TD>                        // try {</TD></TR><TR><TD CLASS="l">74</TD><TD>                        // IMethodBinding methodBinding= ((MethodDeclaration)node).resolveBinding();</TD></TR><TR><TD CLASS="l">75</TD><TD>                        // IMethodBinding definingMethodBinding= Bindings.findOverriddenMethod(methodBinding, true);</TD></TR><TR><TD CLASS="l">76</TD><TD>                        // if (definingMethodBinding != null) {</TD></TR><TR><TD CLASS="l">77</TD><TD>                        // IJavaElement definingMethod= definingMethodBinding.getJavaElement();</TD></TR><TR><TD CLASS="l">78</TD><TD>                        // if (definingMethod != null) {</TD></TR><TR><TD CLASS="l">79</TD><TD>                        // JavaUI.openInEditor(definingMethod, true, true);</TD></TR><TR><TD CLASS="l">80</TD><TD>                        // return;</TD></TR><TR><TD CLASS="l">81</TD><TD>                        // }</TD></TR><TR><TD CLASS="l">82</TD><TD>                        // }</TD></TR><TR><TD CLASS="l">83</TD><TD>                        // } catch (CoreException e) {</TD></TR><TR><TD CLASS="l">84</TD><TD>                        // ExceptionHandler.handle(e, JavaEditorMessages.OverrideIndicatorManager_open_error_title, JavaEditorMessages.OverrideIndicatorManager_open_error_messageHasLogEntry);</TD></TR><TR><TD CLASS="l">85</TD><TD>                        // return;</TD></TR><TR><TD CLASS="l">86</TD><TD>                        // }</TD></TR><TR><TD CLASS="l">87</TD><TD>                        // }</TD></TR><TR><TD CLASS="l"><A NAME="7">88</A></TD><TD>                        // }</TD></TR><TR><TD CLASS="l">89</TD><TD>                        // String title= JavaEditorMessages.OverrideIndicatorManager_open_error_title;</TD></TR><TR><TD CLASS="l">90</TD><TD>                        // String message= JavaEditorMessages.OverrideIndicatorManager_open_error_message;</TD></TR><TR><TD CLASS="l">91</TD><TD>                        // MessageDialog.openError(JavaPlugin.getActiveWorkbenchShell(), title, message);</TD></TR><TR CLASS="z"><TD CLASS="l">92</TD><TD>                }</TD></TR><TR><TD CLASS="l">93</TD><TD>        }</TD></TR><TR><TD CLASS="l">94</TD><TD> </TD></TR><TR><TD CLASS="l">95</TD><TD>        static final String ANNOTATION_TYPE = &#34;org.eclipse.wst.xsl.ui.override&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">96</TD><TD> </TD></TR><TR><TD CLASS="l">97</TD><TD>        private IAnnotationModel fAnnotationModel;</TD></TR><TR><TD CLASS="l">98</TD><TD>        private Object fAnnotationModelLockObject;</TD></TR><TR><TD CLASS="l">99</TD><TD>        private Annotation[] fOverrideAnnotations;</TD></TR><TR><TD CLASS="l">100</TD><TD> </TD></TR><TR><TD CLASS="l">101</TD><TD>        private IFile file;</TD></TR><TR><TD CLASS="l">102</TD><TD> </TD></TR><TR><TD CLASS="l">103</TD><TD>        /**</TD></TR><TR><TD CLASS="l">104</TD><TD>         * Constructor requires the editors annotation model and the file the editor is looking at.</TD></TR><TR><TD CLASS="l"><A NAME="0">105</A></TD><TD>         * </TD></TR><TR><TD CLASS="l">106</TD><TD>         * @param annotationModel</TD></TR><TR><TD CLASS="l">107</TD><TD>         * @param file</TD></TR><TR><TD CLASS="l">108</TD><TD>         */</TD></TR><TR CLASS="z"><TD CLASS="l">109</TD><TD>        public OverrideIndicatorManager(IAnnotationModel annotationModel, IFile file)</TD></TR><TR><TD CLASS="l">110</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">111</TD><TD>                Assert.isNotNull(annotationModel);</TD></TR><TR><TD CLASS="l">112</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">113</TD><TD>                this.file = file;</TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                fAnnotationModel = annotationModel;</TD></TR><TR CLASS="z"><TD CLASS="l">115</TD><TD>                fAnnotationModelLockObject = getLockObject(fAnnotationModel);</TD></TR><TR><TD CLASS="l">116</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>                updateAnnotations();</TD></TR><TR CLASS="z"><TD CLASS="l">118</TD><TD>        }</TD></TR><TR><TD CLASS="l">119</TD><TD> </TD></TR><TR><TD CLASS="l">120</TD><TD>        /**</TD></TR><TR><TD CLASS="l">121</TD><TD>         * Returns the lock object for the given annotation model.</TD></TR><TR><TD CLASS="l">122</TD><TD>         * </TD></TR><TR><TD CLASS="l">123</TD><TD>         * @param annotationModel</TD></TR><TR><TD CLASS="l">124</TD><TD>         *            the annotation model</TD></TR><TR><TD CLASS="l">125</TD><TD>         * @return the annotation model's lock object</TD></TR><TR><TD CLASS="l"><A NAME="2">126</A></TD><TD>         * @since 3.0</TD></TR><TR><TD CLASS="l">127</TD><TD>         */</TD></TR><TR><TD CLASS="l">128</TD><TD>        private Object getLockObject(IAnnotationModel annotationModel)</TD></TR><TR><TD CLASS="l">129</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                if (annotationModel instanceof ISynchronizable)</TD></TR><TR><TD CLASS="l">131</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">132</TD><TD>                        Object lock = ((ISynchronizable) annotationModel).getLockObject();</TD></TR><TR CLASS="z"><TD CLASS="l">133</TD><TD>                        if (lock != null)</TD></TR><TR CLASS="z"><TD CLASS="l">134</TD><TD>                                return lock;</TD></TR><TR><TD CLASS="l">135</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">136</TD><TD>                return annotationModel;</TD></TR><TR><TD CLASS="l">137</TD><TD>        }</TD></TR><TR><TD CLASS="l">138</TD><TD> </TD></TR><TR><TD CLASS="l">139</TD><TD>        /**</TD></TR><TR><TD CLASS="l">140</TD><TD>         * Updates the override and implements annotations based on the given AST.</TD></TR><TR><TD CLASS="l">141</TD><TD>         * </TD></TR><TR><TD CLASS="l">142</TD><TD>         * @param ast</TD></TR><TR><TD CLASS="l">143</TD><TD>         *            the compilation unit AST</TD></TR><TR><TD CLASS="l">144</TD><TD>         * @param progressMonitor</TD></TR><TR><TD CLASS="l">145</TD><TD>         *            the progress monitor</TD></TR><TR><TD CLASS="l"><A NAME="4">146</A></TD><TD>         * @since 3.0</TD></TR><TR><TD CLASS="l">147</TD><TD>         */</TD></TR><TR><TD CLASS="l">148</TD><TD>        public void updateAnnotations()</TD></TR><TR><TD CLASS="l">149</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">150</TD><TD>                StylesheetModel stylesheetComposed = XSLCore.getInstance().getStylesheet(file);</TD></TR><TR CLASS="z"><TD CLASS="l">151</TD><TD>                final Map&lt;Annotation,Position&gt; annotationMap= new HashMap&lt;Annotation,Position&gt;(50);</TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                List&lt;Template&gt; nestedTemplates = stylesheetComposed.findAllNestedTemplates();</TD></TR><TR CLASS="z"><TD CLASS="l">153</TD><TD>                for (Template template : stylesheetComposed.getStylesheet().getTemplates())</TD></TR><TR><TD CLASS="l">154</TD><TD>                {</TD></TR><TR><TD CLASS="l">155</TD><TD>                        // check for overridden stylesheets</TD></TR><TR CLASS="z"><TD CLASS="l">156</TD><TD>                        for (Template nestedTemplate : nestedTemplates)</TD></TR><TR><TD CLASS="l">157</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">158</TD><TD>                                IFile nestedFile = nestedTemplate.getStylesheet().getFile();</TD></TR><TR CLASS="z"><TD CLASS="l">159</TD><TD>                                if (nestedFile != null)</TD></TR><TR><TD CLASS="l">160</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">161</TD><TD>                                        if(template.matchesByMatchOrName(nestedTemplate))</TD></TR><TR><TD CLASS="l">162</TD><TD>                                        {// the template overrides another templates as its name matches, or its match and mode matches</TD></TR><TR CLASS="z"><TD CLASS="l">163</TD><TD>                                                if (template.getName() != null)</TD></TR><TR><TD CLASS="l">164</TD><TD>                                                {</TD></TR><TR CLASS="z"><TD CLASS="l">165</TD><TD>                                                        String text = &#34;overrides &#34;+template.getName()+&#34; in &#34;+nestedFile.getName();</TD></TR><TR CLASS="z"><TD CLASS="l">166</TD><TD>                                                        annotationMap.put(</TD></TR><TR CLASS="z"><TD CLASS="l">167</TD><TD>                                                                new OverrideIndicator(text, &#34;binding.getKey()&#34;), </TD></TR><TR CLASS="z"><TD CLASS="l">168</TD><TD>                                                                new Position(template.getOffset(), template.getLength())</TD></TR><TR><TD CLASS="l">169</TD><TD>                                                        );</TD></TR><TR><TD CLASS="l">170</TD><TD>                                                }</TD></TR><TR><TD CLASS="l">171</TD><TD>                                                else</TD></TR><TR><TD CLASS="l">172</TD><TD>                                                {</TD></TR><TR CLASS="z"><TD CLASS="l">173</TD><TD>                                                        String text = &#34;overrides \&#34;&#34;+template.getMatch()+&#34;\&#34;&#34;;</TD></TR><TR CLASS="z"><TD CLASS="l">174</TD><TD>                                                        String mode = template.getMode();</TD></TR><TR CLASS="z"><TD CLASS="l">175</TD><TD>                                                        if (mode != null)</TD></TR><TR CLASS="z"><TD CLASS="l">176</TD><TD>                                                                text += &#34; (&#34;+mode+&#34;)&#34;;</TD></TR><TR CLASS="z"><TD CLASS="l">177</TD><TD>                                                        text += &#34; in &#34;+nestedFile.getName();</TD></TR><TR CLASS="z"><TD CLASS="l">178</TD><TD>                                                        annotationMap.put(</TD></TR><TR CLASS="z"><TD CLASS="l">179</TD><TD>                                                                new OverrideIndicator(text, &#34;binding.getKey()&#34;), </TD></TR><TR CLASS="z"><TD CLASS="l">180</TD><TD>                                                                new Position(template.getOffset(), template.getLength())</TD></TR><TR><TD CLASS="l">181</TD><TD>                                                        );</TD></TR><TR><TD CLASS="l">182</TD><TD>                                                }</TD></TR><TR><TD CLASS="l">183</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">184</TD><TD>                                }</TD></TR><TR><TD CLASS="l">185</TD><TD>                        }</TD></TR><TR><TD CLASS="l">186</TD><TD>                }</TD></TR><TR><TD CLASS="l">187</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">188</TD><TD>                synchronized (fAnnotationModelLockObject)</TD></TR><TR><TD CLASS="l">189</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">190</TD><TD>                        if (fAnnotationModel instanceof IAnnotationModelExtension)</TD></TR><TR><TD CLASS="l">191</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">192</TD><TD>                                ((IAnnotationModelExtension) fAnnotationModel).replaceAnnotations(fOverrideAnnotations, annotationMap);</TD></TR><TR><TD CLASS="l">193</TD><TD>                        }</TD></TR><TR><TD CLASS="l">194</TD><TD>                        else</TD></TR><TR><TD CLASS="l">195</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">196</TD><TD>                                removeAnnotations();</TD></TR><TR CLASS="z"><TD CLASS="l">197</TD><TD>                                Iterator iter = annotationMap.entrySet().iterator();</TD></TR><TR CLASS="z"><TD CLASS="l">198</TD><TD>                                while (iter.hasNext())</TD></TR><TR><TD CLASS="l">199</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">200</TD><TD>                                        Map.Entry mapEntry = (Map.Entry) iter.next();</TD></TR><TR CLASS="z"><TD CLASS="l">201</TD><TD>                                        fAnnotationModel.addAnnotation((Annotation) mapEntry.getKey(), (Position) mapEntry.getValue());</TD></TR><TR><TD CLASS="l">202</TD><TD>                                }</TD></TR><TR><TD CLASS="l">203</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">204</TD><TD>                        fOverrideAnnotations = (Annotation[]) annotationMap.keySet().toArray(new Annotation[annotationMap.keySet().size()]);</TD></TR><TR><TD CLASS="l">205</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">206</TD><TD>        }</TD></TR><TR><TD CLASS="l">207</TD><TD> </TD></TR><TR><TD CLASS="l">208</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="3">209</A></TD><TD>         * Removes all override indicators from this manager's annotation model.</TD></TR><TR><TD CLASS="l">210</TD><TD>         */</TD></TR><TR><TD CLASS="l">211</TD><TD>        void removeAnnotations()</TD></TR><TR><TD CLASS="l">212</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">213</TD><TD>                if (fOverrideAnnotations == null)</TD></TR><TR CLASS="z"><TD CLASS="l">214</TD><TD>                        return;</TD></TR><TR><TD CLASS="l">215</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">216</TD><TD>                synchronized (fAnnotationModelLockObject)</TD></TR><TR><TD CLASS="l">217</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">218</TD><TD>                        if (fAnnotationModel instanceof IAnnotationModelExtension)</TD></TR><TR><TD CLASS="l">219</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">220</TD><TD>                                ((IAnnotationModelExtension) fAnnotationModel).replaceAnnotations(fOverrideAnnotations, null);</TD></TR><TR><TD CLASS="l">221</TD><TD>                        }</TD></TR><TR><TD CLASS="l">222</TD><TD>                        else</TD></TR><TR><TD CLASS="l">223</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">224</TD><TD>                                for (int i = 0, length = fOverrideAnnotations.length; i &lt; length; i++)</TD></TR><TR CLASS="z"><TD CLASS="l">225</TD><TD>                                        fAnnotationModel.removeAnnotation(fOverrideAnnotations[i]);</TD></TR><TR><TD CLASS="l">226</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">227</TD><TD>                        fOverrideAnnotations = null;</TD></TR><TR><TD CLASS="l">228</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">229</TD><TD>        }</TD></TR><TR><TD CLASS="l">230</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10b.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10b.html
deleted file mode 100644
index a51eeb0..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10b.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLEditor.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLEditor.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/55)</TD><TD CLASS="h">0%   (0/15)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLEditor</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/55)</TD><TD CLASS="h">0%   (0/15)</TD></TR><TR><TD CLASS="f"><A HREF="#0">XSLEditor (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">doSetInput (IEditorInput): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getAdapter (Class): Object</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/20)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getOverrideIndicatorManager (): OverrideIndicatorManager</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">installOverrideIndicator (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/5)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.ui.internal.editor;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.jface.text.source.IAnnotationModel;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.ui.IEditorInput;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.ui.part.FileEditorInput;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.ui.texteditor.templates.ITemplatesPage;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.sse.ui.StructuredTextEditor;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.wst.xsl.ui.internal.templates.XSLTemplatesPage;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>/**</TD></TR><TR><TD CLASS="l">23</TD><TD> * XSL specific extensions to the SSE UI that haven't yet been made</TD></TR><TR><TD CLASS="l"><A NAME="0">24</A></TD><TD> * available to the SSE.</TD></TR><TR><TD CLASS="l">25</TD><TD> * </TD></TR><TR><TD CLASS="l">26</TD><TD> * @since 1.0</TD></TR><TR><TD CLASS="l">27</TD><TD> */</TD></TR><TR CLASS="z"><TD CLASS="l">28</TD><TD>public class XSLEditor extends StructuredTextEditor</TD></TR><TR><TD CLASS="l">29</TD><TD>{</TD></TR><TR><TD CLASS="l">30</TD><TD>        private OverrideIndicatorManager fOverrideIndicatorManager;</TD></TR><TR><TD CLASS="l">31</TD><TD>        </TD></TR><TR><TD CLASS="l">32</TD><TD>        /**</TD></TR><TR><TD CLASS="l">33</TD><TD>         * @since 1.0</TD></TR><TR><TD CLASS="l">34</TD><TD>         */</TD></TR><TR><TD CLASS="l">35</TD><TD>        private XSLTemplatesPage fTemplatesPage;</TD></TR><TR><TD CLASS="l"><A NAME="2">36</A></TD><TD> </TD></TR><TR><TD CLASS="l">37</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">38</TD><TD>        protected void doSetInput(IEditorInput input) throws CoreException</TD></TR><TR><TD CLASS="l">39</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>                super.doSetInput(input);</TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>                installOverrideIndicator();</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">42</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">43</TD><TD>        </TD></TR><TR><TD CLASS="l">44</TD><TD>        public OverrideIndicatorManager getOverrideIndicatorManager()</TD></TR><TR><TD CLASS="l">45</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">46</TD><TD>                return fOverrideIndicatorManager;</TD></TR><TR><TD CLASS="l">47</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="5">48</A></TD><TD>        </TD></TR><TR><TD CLASS="l">49</TD><TD>        protected void installOverrideIndicator()</TD></TR><TR><TD CLASS="l">50</TD><TD>        {</TD></TR><TR><TD CLASS="l">51</TD><TD>                // uninstallOverrideIndicator();</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>                if (getEditorInput() instanceof FileEditorInput)</TD></TR><TR><TD CLASS="l">53</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                        IAnnotationModel model = getDocumentProvider().getAnnotationModel(getEditorInput());</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>                        IFile file = ((FileEditorInput)getEditorInput()).getFile();</TD></TR><TR CLASS="z"><TD CLASS="l">56</TD><TD>                        fOverrideIndicatorManager = new OverrideIndicatorManager(model, file);</TD></TR><TR><TD CLASS="l">57</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">58</TD><TD>        }</TD></TR><TR><TD CLASS="l">59</TD><TD>        </TD></TR><TR><TD CLASS="l">60</TD><TD>        /** (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="3">61</A></TD><TD>         * @see org.eclipse.wst.sse.ui.StructuredTextEditor#getAdapter(java.lang.Class)</TD></TR><TR><TD CLASS="l">62</TD><TD>         */</TD></TR><TR><TD CLASS="l">63</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">64</TD><TD>        public Object getAdapter(Class required) {</TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>                if (ITemplatesPage.class.equals(required)) {</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>                        if (fTemplatesPage == null)</TD></TR><TR CLASS="z"><TD CLASS="l">67</TD><TD>                                fTemplatesPage = new XSLTemplatesPage(this);</TD></TR><TR CLASS="z"><TD CLASS="l">68</TD><TD>                        return fTemplatesPage;</TD></TR><TR><TD CLASS="l">69</TD><TD>                }</TD></TR><TR><TD CLASS="l">70</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                return super.getAdapter(required);</TD></TR><TR><TD CLASS="l">72</TD><TD>        }</TD></TR><TR><TD CLASS="l">73</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10c.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10c.html
deleted file mode 100644
index d508168..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10c.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">SourceFileHyperlink.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>SourceFileHyperlink.java</TD><TD>100% (1/1)</TD><TD CLASS="h">33%  (2/6)</TD><TD CLASS="h">18%  (17/93)</TD><TD CLASS="h">22%  (6/27)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">SourceFileHyperlink</A></TD><TD>100% (1/1)</TD><TD CLASS="h">33%  (2/6)</TD><TD CLASS="h">18%  (17/93)</TD><TD CLASS="h">22%  (6/27)</TD></TR><TR><TD CLASS="f"><A HREF="#0">SourceFileHyperlink (IRegion, IFile): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/9)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getHyperlinkRegion (): IRegion</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getTypeLabel (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">open (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/62)</TD><TD CLASS="h">0%   (0/15)</TD></TR><TR><TD CLASS="f"><A HREF="#5">SourceFileHyperlink (IRegion, IFile, XSLNode): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (12/12)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">getHyperlinkText (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (5/5)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.ui.internal.editor;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.jface.text.BadLocationException;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.jface.text.IDocument;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.jface.text.IRegion;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.jface.text.hyperlink.IHyperlink;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.ui.IEditorPart;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.ui.IWorkbenchPage;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.ui.PartInitException;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.ui.PlatformUI;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.ui.ide.IDE;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.ui.texteditor.ITextEditor;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.wst.xsl.core.model.XSLNode;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.wst.xsl.ui.internal.XSLUIPlugin;</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>/**</TD></TR><TR><TD CLASS="l">29</TD><TD> * @author Doug Satchwell</TD></TR><TR><TD CLASS="l">30</TD><TD> *</TD></TR><TR><TD CLASS="l">31</TD><TD> */</TD></TR><TR><TD CLASS="l">32</TD><TD>public class SourceFileHyperlink implements IHyperlink</TD></TR><TR><TD CLASS="l">33</TD><TD>{</TD></TR><TR><TD CLASS="l">34</TD><TD>        private IRegion hyperLinkRegion;</TD></TR><TR><TD CLASS="l">35</TD><TD>        private IFile linkedFile;</TD></TR><TR><TD CLASS="l">36</TD><TD>        private XSLNode sourceArtifact;</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">38</A></TD><TD>        /**</TD></TR><TR><TD CLASS="l">39</TD><TD>         * @param hyperLinkRegion</TD></TR><TR><TD CLASS="l">40</TD><TD>         * @param linkedFile</TD></TR><TR><TD CLASS="l">41</TD><TD>         */</TD></TR><TR CLASS="z"><TD CLASS="l">42</TD><TD>        public SourceFileHyperlink(IRegion hyperLinkRegion, IFile linkedFile)</TD></TR><TR><TD CLASS="l">43</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>                this.hyperLinkRegion = hyperLinkRegion;</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>                this.linkedFile = linkedFile;</TD></TR><TR CLASS="z"><TD CLASS="l">46</TD><TD>        }</TD></TR><TR><TD CLASS="l">47</TD><TD> </TD></TR><TR><TD CLASS="l">48</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="5">49</A></TD><TD>         * @param hyperLinkRegion</TD></TR><TR><TD CLASS="l">50</TD><TD>         * @param linkedFile</TD></TR><TR><TD CLASS="l">51</TD><TD>         * @param node</TD></TR><TR><TD CLASS="l">52</TD><TD>         */</TD></TR><TR CLASS="c"><TD CLASS="l">53</TD><TD>        public SourceFileHyperlink(IRegion hyperLinkRegion, IFile linkedFile, XSLNode node)</TD></TR><TR><TD CLASS="l">54</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                this.hyperLinkRegion = hyperLinkRegion;</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>                this.linkedFile = linkedFile;</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                this.sourceArtifact = node;</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>        }</TD></TR><TR><TD CLASS="l">59</TD><TD> </TD></TR><TR><TD CLASS="l">60</TD><TD>        /* (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="2">61</A></TD><TD>         * @see org.eclipse.jface.text.hyperlink.IHyperlink#getHyperlinkRegion()</TD></TR><TR><TD CLASS="l">62</TD><TD>         */</TD></TR><TR><TD CLASS="l">63</TD><TD>        public IRegion getHyperlinkRegion()</TD></TR><TR><TD CLASS="l">64</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>                return hyperLinkRegion;</TD></TR><TR><TD CLASS="l">66</TD><TD>        }</TD></TR><TR><TD CLASS="l">67</TD><TD> </TD></TR><TR><TD CLASS="l">68</TD><TD>        /* (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="3">69</A></TD><TD>         * @see org.eclipse.jface.text.hyperlink.IHyperlink#getTypeLabel()</TD></TR><TR><TD CLASS="l">70</TD><TD>         */</TD></TR><TR><TD CLASS="l">71</TD><TD>        public String getTypeLabel()</TD></TR><TR><TD CLASS="l">72</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">73</TD><TD>                return null;</TD></TR><TR><TD CLASS="l">74</TD><TD>        }</TD></TR><TR><TD CLASS="l">75</TD><TD> </TD></TR><TR><TD CLASS="l">76</TD><TD>        /* (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="6">77</A></TD><TD>         * @see org.eclipse.jface.text.hyperlink.IHyperlink#getHyperlinkText()</TD></TR><TR><TD CLASS="l">78</TD><TD>         */</TD></TR><TR><TD CLASS="l">79</TD><TD>        public String getHyperlinkText()</TD></TR><TR><TD CLASS="l">80</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                return linkedFile.getFullPath().toString();</TD></TR><TR><TD CLASS="l">82</TD><TD>        }</TD></TR><TR><TD CLASS="l">83</TD><TD> </TD></TR><TR><TD CLASS="l">84</TD><TD>        /* (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="4">85</A></TD><TD>         * @see org.eclipse.jface.text.hyperlink.IHyperlink#open()</TD></TR><TR><TD CLASS="l">86</TD><TD>         */</TD></TR><TR><TD CLASS="l">87</TD><TD>        public void open()</TD></TR><TR><TD CLASS="l">88</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">89</TD><TD>                if (linkedFile != null &amp;&amp; linkedFile.exists())</TD></TR><TR><TD CLASS="l">90</TD><TD>                {</TD></TR><TR><TD CLASS="l">91</TD><TD>                        try</TD></TR><TR><TD CLASS="l">92</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">93</TD><TD>                                IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();</TD></TR><TR CLASS="z"><TD CLASS="l">94</TD><TD>                                IEditorPart editor = IDE.openEditor(page, linkedFile, true);</TD></TR><TR CLASS="z"><TD CLASS="l">95</TD><TD>                                ITextEditor textEditor = (ITextEditor)editor.getAdapter(ITextEditor.class);</TD></TR><TR CLASS="z"><TD CLASS="l">96</TD><TD>                                if (sourceArtifact != null &amp;&amp; textEditor != null)</TD></TR><TR><TD CLASS="l">97</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">98</TD><TD>                                        IDocument openedDocument = (IDocument)editor.getAdapter(IDocument.class);</TD></TR><TR CLASS="z"><TD CLASS="l">99</TD><TD>                                        if (openedDocument != null)</TD></TR><TR><TD CLASS="l">100</TD><TD>                                        {</TD></TR><TR CLASS="z"><TD CLASS="l">101</TD><TD>                                                int lineOffset = openedDocument.getLineOffset(sourceArtifact.getLineNumber());</TD></TR><TR CLASS="z"><TD CLASS="l">102</TD><TD>                                                int offset = lineOffset + sourceArtifact.getColumnNumber();</TD></TR><TR><TD CLASS="l">103</TD><TD>                                                //textEditor.selectAndReveal(offset, sourceArtifact.getLength());</TD></TR><TR CLASS="z"><TD CLASS="l">104</TD><TD>                                                textEditor.setHighlightRange(offset, sourceArtifact.getLength(), true);</TD></TR><TR><TD CLASS="l">105</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">106</TD><TD>                                }</TD></TR><TR><TD CLASS="l">107</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">108</TD><TD>                        catch (PartInitException pie)</TD></TR><TR><TD CLASS="l">109</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                                XSLUIPlugin.log(pie);</TD></TR><TR><TD CLASS="l">111</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>                        catch (BadLocationException e)</TD></TR><TR><TD CLASS="l">113</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                                XSLUIPlugin.log(e);</TD></TR><TR><TD CLASS="l">115</TD><TD>                        }</TD></TR><TR><TD CLASS="l">116</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>        }</TD></TR><TR><TD CLASS="l">118</TD><TD> </TD></TR><TR><TD CLASS="l">119</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10d.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10d.html
deleted file mode 100644
index 237612a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10d.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLHyperlinkDetector.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLHyperlinkDetector.java</TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>87%  (305/349)</TD><TD>89%  (73.6/83)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLHyperlinkDetector</A></TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>87%  (305/349)</TD><TD>89%  (73.6/83)</TD></TR><TR><TD CLASS="f"><A HREF="#1">detectHyperlinks (ITextViewer, IRegion, boolean): IHyperlink []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">54%  (13/24)</TD><TD CLASS="h">75%  (3/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getHyperlinkRegion (Node): IRegion</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">74%  (43/58)</TD><TD>89%  (16/18)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getFileForDocument (IDocument): IFile</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>81%  (34/42)</TD><TD CLASS="h">71%  (7.8/11)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">detectHyperlinks (IDocument, IRegion, boolean): IHyperlink []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>84%  (54/64)</TD><TD>80%  (12.8/16)</TD></TR><TR><TD CLASS="f"><A HREF="#0">XSLHyperlinkDetector (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">createCallTemplateHyperLink (IFile, String, IRegion): IHyperlink</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (34/34)</TD><TD>100% (8/8)</TD></TR><TR><TD CLASS="f"><A HREF="#7">createHyperLink (IDocument, IHyperlink, Element, Attr): IHyperlink</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (50/50)</TD><TD>100% (9/9)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">createWithParamHyperLink (IFile, Element, Attr, IRegion): IHyperlink</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (74/74)</TD><TD>100% (16/16)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *     David Carver (STAR) - bug </TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.ui.internal.editor;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">15</TD><TD> </TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.core.resources.ResourcesPlugin;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.core.runtime.IPath;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.jface.text.IDocument;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.jface.text.IRegion;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.jface.text.ITextViewer;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.jface.text.Region;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.jface.text.hyperlink.AbstractHyperlinkDetector;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.jface.text.hyperlink.IHyperlink;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.wst.sse.core.StructuredModelManager;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.wst.sse.core.utils.StringUtils;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.xsl.core.model.Parameter;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.eclipse.wst.xsl.core.model.StylesheetModel;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.eclipse.wst.xsl.core.model.Template;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.eclipse.wst.xsl.core.model.XSLAttribute;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.w3c.dom.Attr;</TD></TR><TR><TD CLASS="l">38</TD><TD>import org.w3c.dom.Element;</TD></TR><TR><TD CLASS="l">39</TD><TD>import org.w3c.dom.Node;</TD></TR><TR><TD CLASS="l">40</TD><TD> </TD></TR><TR><TD CLASS="l">41</TD><TD>/**</TD></TR><TR><TD CLASS="l">42</TD><TD> * A hyperlink detector for XSL files.</TD></TR><TR><TD CLASS="l">43</TD><TD> * </TD></TR><TR><TD CLASS="l">44</TD><TD> * The detector makes use of the model built by SSE validation (found in &lt;code&gt;XSLCore&lt;/code&gt;).</TD></TR><TR><TD CLASS="l">45</TD><TD> * </TD></TR><TR><TD CLASS="l"><A NAME="0">46</A></TD><TD> * Currently supports hyperlinking for includes, imports or called templates.</TD></TR><TR><TD CLASS="l">47</TD><TD> * </TD></TR><TR><TD CLASS="l">48</TD><TD> * @author Doug Satchwell</TD></TR><TR><TD CLASS="l">49</TD><TD> */</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>public class XSLHyperlinkDetector extends AbstractHyperlinkDetector</TD></TR><TR><TD CLASS="l">51</TD><TD>{</TD></TR><TR><TD CLASS="l">52</TD><TD>        private static final String ELEM_WITH_PARAM = &#34;with-param&#34;;</TD></TR><TR><TD CLASS="l">53</TD><TD>        private static final String ATTR_NAME = &#34;name&#34;;</TD></TR><TR><TD CLASS="l">54</TD><TD>        private static final String ELM_CALL_TEMPLATE = &#34;call-template&#34;;</TD></TR><TR><TD CLASS="l">55</TD><TD> </TD></TR><TR><TD CLASS="l">56</TD><TD>        /**</TD></TR><TR><TD CLASS="l">57</TD><TD>         * Try to create hyperlinks for viewer and region</TD></TR><TR><TD CLASS="l">58</TD><TD>         * </TD></TR><TR><TD CLASS="l">59</TD><TD>         * @see AbstractHyperlinkDetector</TD></TR><TR><TD CLASS="l">60</TD><TD>         * @param textViewer </TD></TR><TR><TD CLASS="l">61</TD><TD>         * @param region </TD></TR><TR><TD CLASS="l">62</TD><TD>         * @param canShowMultipleHyperlinks </TD></TR><TR><TD CLASS="l"><A NAME="1">63</A></TD><TD>         * @return array of hyperlinks for current region</TD></TR><TR><TD CLASS="l">64</TD><TD>         */</TD></TR><TR><TD CLASS="l">65</TD><TD>        public IHyperlink[] detectHyperlinks(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks)</TD></TR><TR><TD CLASS="l">66</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                IHyperlink hyperlink = null;</TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>                if (region != null &amp;&amp; textViewer != null)</TD></TR><TR><TD CLASS="l">69</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                        return detectHyperlinks(textViewer.getDocument(), region, canShowMultipleHyperlinks);</TD></TR><TR><TD CLASS="l">71</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">72</TD><TD>                return hyperlink == null ? null : new IHyperlink[]{hyperlink};</TD></TR><TR><TD CLASS="l">73</TD><TD>        }</TD></TR><TR><TD CLASS="l">74</TD><TD> </TD></TR><TR><TD CLASS="l">75</TD><TD>        /**</TD></TR><TR><TD CLASS="l">76</TD><TD>         * Try to create hyperlinks for document and region</TD></TR><TR><TD CLASS="l">77</TD><TD>         * @param document</TD></TR><TR><TD CLASS="l">78</TD><TD>         * @param region</TD></TR><TR><TD CLASS="l">79</TD><TD>         * @param canShowMultipleHyperlinks</TD></TR><TR><TD CLASS="l"><A NAME="4">80</A></TD><TD>         * @return array of hyperlinks for current region</TD></TR><TR><TD CLASS="l">81</TD><TD>         */</TD></TR><TR><TD CLASS="l">82</TD><TD>        public IHyperlink[] detectHyperlinks(IDocument document, IRegion region, boolean canShowMultipleHyperlinks)</TD></TR><TR><TD CLASS="l">83</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">84</TD><TD>                IHyperlink hyperlink = null;</TD></TR><TR><TD CLASS="l">85</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                if (region != null &amp;&amp; document != null)</TD></TR><TR><TD CLASS="l">87</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                        Node currentNode = XSLCore.getCurrentNode(document, region.getOffset());</TD></TR><TR><TD CLASS="l">89</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                        Element xslEl = null;</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>                        Attr xslAttr = null;</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                        if (XSLCore.XSL_NAMESPACE_URI.equals(currentNode.getNamespaceURI())) {</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                                if (currentNode.getNodeType() == Node.ATTRIBUTE_NODE)</TD></TR><TR><TD CLASS="l">94</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">95</TD><TD>                                        Attr att = (Attr) currentNode;</TD></TR><TR CLASS="z"><TD CLASS="l">96</TD><TD>                                        xslEl = att.getOwnerElement();</TD></TR><TR CLASS="z"><TD CLASS="l">97</TD><TD>                                        xslAttr = att;</TD></TR><TR><TD CLASS="l">98</TD><TD>                                }</TD></TR><TR><TD CLASS="l">99</TD><TD>                                </TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                                if (currentNode.getNodeType() == Node.ELEMENT_NODE)</TD></TR><TR><TD CLASS="l">101</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">102</TD><TD>                                        Element el = (Element)currentNode;</TD></TR><TR CLASS="c"><TD CLASS="l">103</TD><TD>                                                xslEl = el;</TD></TR><TR CLASS="c"><TD CLASS="l">104</TD><TD>                                                xslAttr = XSLCore.getCurrentAttrNode(el, region.getOffset());</TD></TR><TR><TD CLASS="l">105</TD><TD>                                }</TD></TR><TR><TD CLASS="l">106</TD><TD>                        }</TD></TR><TR><TD CLASS="l">107</TD><TD>                        </TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                        hyperlink = createHyperLink(document, hyperlink, xslEl, xslAttr);</TD></TR><TR><TD CLASS="l">109</TD><TD>                }</TD></TR><TR CLASS="p"><TD TITLE="82% line coverage (9 out of 11 instructions)" CLASS="l">110</TD><TD TITLE="82% line coverage (9 out of 11 instructions)">                return hyperlink == null ? null : new IHyperlink[]{hyperlink};</TD></TR><TR><TD CLASS="l"><A NAME="7">111</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">112</TD><TD> </TD></TR><TR><TD CLASS="l">113</TD><TD>        private IHyperlink createHyperLink(IDocument document,</TD></TR><TR><TD CLASS="l">114</TD><TD>                        IHyperlink hyperlink, Element xslEl, Attr xslAttr) {</TD></TR><TR CLASS="c"><TD CLASS="l">115</TD><TD>                if (xslEl != null &amp;&amp; xslAttr != null)</TD></TR><TR><TD CLASS="l">116</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">117</TD><TD>                        IRegion hyperlinkRegion = getHyperlinkRegion(xslAttr);</TD></TR><TR CLASS="c"><TD CLASS="l">118</TD><TD>                        IFile file = getFileForDocument(document);</TD></TR><TR CLASS="c"><TD CLASS="l">119</TD><TD>                        if (file != null)</TD></TR><TR><TD CLASS="l">120</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">121</TD><TD>                                if (ELM_CALL_TEMPLATE.equals(xslEl.getLocalName()) &amp;&amp; ATTR_NAME.equals(xslAttr.getLocalName()))</TD></TR><TR><TD CLASS="l">122</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">123</TD><TD>                                        hyperlink = createCallTemplateHyperLink(file,xslAttr.getValue(), hyperlinkRegion);</TD></TR><TR><TD CLASS="l">124</TD><TD>                                }</TD></TR><TR><TD CLASS="l">125</TD><TD>                                </TD></TR><TR CLASS="c"><TD CLASS="l">126</TD><TD>                                if (ELEM_WITH_PARAM.equals(xslEl.getLocalName()) &amp;&amp; ATTR_NAME.equals(xslAttr.getLocalName())) {</TD></TR><TR CLASS="c"><TD CLASS="l">127</TD><TD>                                        hyperlink = createWithParamHyperLink(file, xslEl, xslAttr, hyperlinkRegion);</TD></TR><TR><TD CLASS="l">128</TD><TD>                                }</TD></TR><TR><TD CLASS="l">129</TD><TD>                        }</TD></TR><TR><TD CLASS="l">130</TD><TD>                        </TD></TR><TR><TD CLASS="l">131</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">132</TD><TD>                return hyperlink;</TD></TR><TR><TD CLASS="l">133</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="6">134</A></TD><TD>        </TD></TR><TR><TD CLASS="l">135</TD><TD> </TD></TR><TR><TD CLASS="l">136</TD><TD>        private IHyperlink createCallTemplateHyperLink(IFile currentFile, String templateName, IRegion hyperlinkRegion)</TD></TR><TR><TD CLASS="l">137</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">138</TD><TD>                IHyperlink hyperlink = null;</TD></TR><TR CLASS="c"><TD CLASS="l">139</TD><TD>                StylesheetModel sf = XSLCore.getInstance().getStylesheet(currentFile);</TD></TR><TR CLASS="c"><TD CLASS="l">140</TD><TD>                if (sf != null)</TD></TR><TR><TD CLASS="l">141</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">142</TD><TD>                        List&lt;Template&gt; templates = sf.getTemplatesByName(templateName);</TD></TR><TR CLASS="c"><TD CLASS="l">143</TD><TD>                        if (templates != null &amp;&amp; templates.size() == 1)</TD></TR><TR><TD CLASS="l">144</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">145</TD><TD>                                Template template = templates.get(0);</TD></TR><TR CLASS="c"><TD CLASS="l">146</TD><TD>                                hyperlink = new SourceFileHyperlink(hyperlinkRegion,template.getStylesheet().getFile(),template);</TD></TR><TR><TD CLASS="l">147</TD><TD>                        }</TD></TR><TR><TD CLASS="l">148</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">149</TD><TD>                return hyperlink;</TD></TR><TR><TD CLASS="l"><A NAME="8">150</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">151</TD><TD>        </TD></TR><TR><TD CLASS="l">152</TD><TD>        private IHyperlink createWithParamHyperLink(IFile currentFile, Element elem, Attr attr, IRegion hyperlinkRegion)</TD></TR><TR><TD CLASS="l">153</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">154</TD><TD>                IHyperlink hyperlink = null;</TD></TR><TR CLASS="c"><TD CLASS="l">155</TD><TD>                StylesheetModel sf = XSLCore.getInstance().getStylesheet(currentFile);</TD></TR><TR CLASS="c"><TD CLASS="l">156</TD><TD>                if (sf != null)</TD></TR><TR><TD CLASS="l">157</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">158</TD><TD>                        Node parentNode = elem.getParentNode();</TD></TR><TR CLASS="c"><TD CLASS="l">159</TD><TD>                        Attr parentAttribute = (Attr) parentNode.getAttributes().getNamedItem(ATTR_NAME);</TD></TR><TR CLASS="c"><TD CLASS="l">160</TD><TD>                        String templateName = parentAttribute.getValue();</TD></TR><TR CLASS="c"><TD CLASS="l">161</TD><TD>                        List&lt;Template&gt; templates = sf.getTemplatesByName(templateName);</TD></TR><TR><TD CLASS="l">162</TD><TD>                        </TD></TR><TR CLASS="c"><TD CLASS="l">163</TD><TD>                        if (templates != null &amp;&amp; templates.size() == 1)</TD></TR><TR><TD CLASS="l">164</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">165</TD><TD>                                Template template = templates.get(0);</TD></TR><TR CLASS="c"><TD CLASS="l">166</TD><TD>                                List&lt;Parameter&gt; parameters = template.getParameters();</TD></TR><TR CLASS="c"><TD CLASS="l">167</TD><TD>                                for(Parameter param : parameters) {</TD></TR><TR CLASS="c"><TD CLASS="l">168</TD><TD>                                        String paramName = attr.getValue();</TD></TR><TR CLASS="c"><TD CLASS="l">169</TD><TD>                                        XSLAttribute parameterNameAttr = param.getAttribute(ATTR_NAME);</TD></TR><TR CLASS="c"><TD CLASS="l">170</TD><TD>                                        if (parameterNameAttr != null &amp;&amp; parameterNameAttr.getValue().equals(paramName)) {</TD></TR><TR CLASS="c"><TD CLASS="l">171</TD><TD>                                                hyperlink = new SourceFileHyperlink(hyperlinkRegion,template.getStylesheet().getFile(),param);</TD></TR><TR><TD CLASS="l">172</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">173</TD><TD>                                }</TD></TR><TR><TD CLASS="l">174</TD><TD>                        }</TD></TR><TR><TD CLASS="l">175</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">176</TD><TD>                return hyperlink;</TD></TR><TR><TD CLASS="l"><A NAME="2">177</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">178</TD><TD> </TD></TR><TR><TD CLASS="l">179</TD><TD>        private IRegion getHyperlinkRegion(Node node)</TD></TR><TR><TD CLASS="l">180</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">181</TD><TD>                IRegion hyperRegion = null;</TD></TR><TR><TD CLASS="l">182</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">183</TD><TD>                if (node != null)</TD></TR><TR><TD CLASS="l">184</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">185</TD><TD>                        short nodeType = node.getNodeType();</TD></TR><TR CLASS="c"><TD CLASS="l">186</TD><TD>                        if (nodeType == Node.DOCUMENT_TYPE_NODE)</TD></TR><TR><TD CLASS="l">187</TD><TD>                        {</TD></TR><TR><TD CLASS="l">188</TD><TD>                                // handle doc type node</TD></TR><TR CLASS="z"><TD CLASS="l">189</TD><TD>                                IDOMNode docNode = (IDOMNode) node;</TD></TR><TR CLASS="z"><TD CLASS="l">190</TD><TD>                                hyperRegion = new Region(docNode.getStartOffset(), docNode.getEndOffset() - docNode.getStartOffset());</TD></TR><TR><TD CLASS="l">191</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">192</TD><TD>                        else if (nodeType == Node.ATTRIBUTE_NODE)</TD></TR><TR><TD CLASS="l">193</TD><TD>                        {</TD></TR><TR><TD CLASS="l">194</TD><TD>                                // handle attribute nodes</TD></TR><TR CLASS="c"><TD CLASS="l">195</TD><TD>                                IDOMAttr att = (IDOMAttr) node;</TD></TR><TR><TD CLASS="l">196</TD><TD>                                // do not include quotes in attribute value region</TD></TR><TR CLASS="c"><TD CLASS="l">197</TD><TD>                                int regOffset = att.getValueRegionStartOffset();</TD></TR><TR CLASS="c"><TD CLASS="l">198</TD><TD>                                ITextRegion valueRegion = att.getValueRegion();</TD></TR><TR CLASS="c"><TD CLASS="l">199</TD><TD>                                if (valueRegion != null)</TD></TR><TR><TD CLASS="l">200</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">201</TD><TD>                                        int regLength = valueRegion.getTextLength();</TD></TR><TR CLASS="c"><TD CLASS="l">202</TD><TD>                                        String attValue = att.getValueRegionText();</TD></TR><TR CLASS="c"><TD CLASS="l">203</TD><TD>                                        if (StringUtils.isQuoted(attValue))</TD></TR><TR><TD CLASS="l">204</TD><TD>                                        {</TD></TR><TR CLASS="c"><TD CLASS="l">205</TD><TD>                                                ++regOffset;</TD></TR><TR CLASS="c"><TD CLASS="l">206</TD><TD>                                                regLength = regLength - 2;</TD></TR><TR><TD CLASS="l">207</TD><TD>                                        }</TD></TR><TR CLASS="c"><TD CLASS="l">208</TD><TD>                                        hyperRegion = new Region(regOffset, regLength);</TD></TR><TR><TD CLASS="l">209</TD><TD>                                }</TD></TR><TR><TD CLASS="l">210</TD><TD>                        }</TD></TR><TR><TD CLASS="l">211</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">212</TD><TD>                return hyperRegion;</TD></TR><TR><TD CLASS="l"><A NAME="3">213</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">214</TD><TD>        </TD></TR><TR><TD CLASS="l">215</TD><TD>        private IFile getFileForDocument(IDocument document)</TD></TR><TR><TD CLASS="l">216</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">217</TD><TD>                IFile file = null;</TD></TR><TR CLASS="c"><TD CLASS="l">218</TD><TD>                IStructuredModel sModel = null;</TD></TR><TR><TD CLASS="l">219</TD><TD>                try</TD></TR><TR><TD CLASS="l">220</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">221</TD><TD>                        sModel = StructuredModelManager.getModelManager().getExistingModelForRead(document);</TD></TR><TR CLASS="c"><TD CLASS="l">222</TD><TD>                        if (sModel != null)</TD></TR><TR><TD CLASS="l">223</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">224</TD><TD>                                IPath path = new Path(sModel.getBaseLocation());</TD></TR><TR CLASS="c"><TD CLASS="l">225</TD><TD>                                file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);</TD></TR><TR><TD CLASS="l">226</TD><TD>                        }</TD></TR><TR><TD CLASS="l">227</TD><TD>                }</TD></TR><TR><TD CLASS="l">228</TD><TD>                finally</TD></TR><TR CLASS="z"><TD CLASS="l">229</TD><TD>                {</TD></TR><TR CLASS="p"><TD TITLE="40% line coverage (2 out of 5 instructions)" CLASS="l">230</TD><TD TITLE="40% line coverage (2 out of 5 instructions)">                        if (sModel != null)</TD></TR><TR CLASS="p"><TD TITLE="50% line coverage (2 out of 4 instructions)" CLASS="l">231</TD><TD TITLE="50% line coverage (2 out of 4 instructions)">                                sModel.releaseFromRead();</TD></TR><TR CLASS="z"><TD CLASS="l">232</TD><TD>                }</TD></TR><TR CLASS="p"><TD TITLE="89% line coverage (8 out of 9 instructions)" CLASS="l">233</TD><TD TITLE="89% line coverage (8 out of 9 instructions)">                return file != null &amp;&amp; file.exists() ? file : null;</TD></TR><TR><TD CLASS="l">234</TD><TD>        }</TD></TR><TR><TD CLASS="l">235</TD><TD> </TD></TR><TR><TD CLASS="l">236</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2d.html">org.eclipse.wst.xsl.ui.internal.editor</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10e.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10e.html
deleted file mode 100644
index 1554917..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10e.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2e.html">org.eclipse.wst.xsl.launching.tests.testcase</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLLaunchingTests.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLLaunchingTests.java</TD><TD>100% (1/1)</TD><TD CLASS="h">50%  (4/8)</TD><TD CLASS="h">47%  (127/269)</TD><TD CLASS="h">51%  (33.8/66)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLLaunchingTests</A></TD><TD>100% (1/1)</TD><TD CLASS="h">50%  (4/8)</TD><TD CLASS="h">47%  (127/269)</TD><TD CLASS="h">51%  (33.8/66)</TD></TR><TR><TD CLASS="f"><A HREF="#1">parseXml (InputStream): Document</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/9)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">readFile (InputStream): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/33)</TD><TD CLASS="h">0%   (0/7)</TD></TR><TR><TD CLASS="f"><A HREF="#3">testBuildConfig (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/39)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">testTransformComments (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/55)</TD><TD CLASS="h">0%   (0/11)</TD></TR><TR><TD CLASS="f"><A HREF="#5">launchConfiguration (IPath, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>94%  (101/107)</TD><TD>92%  (24.8/27)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">XSLLaunchingTests (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#7">setUp (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (14/14)</TD><TD>100% (4/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">tearDown (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Jesper Steen M�ller</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Jesper Steen M�ller - initial XSL launching test</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.launching.tests.testcase;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.BufferedReader;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.io.InputStreamReader;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.io.UnsupportedEncodingException;</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>import javax.xml.parsers.DocumentBuilder;</TD></TR><TR><TD CLASS="l">21</TD><TD>import javax.xml.parsers.DocumentBuilderFactory;</TD></TR><TR><TD CLASS="l">22</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD>import junit.framework.TestCase;</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.core.resources.IProject;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.core.runtime.IPath;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.core.runtime.NullProgressMonitor;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.debug.core.DebugPlugin;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.debug.core.ILaunch;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.debug.core.ILaunchConfiguration;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.eclipse.debug.core.ILaunchManager;</TD></TR><TR><TD CLASS="l"><A NAME="0">35</A></TD><TD>import org.eclipse.wst.xsl.launching.tests.TestEnvironment;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.xml.sax.SAXException;</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>public class XSLLaunchingTests extends TestCase {</TD></TR><TR><TD CLASS="l">40</TD><TD> </TD></TR><TR><TD CLASS="l">41</TD><TD>        private TestEnvironment _env;</TD></TR><TR><TD CLASS="l">42</TD><TD>        private IProject _testProject;</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>        private String launchXml = &#34;&lt;?xml version=\&#34;1.0\&#34; encoding=\&#34;UTF-8\&#34; standalone=\&#34;no\&#34;?&gt;&#34;</TD></TR><TR><TD CLASS="l">44</TD><TD>                + &#34;&lt;launchConfiguration type=\&#34;org.eclipse.wst.xsl.launching.launchConfigurationType\&#34;&gt;&#34;</TD></TR><TR><TD CLASS="l">45</TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.jaxp.launching.ATTR_ATTRIBUTES\&#34; value=\&#34;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#13;&amp;#10;&amp;lt;Attributes/&amp;gt;&amp;#13;&amp;#10;\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">46</TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.jaxp.launching.ATTR_OUTPUT_PROPERTIES\&#34; value=\&#34;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#13;&amp;#10;&amp;lt;Properties/&amp;gt;&amp;#13;&amp;#10;\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">47</TD><TD>                + &#34;&lt;booleanAttribute key=\&#34;org.eclipse.wst.xsl.jaxp.launching.ATTR_USE_DEFAULT_PROCESSOR\&#34; value=\&#34;true\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">48</TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.jaxp.launching.INVOKER_DESCRIPTOR\&#34; value=\&#34;org.eclipse.wst.xsl.launching.jaxp.invoke\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">49</TD><TD>                + &#34;&lt;booleanAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_FORMAT_FILE\&#34; value=\&#34;false\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">50</TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_INPUT_FILE\&#34; value=\&#34;${workspace_loc:/XSLTestProject/input.xml}\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">51</TD><TD>                + &#34;&lt;booleanAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_OPEN_FILE\&#34; value=\&#34;true\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">52</TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_OUTPUT_FILENAME\&#34; value=\&#34;output.xml\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">53</TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_PIPELINE\&#34; value=\&#34;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#13;&amp;#10;&amp;lt;Pipeline&amp;gt;&amp;#13;&amp;#10;&amp;lt;OutputProperties/&amp;gt;&amp;#13;&amp;#10;&amp;lt;Transform path=&amp;quot;/XSLTestProject/transform.xsl&amp;quot; pathType=&amp;quot;resource&amp;quot;&amp;gt;&amp;#13;&amp;#10;&amp;lt;Parameters/&amp;gt;&amp;#13;&amp;#10;&amp;lt;/Transform&amp;gt;&amp;#13;&amp;#10;&amp;lt;/Pipeline&amp;gt;&amp;#13;&amp;#10;\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">54</TD><TD>                + &#34;&lt;booleanAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_USE_DEFAULT_OUTPUT_FILE\&#34; value=\&#34;false\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l"><A NAME="7">55</A></TD><TD>                + &#34;&lt;stringAttribute key=\&#34;org.eclipse.wst.xsl.launching.ATTR_OUTPUT_FOLDER\&#34; value=\&#34;${workspace_loc:/XSLTestProject}\&#34;/&gt;&#34;</TD></TR><TR><TD CLASS="l">56</TD><TD>                + &#34;&lt;/launchConfiguration&gt;&#34;;</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>        protected void setUp() throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>                super.setUp();</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>                _env = new TestEnvironment();</TD></TR><TR CLASS="c"><TD CLASS="l">61</TD><TD>                _testProject = _env.createProject(&#34;XSLTestProject&#34;);</TD></TR><TR CLASS="c"><TD CLASS="l">62</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="5">63</A></TD><TD> </TD></TR><TR><TD CLASS="l">64</TD><TD>        private void launchConfiguration(IPath folder, String launchXml)</TD></TR><TR><TD CLASS="l">65</TD><TD>                        throws CoreException, UnsupportedEncodingException,</TD></TR><TR><TD CLASS="l">66</TD><TD>                        InterruptedException {</TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                String name = &#34;launch&#34; + (int) (Math.random() * 1000);</TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>                _env.addFile(folder, name + &#34;.launch&#34;, launchXml);</TD></TR><TR><TD CLASS="l">69</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                ILaunchManager mgr = DebugPlugin.getDefault().getLaunchManager();</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                ILaunchConfiguration[] allConfigs = mgr.getLaunchConfigurations();</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                ILaunchConfiguration mine = null;</TD></TR><TR CLASS="c"><TD CLASS="l">73</TD><TD>                boolean found = false;</TD></TR><TR CLASS="c"><TD CLASS="l">74</TD><TD>                for (ILaunchConfiguration lc : allConfigs) {</TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                        if (lc.getName().equals(name)) {</TD></TR><TR CLASS="c"><TD CLASS="l">76</TD><TD>                                found = true;</TD></TR><TR CLASS="c"><TD CLASS="l">77</TD><TD>                                mine = lc;</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>                                assertEquals(</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                                                &#34;bad launch config type?&#34;,</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                                                &#34;org.eclipse.wst.xsl.launching.launchConfigurationType&#34;,</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                                                lc.getType().getIdentifier());</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                                assertEquals(&#34;bad launch config plugin?&#34;,</TD></TR><TR CLASS="c"><TD CLASS="l">83</TD><TD>                                                &#34;org.eclipse.wst.xsl.launching&#34;, lc.getType()</TD></TR><TR CLASS="c"><TD CLASS="l">84</TD><TD>                                                                .getPluginIdentifier());</TD></TR><TR><TD CLASS="l">85</TD><TD>                        }</TD></TR><TR><TD CLASS="l">86</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                assertTrue(&#34;expected to find the launch config we just added&#34;, found);</TD></TR><TR><TD CLASS="l">88</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                ILaunch launch = mine.launch(ILaunchManager.RUN_MODE,</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                                new NullProgressMonitor());</TD></TR><TR CLASS="p"><TD TITLE="76% line coverage (19 out of 25 instructions)" CLASS="l">91</TD><TD TITLE="76% line coverage (19 out of 25 instructions)">                for (int i = 0; i &lt; 200 &amp;&amp; !launch.isTerminated(); ++i) {</TD></TR><TR CLASS="z"><TD CLASS="l">92</TD><TD>                        System.out.println(&#34;waiting&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">93</TD><TD>                        Thread.sleep(100);</TD></TR><TR><TD CLASS="l">94</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                assertTrue(&#34;Launch did not complete within a 20 second time period&#34;,</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                                launch.isTerminated());</TD></TR><TR><TD CLASS="l">97</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                _testProject.refreshLocal(2, null);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">99</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">100</TD><TD> </TD></TR><TR><TD CLASS="l">101</TD><TD>        public void testBuildConfig() throws CoreException, InterruptedException,</TD></TR><TR><TD CLASS="l">102</TD><TD>                        ParserConfigurationException, SAXException, IOException {</TD></TR><TR CLASS="z"><TD CLASS="l">103</TD><TD>                IPath folder = _testProject.getFullPath();</TD></TR><TR CLASS="z"><TD CLASS="l">104</TD><TD>                _env.addFileFromResource(folder, &#34;input.xml&#34;, &#34;1-input.xml&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">105</TD><TD>                _env.addFileFromResource(folder, &#34;transform.xsl&#34;, &#34;1-transform.xsl&#34;);</TD></TR><TR><TD CLASS="l">106</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">107</TD><TD>                launchConfiguration(folder, launchXml);</TD></TR><TR CLASS="z"><TD CLASS="l">108</TD><TD>                IFile output = _testProject.getFile(&#34;output.xml&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">109</TD><TD>                Document doc = parseXml(output.getContents(true));</TD></TR><TR><TD CLASS="l">110</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">111</TD><TD>                assertEquals(&#34;root-out&#34;, doc.getDocumentElement().getNodeName());</TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>        }</TD></TR><TR><TD CLASS="l">113</TD><TD> </TD></TR><TR><TD CLASS="l">114</TD><TD>        /**</TD></TR><TR><TD CLASS="l">115</TD><TD>         * Test to make sure comments are being copied out to the output file.</TD></TR><TR><TD CLASS="l">116</TD><TD>         * bug 253703</TD></TR><TR><TD CLASS="l">117</TD><TD>         * @throws CoreException</TD></TR><TR><TD CLASS="l">118</TD><TD>         * @throws InterruptedException</TD></TR><TR><TD CLASS="l">119</TD><TD>         * @throws ParserConfigurationException</TD></TR><TR><TD CLASS="l">120</TD><TD>         * @throws SAXException</TD></TR><TR><TD CLASS="l"><A NAME="4">121</A></TD><TD>         * @throws IOException</TD></TR><TR><TD CLASS="l">122</TD><TD>         */</TD></TR><TR><TD CLASS="l">123</TD><TD>        public void testTransformComments() throws CoreException, InterruptedException,</TD></TR><TR><TD CLASS="l">124</TD><TD>                        ParserConfigurationException, SAXException, IOException {</TD></TR><TR CLASS="z"><TD CLASS="l">125</TD><TD>                IPath folder = _testProject.getFullPath();</TD></TR><TR CLASS="z"><TD CLASS="l">126</TD><TD>                _env.addFileFromResource(folder, &#34;input.xml&#34;, &#34;testCommentInput.xml&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">127</TD><TD>                _env.addFileFromResource(folder, &#34;transform.xsl&#34;, &#34;testComments.xsl&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">128</TD><TD>                _env.addFileFromResource(folder, &#34;expected.xml&#34;, &#34;testCommentsExpected.xml&#34;);</TD></TR><TR><TD CLASS="l">129</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                launchConfiguration(folder, launchXml);</TD></TR><TR CLASS="z"><TD CLASS="l">131</TD><TD>                IFile output = _testProject.getFile(&#34;output.xml&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">132</TD><TD>                IFile expected = _testProject.getFile(&#34;expected.xml&#34;);</TD></TR><TR><TD CLASS="l">133</TD><TD>                </TD></TR><TR CLASS="z"><TD CLASS="l">134</TD><TD>                String result = readFile(output.getContents());</TD></TR><TR CLASS="z"><TD CLASS="l">135</TD><TD>                String wanted = readFile(expected.getContents());</TD></TR><TR><TD CLASS="l">136</TD><TD>                </TD></TR><TR CLASS="z"><TD CLASS="l">137</TD><TD>                assertEquals(&#34;Unexpected results:&#34;, wanted, result);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="2">138</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">139</TD><TD> </TD></TR><TR><TD CLASS="l">140</TD><TD>        private String readFile(InputStream input) {</TD></TR><TR><TD CLASS="l">141</TD><TD>                String str;</TD></TR><TR CLASS="z"><TD CLASS="l">142</TD><TD>                String finalString = &#34;&#34;;</TD></TR><TR><TD CLASS="l">143</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                        BufferedReader in = new BufferedReader(new InputStreamReader(input));</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                        while ((str = in.readLine()) != null) {</TD></TR><TR CLASS="z"><TD CLASS="l">146</TD><TD>                                finalString = finalString + str + &#34;\n&#34;;</TD></TR><TR><TD CLASS="l">147</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">148</TD><TD>                        in.close();</TD></TR><TR CLASS="z"><TD CLASS="l">149</TD><TD>                } catch (IOException e) {</TD></TR><TR><TD CLASS="l">150</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">151</TD><TD>                return finalString;</TD></TR><TR><TD CLASS="l">152</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="1">153</A></TD><TD> </TD></TR><TR><TD CLASS="l">154</TD><TD>        static private Document parseXml(InputStream contents)</TD></TR><TR><TD CLASS="l">155</TD><TD>                        throws ParserConfigurationException, SAXException, IOException {</TD></TR><TR CLASS="z"><TD CLASS="l">156</TD><TD>                DocumentBuilderFactory builderFactory = DocumentBuilderFactory</TD></TR><TR CLASS="z"><TD CLASS="l">157</TD><TD>                                .newInstance();</TD></TR><TR CLASS="z"><TD CLASS="l">158</TD><TD>                DocumentBuilder builder = builderFactory.newDocumentBuilder();</TD></TR><TR><TD CLASS="l">159</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="8">160</A></TD><TD>                return builder.parse(contents);</TD></TR><TR><TD CLASS="l">161</TD><TD>        }</TD></TR><TR><TD CLASS="l">162</TD><TD> </TD></TR><TR><TD CLASS="l">163</TD><TD>        protected void tearDown() throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">164</TD><TD>                _env.dispose();</TD></TR><TR CLASS="c"><TD CLASS="l">165</TD><TD>                super.tearDown();</TD></TR><TR CLASS="c"><TD CLASS="l">166</TD><TD>        }</TD></TR><TR><TD CLASS="l">167</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2e.html">org.eclipse.wst.xsl.launching.tests.testcase</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10f.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10f.html
deleted file mode 100644
index af2088a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/10f.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">LaunchAttribute.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>LaunchAttribute.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/40)</TD><TD CLASS="h">0%   (0/13)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">LaunchAttribute</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/40)</TD><TD CLASS="h">0%   (0/13)</TD></TR><TR><TD CLASS="f"><A HREF="#0">LaunchAttribute (String, String, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/12)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">equals (Object): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/14)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getResolvedValue (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">hashCode (): int</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">setValue (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.launching.config;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.core.variables.VariablesPlugin;</TD></TR><TR><TD CLASS="l">15</TD><TD> </TD></TR><TR><TD CLASS="l">16</TD><TD>public class LaunchAttribute</TD></TR><TR><TD CLASS="l">17</TD><TD>{</TD></TR><TR><TD CLASS="l"><A NAME="0">18</A></TD><TD>        public final String uri;</TD></TR><TR><TD CLASS="l">19</TD><TD>        public String type;</TD></TR><TR><TD CLASS="l">20</TD><TD>        public String value;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">22</TD><TD>        public LaunchAttribute(String uri, String type, String value)</TD></TR><TR><TD CLASS="l">23</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">24</TD><TD>                this.uri = uri;</TD></TR><TR CLASS="z"><TD CLASS="l">25</TD><TD>                this.type = type;</TD></TR><TR CLASS="z"><TD CLASS="l">26</TD><TD>                this.value = value;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="5">27</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">28</TD><TD> </TD></TR><TR><TD CLASS="l">29</TD><TD>        public void setValue(String value)</TD></TR><TR><TD CLASS="l">30</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">31</TD><TD>                this.value = value;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">32</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">33</TD><TD>        </TD></TR><TR><TD CLASS="l">34</TD><TD>        public String getResolvedValue() throws CoreException</TD></TR><TR><TD CLASS="l">35</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">36</TD><TD>                return VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(value);</TD></TR><TR><TD CLASS="l">37</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="4">38</A></TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">40</TD><TD>        public int hashCode()</TD></TR><TR><TD CLASS="l">41</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">42</TD><TD>                return uri.hashCode();</TD></TR><TR><TD CLASS="l">43</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="2">44</A></TD><TD> </TD></TR><TR><TD CLASS="l">45</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">46</TD><TD>        public boolean equals(Object obj)</TD></TR><TR><TD CLASS="l">47</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">48</TD><TD>                if (obj instanceof LaunchAttribute)</TD></TR><TR><TD CLASS="l">49</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">50</TD><TD>                        LaunchAttribute att = (LaunchAttribute) obj;</TD></TR><TR CLASS="z"><TD CLASS="l">51</TD><TD>                        return att.uri.equals(uri);</TD></TR><TR><TD CLASS="l">52</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">53</TD><TD>                return false;</TD></TR><TR><TD CLASS="l">54</TD><TD>        }</TD></TR><TR><TD CLASS="l">55</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11.html
deleted file mode 100644
index 7225e17..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR PACKAGE [<SPAN CLASS="in">org.eclipse.wst.xsl.internal.debug.ui.tabs.main</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>org.eclipse.wst.xsl.internal.debug.ui.tabs.main</TD><TD CLASS="h">0%   (0/19)</TD><TD CLASS="h">0%   (0/127)</TD><TD CLASS="h">0%   (0/1952)</TD><TD CLASS="h">0%   (0/472)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY SOURCE FILE</H3><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR CLASS="o"><TD><A HREF="7f.html">InputFileBlock.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/10)</TD><TD CLASS="h">0%   (0/146)</TD><TD CLASS="h">0%   (0/48)</TD></TR><TR><TD><A HREF="80.html">MainTabMessages.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD><A HREF="81.html">Messages.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR><TD><A HREF="82.html">ParameterViewer.java</A></TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/14)</TD><TD CLASS="h">0%   (0/102)</TD><TD CLASS="h">0%   (0/29)</TD></TR><TR CLASS="o"><TD><A HREF="83.html">ParametersBlock.java</A></TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/25)</TD><TD CLASS="h">0%   (0/449)</TD><TD CLASS="h">0%   (0/102)</TD></TR><TR><TD><A HREF="84.html">ParametersContentProvider.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/120)</TD><TD CLASS="h">0%   (0/27)</TD></TR><TR CLASS="o"><TD><A HREF="85.html">ParametersLabelProvider.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/11)</TD></TR><TR><TD><A HREF="86.html">StylesheetContentProvider.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/91)</TD><TD CLASS="h">0%   (0/19)</TD></TR><TR CLASS="o"><TD><A HREF="87.html">StylesheetLabelProvider.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/137)</TD><TD CLASS="h">0%   (0/28)</TD></TR><TR><TD><A HREF="88.html">StylesheetViewer.java</A></TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/18)</TD><TD CLASS="h">0%   (0/177)</TD><TD CLASS="h">0%   (0/42)</TD></TR><TR CLASS="o"><TD><A HREF="89.html">TransformsBlock.java</A></TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/20)</TD><TD CLASS="h">0%   (0/349)</TD><TD CLASS="h">0%   (0/82)</TD></TR><TR><TD><A HREF="8a.html">XSLMainTab.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/11)</TD><TD CLASS="h">0%   (0/328)</TD><TD CLASS="h">0%   (0/74)</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/110.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/110.html
deleted file mode 100644
index 172361c..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/110.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">Messages.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>Messages.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/8)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">Messages</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR><TD CLASS="f"><A HREF="#0">&lt;static initializer&gt;</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">Messages (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getString (String): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/16)</TD><TD CLASS="h">0%   (0/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.launching.config;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import java.util.MissingResourceException;</TD></TR><TR><TD CLASS="l">4</TD><TD>import java.util.ResourceBundle;</TD></TR><TR><TD CLASS="l">5</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="0">6</A></TD><TD>public class Messages {</TD></TR><TR><TD CLASS="l">7</TD><TD>        private static final String BUNDLE_NAME = &#34;org.eclipse.wst.xsl.launching.config.messages&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l"><A NAME="2">8</A></TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">9</TD><TD>        private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle</TD></TR><TR CLASS="z"><TD CLASS="l">10</TD><TD>                        .getBundle(BUNDLE_NAME);</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">12</TD><TD>        private Messages() {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">13</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>        public static String getString(String key) {</TD></TR><TR><TD CLASS="l">16</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">17</TD><TD>                        return RESOURCE_BUNDLE.getString(key);</TD></TR><TR CLASS="z"><TD CLASS="l">18</TD><TD>                } catch (MissingResourceException e) {</TD></TR><TR CLASS="z"><TD CLASS="l">19</TD><TD>                        return '!' + key + '!';</TD></TR><TR><TD CLASS="l">20</TD><TD>                }</TD></TR><TR><TD CLASS="l">21</TD><TD>        }</TD></TR><TR><TD CLASS="l">22</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/111.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/111.html
deleted file mode 100644
index b605737..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/111.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">LaunchPipeline.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>LaunchPipeline.java</TD><TD>100% (1/1)</TD><TD CLASS="h">44%  (4/9)</TD><TD CLASS="h">31%  (80/255)</TD><TD CLASS="h">34%  (19.4/57)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">LaunchPipeline</A></TD><TD>100% (1/1)</TD><TD CLASS="h">44%  (4/9)</TD><TD CLASS="h">31%  (80/255)</TD><TD CLASS="h">34%  (19.4/57)</TD></TR><TR><TD CLASS="f"><A HREF="#1">addOutputProperty (String, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getOutputProperties (): Properties</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">removeTransformDef (LaunchTransform): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">setTransformDefs (List): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#5">toXML (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/137)</TD><TD CLASS="h">0%   (0/26)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">fromXML (InputStream): LaunchPipeline</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">75%  (55/73)</TD><TD CLASS="h">73%  (12.4/17)</TD></TR><TR><TD CLASS="f"><A HREF="#0">LaunchPipeline (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (13/13)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">addTransformDef (LaunchTransform): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (3/3)</TD></TR><TR><TD CLASS="f"><A HREF="#9">getTransformDefs (): List</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.launching.config;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">19</TD><TD>import java.util.Properties;</TD></TR><TR><TD CLASS="l">20</TD><TD> </TD></TR><TR><TD CLASS="l">21</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">22</TD><TD>import javax.xml.transform.TransformerException;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.wst.xsl.internal.launching.LaunchingPlugin;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.w3c.dom.DOMException;</TD></TR><TR><TD CLASS="l"><A NAME="0">29</A></TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.w3c.dom.Element;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.w3c.dom.NodeList;</TD></TR><TR><TD CLASS="l">32</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>public class LaunchPipeline</TD></TR><TR><TD CLASS="l">34</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>        private List&lt;LaunchTransform&gt; transformDefs = new ArrayList&lt;LaunchTransform&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="2">36</A></TD><TD>        private final Properties outputProperties = new Properties();</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR><TD CLASS="l">38</TD><TD>        public Properties getOutputProperties()</TD></TR><TR><TD CLASS="l">39</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>                return outputProperties;</TD></TR><TR><TD CLASS="l"><A NAME="1">41</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">42</TD><TD> </TD></TR><TR><TD CLASS="l">43</TD><TD>        public void addOutputProperty(String name, String value)</TD></TR><TR><TD CLASS="l">44</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>                outputProperties.put(name, value);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="9">46</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">47</TD><TD> </TD></TR><TR><TD CLASS="l">48</TD><TD>        public List&lt;LaunchTransform&gt; getTransformDefs()</TD></TR><TR><TD CLASS="l">49</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                return transformDefs;</TD></TR><TR><TD CLASS="l"><A NAME="4">51</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">52</TD><TD> </TD></TR><TR><TD CLASS="l">53</TD><TD>        public void setTransformDefs(List&lt;LaunchTransform&gt; transforms)</TD></TR><TR><TD CLASS="l">54</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>                transformDefs = transforms;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="8">56</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>        public void addTransformDef(LaunchTransform tdef)</TD></TR><TR><TD CLASS="l">59</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>                tdef.setPipeline(this);</TD></TR><TR CLASS="c"><TD CLASS="l">61</TD><TD>                transformDefs.add(tdef);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">62</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">63</TD><TD> </TD></TR><TR><TD CLASS="l">64</TD><TD>        public void removeTransformDef(LaunchTransform tdef)</TD></TR><TR><TD CLASS="l">65</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>                transformDefs.remove(tdef);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="5">67</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">68</TD><TD> </TD></TR><TR><TD CLASS="l">69</TD><TD>        public String toXML() throws CoreException</TD></TR><TR><TD CLASS="l">70</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                String xml = null;</TD></TR><TR><TD CLASS="l">72</TD><TD>                try</TD></TR><TR><TD CLASS="l">73</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">74</TD><TD>                        Document doc = PreferenceUtil.getDocument();</TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>                        Element rootEl = doc.createElement(&#34;Pipeline&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>                        doc.appendChild(rootEl);</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">78</TD><TD>                        Element opEl = doc.createElement(&#34;OutputProperties&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">79</TD><TD>                        rootEl.appendChild(opEl);</TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>                        for (Object element : outputProperties.entrySet())</TD></TR><TR><TD CLASS="l">81</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">82</TD><TD>                                Map.Entry entry = (Map.Entry) element;</TD></TR><TR CLASS="z"><TD CLASS="l">83</TD><TD>                                Element propEl = doc.createElement(&#34;Property&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">84</TD><TD>                                propEl.setAttribute(&#34;name&#34;, (String) entry.getKey()); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">85</TD><TD>                                propEl.setAttribute(&#34;value&#34;, (String) entry.getValue()); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">86</TD><TD>                                opEl.appendChild(propEl);</TD></TR><TR><TD CLASS="l">87</TD><TD>                        }</TD></TR><TR><TD CLASS="l">88</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">89</TD><TD>                        for (Iterator&lt;LaunchTransform&gt; iter = transformDefs.iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">90</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">91</TD><TD>                                LaunchTransform tdef = (LaunchTransform) iter.next();</TD></TR><TR CLASS="z"><TD CLASS="l">92</TD><TD>                                Element tdefEl = tdef.asXML(doc);</TD></TR><TR CLASS="z"><TD CLASS="l">93</TD><TD>                                rootEl.appendChild(tdefEl);</TD></TR><TR><TD CLASS="l">94</TD><TD>                        }</TD></TR><TR><TD CLASS="l">95</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">96</TD><TD>                        xml = PreferenceUtil.serializeDocument(doc);</TD></TR><TR><TD CLASS="l">97</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">98</TD><TD>                catch (DOMException e)</TD></TR><TR><TD CLASS="l">99</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">100</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, LaunchingPlugin.PLUGIN_ID, 0, e.getMessage(), e));</TD></TR><TR><TD CLASS="l">101</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">102</TD><TD>                catch (ParserConfigurationException e)</TD></TR><TR><TD CLASS="l">103</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">104</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, LaunchingPlugin.PLUGIN_ID, 0, e.getMessage(), e));</TD></TR><TR><TD CLASS="l">105</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">106</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">107</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">108</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, LaunchingPlugin.PLUGIN_ID, 0, e.getMessage(), e));</TD></TR><TR><TD CLASS="l">109</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                catch (TransformerException e)</TD></TR><TR><TD CLASS="l">111</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, LaunchingPlugin.PLUGIN_ID, 0, e.getMessage(), e));</TD></TR><TR><TD CLASS="l">113</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                return xml;</TD></TR><TR><TD CLASS="l"><A NAME="6">115</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">116</TD><TD> </TD></TR><TR><TD CLASS="l">117</TD><TD>        public static LaunchPipeline fromXML(InputStream inputStream) throws CoreException</TD></TR><TR><TD CLASS="l">118</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">119</TD><TD>                Document doc = PreferenceUtil.getDocument(inputStream);</TD></TR><TR><TD CLASS="l">120</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">121</TD><TD>                LaunchPipeline pdef = new LaunchPipeline();</TD></TR><TR><TD CLASS="l">122</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">123</TD><TD>                Element rootEl = doc.getDocumentElement();</TD></TR><TR><TD CLASS="l">124</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">125</TD><TD>                Element opEl = (Element) rootEl.getElementsByTagName(&#34;OutputProperties&#34;).item(0); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">126</TD><TD>                if (opEl != null)</TD></TR><TR><TD CLASS="l">127</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">128</TD><TD>                        NodeList propEls = opEl.getElementsByTagName(&#34;Property&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="p"><TD TITLE="38% line coverage (11 out of 29 instructions)" CLASS="l">129</TD><TD TITLE="38% line coverage (11 out of 29 instructions)">                        for (int i = 0; i &lt; propEls.getLength(); i++)</TD></TR><TR><TD CLASS="l">130</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">131</TD><TD>                                Element propEl = (Element) propEls.item(i);</TD></TR><TR CLASS="z"><TD CLASS="l">132</TD><TD>                                String name = propEl.getAttribute(&#34;name&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">133</TD><TD>                                String value = propEl.getAttribute(&#34;value&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">134</TD><TD>                                pdef.addOutputProperty(name, value);</TD></TR><TR><TD CLASS="l">135</TD><TD>                        }</TD></TR><TR><TD CLASS="l">136</TD><TD>                }</TD></TR><TR><TD CLASS="l">137</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">138</TD><TD>                NodeList transformEls = rootEl.getElementsByTagName(&#34;Transform&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">139</TD><TD>                for (int i = 0; i &lt; transformEls.getLength(); i++)</TD></TR><TR><TD CLASS="l">140</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">141</TD><TD>                        Element transformEl = (Element) transformEls.item(i);</TD></TR><TR CLASS="c"><TD CLASS="l">142</TD><TD>                        LaunchTransform tdef = LaunchTransform.fromXML(transformEl);</TD></TR><TR CLASS="c"><TD CLASS="l">143</TD><TD>                        pdef.addTransformDef(tdef);</TD></TR><TR><TD CLASS="l">144</TD><TD>                }</TD></TR><TR><TD CLASS="l">145</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">146</TD><TD>                return pdef;</TD></TR><TR><TD CLASS="l">147</TD><TD>        }</TD></TR><TR><TD CLASS="l">148</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/112.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/112.html
deleted file mode 100644
index d72ee8c..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/112.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">LaunchTransform.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>LaunchTransform.java</TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (8/12)</TD><TD CLASS="h">48%  (100/207)</TD><TD CLASS="h">52%  (27.6/53)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">LaunchTransform</A></TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (8/12)</TD><TD CLASS="h">48%  (100/207)</TD><TD CLASS="h">52%  (27.6/53)</TD></TR><TR><TD CLASS="f"><A HREF="#1">addParameter (LaunchAttribute): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">asXML (Document): Element</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/62)</TD><TD CLASS="h">0%   (0/14)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getPathType (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getPipeline (): LaunchPipeline</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">fromXML (Element): LaunchTransform</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">61%  (41/67)</TD><TD CLASS="h">61%  (8.6/14)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">getLocation (): IPath</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">76%  (22/29)</TD><TD CLASS="h">75%  (6/8)</TD></TR><TR><TD CLASS="f"><A HREF="#0">LaunchTransform (String, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (14/14)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">getParameters (): Set</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#9">getPath (): IPath</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">getResolver (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#b">setPipeline (LaunchPipeline): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">setResolver (String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (2/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.launching.config;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.util.HashSet;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.Set;</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.core.resources.ResourcesPlugin;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.runtime.IPath;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.core.variables.VariablesPlugin;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.w3c.dom.Element;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.w3c.dom.NodeList;</TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR><TD CLASS="l">27</TD><TD>public class LaunchTransform</TD></TR><TR><TD CLASS="l">28</TD><TD>{</TD></TR><TR><TD CLASS="l">29</TD><TD>        public static final String RESOURCE_TYPE = &#34;resource&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">30</TD><TD>        public static final String EXTERNAL_TYPE = &#34;external&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">31</TD><TD> </TD></TR><TR><TD CLASS="l">32</TD><TD>        private final String stylesheet;</TD></TR><TR><TD CLASS="l">33</TD><TD>        private final String pathType;</TD></TR><TR><TD CLASS="l">34</TD><TD>        private String resolver;</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>        private final Set&lt;LaunchAttribute&gt; parameters = new HashSet&lt;LaunchAttribute&gt;();</TD></TR><TR><TD CLASS="l">36</TD><TD>        private LaunchPipeline pipeline;</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR><TD CLASS="l">38</TD><TD>        /**</TD></TR><TR><TD CLASS="l">39</TD><TD>         * The path may be an IResource to a file in the workspace, or an IPath to a</TD></TR><TR><TD CLASS="l">40</TD><TD>         * file outside of the workspace - depending on the pathType. The path</TD></TR><TR><TD CLASS="l">41</TD><TD>         * should be created using IPath.toPortableString(). The path may also</TD></TR><TR><TD CLASS="l">42</TD><TD>         * contain variables defined by the VariablePlugin.</TD></TR><TR><TD CLASS="l"><A NAME="0">43</A></TD><TD>         * </TD></TR><TR><TD CLASS="l">44</TD><TD>         * @param path</TD></TR><TR><TD CLASS="l">45</TD><TD>         * @param pathType</TD></TR><TR><TD CLASS="l">46</TD><TD>         */</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>        public LaunchTransform(String path, String pathType)</TD></TR><TR><TD CLASS="l">48</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">49</TD><TD>                stylesheet = path;</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                this.pathType = pathType;</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="8">51</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">52</TD><TD> </TD></TR><TR><TD CLASS="l">53</TD><TD>        public Set&lt;LaunchAttribute&gt; getParameters()</TD></TR><TR><TD CLASS="l">54</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                return parameters;</TD></TR><TR><TD CLASS="l"><A NAME="1">56</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">57</TD><TD>        </TD></TR><TR><TD CLASS="l">58</TD><TD>        public void addParameter(LaunchAttribute parameter)</TD></TR><TR><TD CLASS="l">59</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                parameters.add(parameter);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="a">61</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">62</TD><TD> </TD></TR><TR><TD CLASS="l">63</TD><TD>        public String getResolver()</TD></TR><TR><TD CLASS="l">64</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                return resolver;</TD></TR><TR><TD CLASS="l"><A NAME="c">66</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">67</TD><TD> </TD></TR><TR><TD CLASS="l">68</TD><TD>        public void setResolver(String resolver)</TD></TR><TR><TD CLASS="l">69</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                this.resolver = resolver;</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="9">71</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR><TD CLASS="l">73</TD><TD>        public IPath getPath() throws CoreException</TD></TR><TR><TD CLASS="l">74</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                String substitutedValue = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(stylesheet);</TD></TR><TR CLASS="c"><TD CLASS="l">76</TD><TD>                return Path.fromPortableString(substitutedValue);</TD></TR><TR><TD CLASS="l"><A NAME="3">77</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">78</TD><TD> </TD></TR><TR><TD CLASS="l">79</TD><TD>        public String getPathType()</TD></TR><TR><TD CLASS="l">80</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">81</TD><TD>                return pathType;</TD></TR><TR><TD CLASS="l">82</TD><TD>        }</TD></TR><TR><TD CLASS="l">83</TD><TD> </TD></TR><TR><TD CLASS="l">84</TD><TD>        /**</TD></TR><TR><TD CLASS="l">85</TD><TD>         * The full path to the file in the local file system (with any string</TD></TR><TR><TD CLASS="l">86</TD><TD>         * subsitutions already made).</TD></TR><TR><TD CLASS="l">87</TD><TD>         * </TD></TR><TR><TD CLASS="l">88</TD><TD>         * @return</TD></TR><TR><TD CLASS="l"><A NAME="6">89</A></TD><TD>         * @throws CoreException</TD></TR><TR><TD CLASS="l">90</TD><TD>         */</TD></TR><TR><TD CLASS="l">91</TD><TD>        public IPath getLocation() throws CoreException</TD></TR><TR><TD CLASS="l">92</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                IPath partialPath = getPath();</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                IPath fullPath = null;</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                if (RESOURCE_TYPE.equals(pathType))</TD></TR><TR><TD CLASS="l">96</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">97</TD><TD>                        IFile file = (IFile) ResourcesPlugin.getWorkspace().getRoot().findMember(partialPath);</TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                        fullPath = file.getLocation();</TD></TR><TR><TD CLASS="l">99</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">100</TD><TD>                else if (EXTERNAL_TYPE.equals(pathType))</TD></TR><TR><TD CLASS="l">101</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">102</TD><TD>                        fullPath = partialPath;</TD></TR><TR><TD CLASS="l">103</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">104</TD><TD>                return fullPath;</TD></TR><TR><TD CLASS="l"><A NAME="2">105</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">106</TD><TD> </TD></TR><TR><TD CLASS="l">107</TD><TD>        public Element asXML(Document doc)</TD></TR><TR><TD CLASS="l">108</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">109</TD><TD>                Element tdefEl = doc.createElement(&#34;Transform&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                tdefEl.setAttribute(&#34;path&#34;, stylesheet); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">111</TD><TD>                tdefEl.setAttribute(&#34;pathType&#34;, pathType); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>                if (resolver != null)</TD></TR><TR CLASS="z"><TD CLASS="l">113</TD><TD>                        tdefEl.setAttribute(&#34;uriResolver&#34;, resolver); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                Element paramsEl = doc.createElement(&#34;Parameters&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">115</TD><TD>                tdefEl.appendChild(paramsEl);</TD></TR><TR CLASS="z"><TD CLASS="l">116</TD><TD>                for (Iterator&lt;LaunchAttribute&gt; iter = parameters.iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">117</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">118</TD><TD>                        LaunchAttribute param = (LaunchAttribute) iter.next();</TD></TR><TR CLASS="z"><TD CLASS="l">119</TD><TD>                        Element propEl = doc.createElement(&#34;Parameter&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">120</TD><TD>                        propEl.setAttribute(&#34;name&#34;, param.uri); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">121</TD><TD>                        propEl.setAttribute(&#34;value&#34;, param.value); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">122</TD><TD>                        paramsEl.appendChild(propEl);</TD></TR><TR><TD CLASS="l">123</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">124</TD><TD>                return tdefEl;</TD></TR><TR><TD CLASS="l"><A NAME="5">125</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">126</TD><TD> </TD></TR><TR><TD CLASS="l">127</TD><TD>        public static LaunchTransform fromXML(Element transformEl)</TD></TR><TR><TD CLASS="l">128</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">129</TD><TD>                String path = transformEl.getAttribute(&#34;path&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">130</TD><TD>                String pathType = transformEl.getAttribute(&#34;pathType&#34;); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">131</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">132</TD><TD>                LaunchTransform tdef = new LaunchTransform(path, pathType);</TD></TR><TR><TD CLASS="l">133</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">134</TD><TD>                String uriResolver = transformEl.getAttribute(&#34;uriResolver&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">135</TD><TD>                tdef.setResolver(uriResolver);</TD></TR><TR><TD CLASS="l">136</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">137</TD><TD>                Element paramsEl = (Element) transformEl.getElementsByTagName(&#34;Parameters&#34;).item(0); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">138</TD><TD>                NodeList paramEls = paramsEl.getElementsByTagName(&#34;Parameter&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="p"><TD TITLE="60% line coverage (39 out of 65 instructions)" CLASS="l">139</TD><TD TITLE="60% line coverage (39 out of 65 instructions)">                for (int i = 0; i &lt; paramEls.getLength(); i++)</TD></TR><TR><TD CLASS="l">140</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">141</TD><TD>                        Element paramEl = (Element) paramEls.item(i);</TD></TR><TR CLASS="z"><TD CLASS="l">142</TD><TD>                        String name = paramEl.getAttribute(&#34;name&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">143</TD><TD>                        String type = paramEl.getAttribute(&#34;type&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                        String value = paramEl.getAttribute(&#34;value&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                        tdef.addParameter(new LaunchAttribute(name, type, value));</TD></TR><TR><TD CLASS="l">146</TD><TD>                }</TD></TR><TR><TD CLASS="l">147</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">148</TD><TD>                return tdef;</TD></TR><TR><TD CLASS="l"><A NAME="b">149</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">150</TD><TD> </TD></TR><TR><TD CLASS="l">151</TD><TD>        public void setPipeline(LaunchPipeline pipeline)</TD></TR><TR><TD CLASS="l">152</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">153</TD><TD>                this.pipeline = pipeline;</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="4">154</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">155</TD><TD> </TD></TR><TR><TD CLASS="l">156</TD><TD>        public LaunchPipeline getPipeline()</TD></TR><TR><TD CLASS="l">157</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">158</TD><TD>                return pipeline;</TD></TR><TR><TD CLASS="l">159</TD><TD>        }</TD></TR><TR><TD CLASS="l">160</TD><TD> </TD></TR><TR><TD CLASS="l">161</TD><TD>        /*</TD></TR><TR><TD CLASS="l">162</TD><TD>         * private File getURIResolverDirectory(ILaunchConfiguration configuration)</TD></TR><TR><TD CLASS="l">163</TD><TD>         * throws CoreException { File resolverDir = null; String baseURIType =</TD></TR><TR><TD CLASS="l">164</TD><TD>         * configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_BASE_URI_TYPE,</TD></TR><TR><TD CLASS="l">165</TD><TD>         * XSLLaunchConfigurationConstants.BASE_URI_WORKING_DIR_RELATIVE); if</TD></TR><TR><TD CLASS="l">166</TD><TD>         * (XSLLaunchConfigurationConstants.BASE_URI_ABSOLUTE.equals(baseURIType)) {</TD></TR><TR><TD CLASS="l">167</TD><TD>         * String uriDir =</TD></TR><TR><TD CLASS="l">168</TD><TD>         * configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_BASE_URI_DIRECTORY,</TD></TR><TR><TD CLASS="l">169</TD><TD>         * (String)null); if (uriDir!=null) { String pathExpr =</TD></TR><TR><TD CLASS="l">170</TD><TD>         * VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(uriDir);</TD></TR><TR><TD CLASS="l">171</TD><TD>         * Path path = new Path(pathExpr); if (path.isAbsolute()) { File dir = new</TD></TR><TR><TD CLASS="l">172</TD><TD>         * File(path.toOSString()); if (dir.isDirectory() &amp;&amp; dir.exists()) { return</TD></TR><TR><TD CLASS="l">173</TD><TD>         * dir; } // This may be a workspace relative path returned by a variable. //</TD></TR><TR><TD CLASS="l">174</TD><TD>         * However variable paths start with a slash and thus are thought to // be</TD></TR><TR><TD CLASS="l">175</TD><TD>         * absolute, so fall through to below } IResource res =</TD></TR><TR><TD CLASS="l">176</TD><TD>         * ResourcesPlugin.getWorkspace().getRoot().findMember(path); if (res</TD></TR><TR><TD CLASS="l">177</TD><TD>         * instanceof IContainer &amp;&amp; res.exists()) return res.getLocation().toFile();</TD></TR><TR><TD CLASS="l">178</TD><TD>         * abort(&#34;URI path is invalid&#34;,null,0); } } else if</TD></TR><TR><TD CLASS="l">179</TD><TD>         * (XSLLaunchConfigurationConstants.BASE_URI_STYLESHEET_RELATIVE.equals(baseURIType)) {</TD></TR><TR><TD CLASS="l">180</TD><TD>         * resolverDir = getStylesheetRelativeURIResolver(configuration); } // no</TD></TR><TR><TD CLASS="l">181</TD><TD>         * need to handle the case of working_dir relative - this is the default for</TD></TR><TR><TD CLASS="l">182</TD><TD>         * JAXP so return null return resolverDir; }</TD></TR><TR><TD CLASS="l">183</TD><TD>         * </TD></TR><TR><TD CLASS="l">184</TD><TD>         * private File getStylesheetRelativeURIResolver(ILaunchConfiguration</TD></TR><TR><TD CLASS="l">185</TD><TD>         * configuration) throws CoreException { List stylesheets =</TD></TR><TR><TD CLASS="l">186</TD><TD>         * configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_STYLESHEETS_LIST,(List)null);</TD></TR><TR><TD CLASS="l">187</TD><TD>         * if (stylesheets == null || stylesheets.size() == 0) abort(&#34;No stylesheets</TD></TR><TR><TD CLASS="l">188</TD><TD>         * defined for this launch configuration&#34;, null, 0); else { String sheet =</TD></TR><TR><TD CLASS="l">189</TD><TD>         * (String)stylesheets.get(0); String pathExpr =</TD></TR><TR><TD CLASS="l">190</TD><TD>         * VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(sheet);</TD></TR><TR><TD CLASS="l">191</TD><TD>         * Path path = new Path(pathExpr); if (path.isAbsolute()) { File file = new</TD></TR><TR><TD CLASS="l">192</TD><TD>         * File(path.toOSString()); if (file.exists()) { File dir =</TD></TR><TR><TD CLASS="l">193</TD><TD>         * file.getParentFile(); return dir; } // This may be a workspace relative</TD></TR><TR><TD CLASS="l">194</TD><TD>         * path returned by a variable. // However variable paths start with a slash</TD></TR><TR><TD CLASS="l">195</TD><TD>         * and thus are thought to // be absolute IResource res =</TD></TR><TR><TD CLASS="l">196</TD><TD>         * ResourcesPlugin.getWorkspace().getRoot().findMember(path); IContainer</TD></TR><TR><TD CLASS="l">197</TD><TD>         * parent = res.getParent(); if (parent.exists()) return</TD></TR><TR><TD CLASS="l">198</TD><TD>         * parent.getLocation().toFile(); abort(&#34;Stylesheet path is</TD></TR><TR><TD CLASS="l">199</TD><TD>         * invalid&#34;,null,0); } else { IResource res =</TD></TR><TR><TD CLASS="l">200</TD><TD>         * ResourcesPlugin.getWorkspace().getRoot().findMember(path); IContainer</TD></TR><TR><TD CLASS="l">201</TD><TD>         * parent = res.getParent(); if (parent.exists()) return</TD></TR><TR><TD CLASS="l">202</TD><TD>         * parent.getLocation().toFile(); abort(&#34;Stylesheet path is</TD></TR><TR><TD CLASS="l">203</TD><TD>         * invalid&#34;,null,0); } } return null; }</TD></TR><TR><TD CLASS="l">204</TD><TD>         */</TD></TR><TR><TD CLASS="l">205</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/113.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/113.html
deleted file mode 100644
index 0ab669a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/113.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">PreferenceUtil.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>PreferenceUtil.java</TD><TD>100% (1/1)</TD><TD CLASS="h">57%  (4/7)</TD><TD CLASS="h">52%  (113/218)</TD><TD CLASS="h">55%  (29.1/53)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">PreferenceUtil</A></TD><TD>100% (1/1)</TD><TD CLASS="h">57%  (4/7)</TD><TD CLASS="h">52%  (113/218)</TD><TD CLASS="h">55%  (29.1/53)</TD></TR><TR><TD CLASS="f"><A HREF="#0">PreferenceUtil (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">createCoreException (Throwable): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/13)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getNodeText (Node): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/37)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getDocument (InputStream): Document</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">31%  (23/75)</TD><TD CLASS="h">28%  (5.1/18)</TD></TR><TR><TD CLASS="f"><A HREF="#5">getChildElements (Element, String): Element []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (45/45)</TD><TD>100% (11/11)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">getDocument (): Document</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (10/10)</TD><TD>100% (4/4)</TD></TR><TR><TD CLASS="f"><A HREF="#7">serializeDocument (Document): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (35/35)</TD><TD>100% (9/9)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.launching.config;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.ByteArrayOutputStream;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR><TD CLASS="l">19</TD><TD>import javax.xml.parsers.DocumentBuilder;</TD></TR><TR><TD CLASS="l">20</TD><TD>import javax.xml.parsers.DocumentBuilderFactory;</TD></TR><TR><TD CLASS="l">21</TD><TD>import javax.xml.parsers.FactoryConfigurationError;</TD></TR><TR><TD CLASS="l">22</TD><TD>import javax.xml.parsers.ParserConfigurationException;</TD></TR><TR><TD CLASS="l">23</TD><TD>import javax.xml.transform.OutputKeys;</TD></TR><TR><TD CLASS="l">24</TD><TD>import javax.xml.transform.Transformer;</TD></TR><TR><TD CLASS="l">25</TD><TD>import javax.xml.transform.TransformerException;</TD></TR><TR><TD CLASS="l">26</TD><TD>import javax.xml.transform.TransformerFactory;</TD></TR><TR><TD CLASS="l">27</TD><TD>import javax.xml.transform.dom.DOMSource;</TD></TR><TR><TD CLASS="l">28</TD><TD>import javax.xml.transform.stream.StreamResult;</TD></TR><TR><TD CLASS="l">29</TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.xsl.internal.launching.LaunchingPlugin;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.w3c.dom.Document;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.w3c.dom.Element;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.w3c.dom.Node;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.w3c.dom.NodeList;</TD></TR><TR><TD CLASS="l">38</TD><TD>import org.xml.sax.InputSource;</TD></TR><TR><TD CLASS="l">39</TD><TD>import org.xml.sax.SAXException;</TD></TR><TR><TD CLASS="l">40</TD><TD>import org.xml.sax.helpers.DefaultHandler;</TD></TR><TR><TD CLASS="l"><A NAME="0">41</A></TD><TD> </TD></TR><TR><TD CLASS="l">42</TD><TD>/**</TD></TR><TR><TD CLASS="l">43</TD><TD> * @since 1.0</TD></TR><TR><TD CLASS="l">44</TD><TD> */</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>public class PreferenceUtil</TD></TR><TR><TD CLASS="l"><A NAME="2">46</A></TD><TD>{</TD></TR><TR><TD CLASS="l">47</TD><TD> </TD></TR><TR><TD CLASS="l">48</TD><TD>        public static void createCoreException(Throwable e) throws CoreException</TD></TR><TR><TD CLASS="l">49</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">50</TD><TD>                throw new CoreException(new Status(IStatus.ERROR, LaunchingPlugin.PLUGIN_ID, 0, e.getMessage(), e));</TD></TR><TR><TD CLASS="l"><A NAME="6">51</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">52</TD><TD> </TD></TR><TR><TD CLASS="l">53</TD><TD>        public static Document getDocument() throws ParserConfigurationException</TD></TR><TR><TD CLASS="l">54</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>                DocumentBuilder docBuilder = dfactory.newDocumentBuilder();</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                Document doc = docBuilder.newDocument();</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                return doc;</TD></TR><TR><TD CLASS="l"><A NAME="7">59</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">60</TD><TD> </TD></TR><TR><TD CLASS="l">61</TD><TD>        public static String serializeDocument(Document doc) throws IOException, TransformerException</TD></TR><TR><TD CLASS="l">62</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                ByteArrayOutputStream s = new ByteArrayOutputStream();</TD></TR><TR><TD CLASS="l">64</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                TransformerFactory factory = TransformerFactory.newInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">66</TD><TD>                Transformer transformer = factory.newTransformer();</TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                transformer.setOutputProperty(OutputKeys.METHOD, &#34;xml&#34;);  //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>                transformer.setOutputProperty(OutputKeys.INDENT, &#34;yes&#34;);  //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">69</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                DOMSource source = new DOMSource(doc);</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                StreamResult outputTarget = new StreamResult(s);</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                transformer.transform(source, outputTarget);</TD></TR><TR><TD CLASS="l">73</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">74</TD><TD>                return s.toString(&#34;UTF8&#34;);                          //$NON-NLS-1$</TD></TR><TR><TD CLASS="l"><A NAME="5">75</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">76</TD><TD> </TD></TR><TR><TD CLASS="l">77</TD><TD>        public static Element[] getChildElements(Element parent, String name)</TD></TR><TR><TD CLASS="l">78</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                List&lt;Element&gt; children = new ArrayList&lt;Element&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                NodeList list = parent.getChildNodes();</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                int length = list.getLength();</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                for (int i = 0; i &lt; length; ++i)</TD></TR><TR><TD CLASS="l">83</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">84</TD><TD>                        Node node = list.item(i);</TD></TR><TR CLASS="c"><TD CLASS="l">85</TD><TD>                        short type = node.getNodeType();</TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                        if (type == Node.ELEMENT_NODE)</TD></TR><TR><TD CLASS="l">87</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                                Element processorElement = (Element) node;</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                                if (processorElement.getNodeName().equals(name))</TD></TR><TR><TD CLASS="l">90</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>                                        children.add(processorElement);</TD></TR><TR><TD CLASS="l">92</TD><TD>                                }</TD></TR><TR><TD CLASS="l">93</TD><TD>                        }</TD></TR><TR><TD CLASS="l">94</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                return (Element[]) children.toArray(new Element[0]);</TD></TR><TR><TD CLASS="l"><A NAME="3">96</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">97</TD><TD> </TD></TR><TR><TD CLASS="l">98</TD><TD>        public static String getNodeText(Node node)</TD></TR><TR><TD CLASS="l">99</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">100</TD><TD>                switch (node.getNodeType())</TD></TR><TR><TD CLASS="l">101</TD><TD>                {</TD></TR><TR><TD CLASS="l">102</TD><TD>                        case Node.ELEMENT_NODE:</TD></TR><TR CLASS="z"><TD CLASS="l">103</TD><TD>                                NodeList childNodes = node.getChildNodes();</TD></TR><TR CLASS="z"><TD CLASS="l">104</TD><TD>                                StringBuffer sb = new StringBuffer();</TD></TR><TR CLASS="z"><TD CLASS="l">105</TD><TD>                                for (int i = 0; i &lt; childNodes.getLength(); i++)</TD></TR><TR><TD CLASS="l">106</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">107</TD><TD>                                        Node child = childNodes.item(i);</TD></TR><TR CLASS="z"><TD CLASS="l">108</TD><TD>                                        if (child.getNodeType() == Node.TEXT_NODE)</TD></TR><TR><TD CLASS="l">109</TD><TD>                                        {</TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                                                sb.append(child.getNodeValue());</TD></TR><TR><TD CLASS="l">111</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">112</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">113</TD><TD>                                return sb.toString();</TD></TR><TR><TD CLASS="l">114</TD><TD>                        case Node.TEXT_NODE:</TD></TR><TR><TD CLASS="l">115</TD><TD>                        case Node.ATTRIBUTE_NODE:</TD></TR><TR><TD CLASS="l">116</TD><TD>                        default:</TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>                                return node.getNodeValue();</TD></TR><TR><TD CLASS="l">118</TD><TD>                }</TD></TR><TR><TD CLASS="l"><A NAME="4">119</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">120</TD><TD> </TD></TR><TR><TD CLASS="l">121</TD><TD>        public static Document getDocument(InputStream stream) throws CoreException</TD></TR><TR><TD CLASS="l">122</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">123</TD><TD>                Document doc = null;</TD></TR><TR><TD CLASS="l">124</TD><TD>                try</TD></TR><TR><TD CLASS="l">125</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">126</TD><TD>                        DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();</TD></TR><TR CLASS="c"><TD CLASS="l">127</TD><TD>                        parser.setErrorHandler(new DefaultHandler());</TD></TR><TR CLASS="c"><TD CLASS="l">128</TD><TD>                        doc = parser.parse(new InputSource(stream));</TD></TR><TR><TD CLASS="l">129</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                catch (SAXException e)</TD></TR><TR><TD CLASS="l">131</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">132</TD><TD>                        PreferenceUtil.createCoreException(e);</TD></TR><TR><TD CLASS="l">133</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">134</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">135</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">136</TD><TD>                        PreferenceUtil.createCoreException(e);</TD></TR><TR><TD CLASS="l">137</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">138</TD><TD>                catch (ParserConfigurationException e)</TD></TR><TR><TD CLASS="l">139</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">140</TD><TD>                        PreferenceUtil.createCoreException(e);</TD></TR><TR><TD CLASS="l">141</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">142</TD><TD>                catch (FactoryConfigurationError e)</TD></TR><TR><TD CLASS="l">143</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                        PreferenceUtil.createCoreException(e);</TD></TR><TR><TD CLASS="l">145</TD><TD>                }</TD></TR><TR><TD CLASS="l">146</TD><TD>                finally</TD></TR><TR CLASS="z"><TD CLASS="l">147</TD><TD>                {</TD></TR><TR><TD CLASS="l">148</TD><TD>                        try</TD></TR><TR><TD CLASS="l">149</TD><TD>                        {</TD></TR><TR CLASS="p"><TD TITLE="10% line coverage (3 out of 31 instructions)" CLASS="l">150</TD><TD TITLE="10% line coverage (3 out of 31 instructions)">                                stream.close();</TD></TR><TR><TD CLASS="l">151</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                        catch (IOException e)</TD></TR><TR><TD CLASS="l">153</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">154</TD><TD>                                PreferenceUtil.createCoreException(e);</TD></TR><TR><TD CLASS="l">155</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">156</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">157</TD><TD>                return doc;</TD></TR><TR><TD CLASS="l">158</TD><TD>        }</TD></TR><TR><TD CLASS="l">159</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/114.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/114.html
deleted file mode 100644
index 5f7dfa6..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/114.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">BaseLaunchHelper.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>BaseLaunchHelper.java</TD><TD>100% (1/1)</TD><TD>81%  (13/16)</TD><TD CLASS="h">75%  (175/234)</TD><TD CLASS="h">76%  (47.9/63)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">BaseLaunchHelper</A></TD><TD>100% (1/1)</TD><TD>81%  (13/16)</TD><TD CLASS="h">75%  (175/234)</TD><TD CLASS="h">76%  (47.9/63)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getFormatFileOnCompletion (): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getOpenFileOnCompletion (): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getPipeline (): LaunchPipeline</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">findFreePort (): int</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">38%  (17/45)</TD><TD CLASS="h">33%  (3.9/12)</TD></TR><TR><TD CLASS="f"><A HREF="#5">pathToURL (IPath): URL</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">39%  (9/23)</TD><TD CLASS="h">60%  (3/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">hydrateOutputFile (ILaunchConfiguration): File</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>82%  (28/34)</TD><TD>88%  (7/8)</TD></TR><TR><TD CLASS="f"><A HREF="#7">getSubstitutedPath (String): IPath</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>86%  (12/14)</TD><TD CLASS="h">75%  (3/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">BaseLaunchHelper (ILaunchConfiguration): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (36/36)</TD><TD>100% (10/10)</TD></TR><TR><TD CLASS="f"><A HREF="#9">getEventPort (): int</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (10/10)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">getGeneratePort (): int</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (10/10)</TD><TD>100% (3/3)</TD></TR><TR><TD CLASS="f"><A HREF="#b">getRequestPort (): int</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (10/10)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">getSource (): URL</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#d">getTarget (): File</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#e">hydratePipeline (ILaunchConfiguration): LaunchPipeline</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (23/23)</TD><TD>100% (6/6)</TD></TR><TR><TD CLASS="f"><A HREF="#f">hydrateSourceFile (ILaunchConfiguration): IPath</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#10">hydrateSourceFileURL (ILaunchConfiguration): URL</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (2/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.launching.config;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.ByteArrayInputStream;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.File;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.net.MalformedURLException;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.net.ServerSocket;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.IPath;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.variables.VariablesPlugin;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.debug.core.ILaunchConfiguration;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.wst.xsl.internal.launching.LaunchingPlugin;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.wst.xsl.launching.XSLLaunchConfigurationConstants;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.wst.xsl.launching.XSLTRuntime;</TD></TR><TR><TD CLASS="l">30</TD><TD> </TD></TR><TR><TD CLASS="l">31</TD><TD>/**</TD></TR><TR><TD CLASS="l">32</TD><TD> * @since 1.0</TD></TR><TR><TD CLASS="l">33</TD><TD> */</TD></TR><TR><TD CLASS="l">34</TD><TD>public class BaseLaunchHelper</TD></TR><TR><TD CLASS="l">35</TD><TD>{</TD></TR><TR><TD CLASS="l">36</TD><TD>        private final URL source;</TD></TR><TR><TD CLASS="l">37</TD><TD>        private final File target;</TD></TR><TR><TD CLASS="l">38</TD><TD>        protected final LaunchPipeline pipeline;</TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>        private int requestPort = -1;</TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>        private int eventPort = -1;</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="0">41</A></TD><TD>        private int generatePort = -1;</TD></TR><TR><TD CLASS="l">42</TD><TD>        private final boolean openFileOnCompletion;</TD></TR><TR><TD CLASS="l">43</TD><TD>        private final boolean formatFileOnCompletion;</TD></TR><TR><TD CLASS="l">44</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>        public BaseLaunchHelper(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">46</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>                source = hydrateSourceFileURL(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>                target = hydrateOutputFile(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">49</TD><TD>                pipeline = hydratePipeline(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                openFileOnCompletion = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_OPEN_FILE, true);</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                formatFileOnCompletion = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_FORMAT_FILE, false);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="b">52</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR><TD CLASS="l">54</TD><TD>        public int getRequestPort()</TD></TR><TR><TD CLASS="l">55</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>                if (requestPort == -1)</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                        requestPort = findFreePort();</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                return requestPort;</TD></TR><TR><TD CLASS="l"><A NAME="9">59</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">60</TD><TD> </TD></TR><TR><TD CLASS="l">61</TD><TD>        public int getEventPort()</TD></TR><TR><TD CLASS="l">62</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                if (eventPort == -1)</TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                        eventPort = findFreePort();</TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                return eventPort;</TD></TR><TR><TD CLASS="l"><A NAME="a">66</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">67</TD><TD> </TD></TR><TR><TD CLASS="l">68</TD><TD>        public int getGeneratePort()</TD></TR><TR><TD CLASS="l">69</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                if (generatePort == -1)</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                        generatePort = findFreePort();</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                return generatePort;</TD></TR><TR><TD CLASS="l"><A NAME="3">73</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">74</TD><TD> </TD></TR><TR><TD CLASS="l">75</TD><TD>        public LaunchPipeline getPipeline()</TD></TR><TR><TD CLASS="l">76</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">77</TD><TD>                return pipeline;</TD></TR><TR><TD CLASS="l"><A NAME="c">78</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">79</TD><TD> </TD></TR><TR><TD CLASS="l">80</TD><TD>        public URL getSource()</TD></TR><TR><TD CLASS="l">81</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                return source;</TD></TR><TR><TD CLASS="l"><A NAME="d">83</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">84</TD><TD> </TD></TR><TR><TD CLASS="l">85</TD><TD>        public File getTarget()</TD></TR><TR><TD CLASS="l">86</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                return target;</TD></TR><TR><TD CLASS="l"><A NAME="e">88</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">89</TD><TD> </TD></TR><TR><TD CLASS="l">90</TD><TD>        private static LaunchPipeline hydratePipeline(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">91</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                LaunchPipeline pipeline = null;</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                String s = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_PIPELINE, (String) null);</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                if (s != null &amp;&amp; s.length() &gt; 0)</TD></TR><TR><TD CLASS="l">95</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                        ByteArrayInputStream inputStream = new ByteArrayInputStream(s.getBytes());</TD></TR><TR CLASS="c"><TD CLASS="l">97</TD><TD>                        pipeline = LaunchPipeline.fromXML(inputStream);</TD></TR><TR><TD CLASS="l">98</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">99</TD><TD>                return pipeline;</TD></TR><TR><TD CLASS="l"><A NAME="10">100</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">101</TD><TD> </TD></TR><TR><TD CLASS="l">102</TD><TD>        public static URL hydrateSourceFileURL(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">103</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">104</TD><TD>                IPath sourceFile = hydrateSourceFile(configuration);</TD></TR><TR CLASS="c"><TD CLASS="l">105</TD><TD>                return pathToURL(sourceFile);</TD></TR><TR><TD CLASS="l"><A NAME="f">106</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">107</TD><TD>        </TD></TR><TR><TD CLASS="l">108</TD><TD>        private static IPath hydrateSourceFile(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">109</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">110</TD><TD>                String sourceFileExpr = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_INPUT_FILE, (String) null);</TD></TR><TR CLASS="c"><TD CLASS="l">111</TD><TD>                return getSubstitutedPath(sourceFileExpr);</TD></TR><TR><TD CLASS="l"><A NAME="5">112</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">113</TD><TD> </TD></TR><TR><TD CLASS="l">114</TD><TD>        protected static URL pathToURL(IPath sourceFile) throws CoreException</TD></TR><TR><TD CLASS="l">115</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">116</TD><TD>                URL url = null;</TD></TR><TR><TD CLASS="l">117</TD><TD>                try</TD></TR><TR><TD CLASS="l">118</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">119</TD><TD>                        url = sourceFile.toFile().toURL();</TD></TR><TR><TD CLASS="l">120</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">121</TD><TD>                catch (MalformedURLException e)</TD></TR><TR><TD CLASS="l">122</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">123</TD><TD>                        throw new CoreException(new Status(IStatus.ERROR, LaunchingPlugin.PLUGIN_ID, IStatus.ERROR, sourceFile.toString(), e));</TD></TR><TR><TD CLASS="l">124</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">125</TD><TD>                return url;</TD></TR><TR><TD CLASS="l"><A NAME="6">126</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">127</TD><TD> </TD></TR><TR><TD CLASS="l">128</TD><TD>        public static File hydrateOutputFile(ILaunchConfiguration configuration) throws CoreException</TD></TR><TR><TD CLASS="l">129</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">130</TD><TD>                IPath outputFile = null;</TD></TR><TR CLASS="c"><TD CLASS="l">131</TD><TD>                boolean useDefaultOutputFile = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_USE_DEFAULT_OUTPUT_FILE, true);</TD></TR><TR CLASS="c"><TD CLASS="l">132</TD><TD>                if (!useDefaultOutputFile)</TD></TR><TR><TD CLASS="l">133</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">134</TD><TD>                        String outputFileName = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_OUTPUT_FILENAME, (String) null);</TD></TR><TR CLASS="c"><TD CLASS="l">135</TD><TD>                        String outputFolderExpr = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_OUTPUT_FOLDER, (String) null);</TD></TR><TR CLASS="c"><TD CLASS="l">136</TD><TD>                        outputFile = getSubstitutedPath(outputFolderExpr).append(outputFileName);</TD></TR><TR><TD CLASS="l">137</TD><TD>                }</TD></TR><TR><TD CLASS="l">138</TD><TD>                else</TD></TR><TR><TD CLASS="l">139</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">140</TD><TD>                        outputFile = XSLTRuntime.defaultOutputFileForInputFile(configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_INPUT_FILE, (String) null));</TD></TR><TR><TD CLASS="l">141</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">142</TD><TD>                return outputFile.toFile();</TD></TR><TR><TD CLASS="l"><A NAME="7">143</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">144</TD><TD> </TD></TR><TR><TD CLASS="l">145</TD><TD>        private static IPath getSubstitutedPath(String path) throws CoreException</TD></TR><TR><TD CLASS="l">146</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">147</TD><TD>                if (path != null)</TD></TR><TR><TD CLASS="l">148</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">149</TD><TD>                        path = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(path);</TD></TR><TR CLASS="c"><TD CLASS="l">150</TD><TD>                        return new Path(path);</TD></TR><TR><TD CLASS="l">151</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                return null;</TD></TR><TR><TD CLASS="l">153</TD><TD>        }</TD></TR><TR><TD CLASS="l">154</TD><TD> </TD></TR><TR><TD CLASS="l">155</TD><TD>        /**</TD></TR><TR><TD CLASS="l">156</TD><TD>         * Returns a free port number on localhost, or -1 if unable to find a free</TD></TR><TR><TD CLASS="l">157</TD><TD>         * port.</TD></TR><TR><TD CLASS="l">158</TD><TD>         * </TD></TR><TR><TD CLASS="l">159</TD><TD>         * @return a free port number on localhost, or -1 if unable to find a free</TD></TR><TR><TD CLASS="l"><A NAME="4">160</A></TD><TD>         *         port</TD></TR><TR><TD CLASS="l">161</TD><TD>         */</TD></TR><TR><TD CLASS="l">162</TD><TD>        public static int findFreePort()</TD></TR><TR><TD CLASS="l">163</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">164</TD><TD>                ServerSocket socket = null;</TD></TR><TR><TD CLASS="l">165</TD><TD>                try</TD></TR><TR><TD CLASS="l">166</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">167</TD><TD>                        socket = new ServerSocket(0);</TD></TR><TR CLASS="c"><TD CLASS="l">168</TD><TD>                        return socket.getLocalPort();</TD></TR><TR><TD CLASS="l">169</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">170</TD><TD>                catch (IOException e)</TD></TR><TR><TD CLASS="l">171</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">172</TD><TD>                        LaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">173</TD><TD>                }</TD></TR><TR><TD CLASS="l">174</TD><TD>                finally</TD></TR><TR CLASS="z"><TD CLASS="l">175</TD><TD>                {</TD></TR><TR CLASS="p"><TD TITLE="60% line coverage (12 out of 20 instructions)" CLASS="l">176</TD><TD TITLE="60% line coverage (12 out of 20 instructions)">                        if (socket != null)</TD></TR><TR><TD CLASS="l">177</TD><TD>                        {</TD></TR><TR><TD CLASS="l">178</TD><TD>                                try</TD></TR><TR><TD CLASS="l">179</TD><TD>                                {</TD></TR><TR CLASS="p"><TD TITLE="33% line coverage (3 out of 9 instructions)" CLASS="l">180</TD><TD TITLE="33% line coverage (3 out of 9 instructions)">                                        socket.close();</TD></TR><TR><TD CLASS="l">181</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">182</TD><TD>                                catch (IOException e)</TD></TR><TR><TD CLASS="l">183</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">184</TD><TD>                                        LaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">185</TD><TD>                                }</TD></TR><TR><TD CLASS="l">186</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">187</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">188</TD><TD>                return -1;</TD></TR><TR><TD CLASS="l"><A NAME="2">189</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">190</TD><TD> </TD></TR><TR><TD CLASS="l">191</TD><TD>        public boolean getOpenFileOnCompletion()</TD></TR><TR><TD CLASS="l">192</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">193</TD><TD>                return openFileOnCompletion;</TD></TR><TR><TD CLASS="l">194</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="1">195</A></TD><TD>        </TD></TR><TR><TD CLASS="l">196</TD><TD> </TD></TR><TR><TD CLASS="l">197</TD><TD>        public boolean getFormatFileOnCompletion()</TD></TR><TR><TD CLASS="l">198</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">199</TD><TD>                return formatFileOnCompletion;</TD></TR><TR><TD CLASS="l">200</TD><TD>        }</TD></TR><TR><TD CLASS="l">201</TD><TD> </TD></TR><TR><TD CLASS="l">202</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f.html">org.eclipse.wst.xsl.launching.config</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/115.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/115.html
deleted file mode 100644
index 503c01d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/115.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">DebuggerRegistry.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>DebuggerRegistry.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/37)</TD><TD CLASS="h">0%   (0/9)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">DebuggerRegistry</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/37)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR><TD CLASS="f"><A HREF="#0">DebuggerRegistry (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/15)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">addDebugger (DebuggerDescriptor): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getDebugger (String): IDebugger</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getDebuggers (): IDebugger []</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">15</TD><TD> </TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IDebugger;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.DebuggerDescriptor;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">19</A></TD><TD>public class DebuggerRegistry</TD></TR><TR><TD CLASS="l">20</TD><TD>{</TD></TR><TR CLASS="z"><TD CLASS="l">21</TD><TD>        private final Map&lt;String, DebuggerDescriptor&gt; debuggers = new HashMap&lt;String, DebuggerDescriptor&gt;();</TD></TR><TR><TD CLASS="l">22</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">23</TD><TD>        public DebuggerRegistry()</TD></TR><TR><TD CLASS="l">24</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">25</TD><TD>                DebuggerRegistryReader registryReader = new DebuggerRegistryReader();</TD></TR><TR CLASS="z"><TD CLASS="l">26</TD><TD>                registryReader.addConfigs(this);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">27</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">28</TD><TD> </TD></TR><TR><TD CLASS="l">29</TD><TD>        public IDebugger getDebugger(String id)</TD></TR><TR><TD CLASS="l">30</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">31</TD><TD>                return (IDebugger) debuggers.get(id);</TD></TR><TR><TD CLASS="l"><A NAME="4">32</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">33</TD><TD> </TD></TR><TR><TD CLASS="l">34</TD><TD>        public IDebugger[] getDebuggers()</TD></TR><TR><TD CLASS="l">35</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">36</TD><TD>                return (IDebugger[]) debuggers.values().toArray(new IDebugger[0]);</TD></TR><TR><TD CLASS="l"><A NAME="2">37</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>        public void addDebugger(DebuggerDescriptor desc)</TD></TR><TR><TD CLASS="l">40</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>                debuggers.put(desc.getId(), desc);</TD></TR><TR CLASS="z"><TD CLASS="l">42</TD><TD>        }</TD></TR><TR><TD CLASS="l">43</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/116.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/116.html
deleted file mode 100644
index 9f7548e..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/116.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">DebuggerRegistryReader.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>DebuggerRegistryReader.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/126)</TD><TD CLASS="h">0%   (0/37)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">DebuggerRegistryReader</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/126)</TD><TD CLASS="h">0%   (0/37)</TD></TR><TR><TD CLASS="f"><A HREF="#0">DebuggerRegistryReader (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">addConfigs (DebuggerRegistry): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/11)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#3">readElement (DebuggerRegistry, IConfigurationElement): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">readElement (IConfigurationElement): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/104)</TD><TD CLASS="h">0%   (0/29)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.runtime.IConfigurationElement;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.core.runtime.IExtensionRegistry;</TD></TR><TR><TD CLASS="l"><A NAME="0">15</A></TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.DebuggerDescriptor;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">19</TD><TD>public class DebuggerRegistryReader extends AbstractRegistryReader</TD></TR><TR><TD CLASS="l">20</TD><TD>{</TD></TR><TR><TD CLASS="l">21</TD><TD>        public static final String TAG_DEBUGGER = &#34;debugger&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">22</TD><TD>        public static final String ATT_ID = &#34;id&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">23</TD><TD>        public static final String ATT_CLASSNAME = &#34;className&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">24</TD><TD>        public static final String ATT_CLASSPATH = &#34;classpath&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">25</TD><TD>        public static final String ATT_NAME = &#34;name&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">26</TD><TD>        public static final String ATT_PROCESSOR_TYPE_ID = &#34;processorTypeId&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">27</TD><TD>        public static final String ATT_TRANSFORMER_FACTORY = &#34;transformerFactoryClass&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">28</TD><TD> </TD></TR><TR><TD CLASS="l">29</TD><TD>        private DebuggerRegistry registry;</TD></TR><TR><TD CLASS="l"><A NAME="4">30</A></TD><TD> </TD></TR><TR><TD CLASS="l">31</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">32</TD><TD>        protected boolean readElement(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">33</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">34</TD><TD>                if (!element.getName().equals(TAG_DEBUGGER))</TD></TR><TR CLASS="z"><TD CLASS="l">35</TD><TD>                        return false;</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">37</TD><TD>                String id = element.getAttribute(ATT_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">38</TD><TD>                if (id == null)</TD></TR><TR><TD CLASS="l">39</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>                        logMissingAttribute(element, ATT_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">42</TD><TD>                }</TD></TR><TR><TD CLASS="l">43</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>                String className = element.getAttribute(ATT_CLASSNAME);</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>                if (className == null)</TD></TR><TR><TD CLASS="l">46</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>                        logMissingAttribute(element, ATT_CLASSNAME);</TD></TR><TR CLASS="z"><TD CLASS="l">48</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">49</TD><TD>                }</TD></TR><TR><TD CLASS="l">50</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">51</TD><TD>                String classpath = element.getAttribute(ATT_CLASSPATH);</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>                if (classpath == null)</TD></TR><TR><TD CLASS="l">53</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                        logMissingAttribute(element, ATT_CLASSPATH);</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">56</TD><TD>                }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">58</TD><TD>                String[] entries = classpath.split(&#34;;&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">59</TD><TD>                for (int i = 0; i &lt; entries.length; i++)</TD></TR><TR><TD CLASS="l">60</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                        String string = entries[i];</TD></TR><TR CLASS="z"><TD CLASS="l">62</TD><TD>                        entries[i] = string.trim();</TD></TR><TR><TD CLASS="l">63</TD><TD>                }</TD></TR><TR><TD CLASS="l">64</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>                String name = element.getAttribute(ATT_NAME);</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>                if (name == null)</TD></TR><TR><TD CLASS="l">67</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">68</TD><TD>                        logMissingAttribute(element, ATT_NAME);</TD></TR><TR CLASS="z"><TD CLASS="l">69</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">70</TD><TD>                }</TD></TR><TR><TD CLASS="l">71</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">72</TD><TD>                String processorTypeId = element.getAttribute(ATT_PROCESSOR_TYPE_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">73</TD><TD>                if (processorTypeId == null)</TD></TR><TR><TD CLASS="l">74</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>                        logMissingAttribute(element, ATT_PROCESSOR_TYPE_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">77</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">78</TD><TD>                String tFact = element.getAttribute(ATT_TRANSFORMER_FACTORY);</TD></TR><TR><TD CLASS="l">79</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>                registry.addDebugger(new DebuggerDescriptor(id, element.getContributor().getName(), className, entries, name, processorTypeId, tFact));</TD></TR><TR><TD CLASS="l">81</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">82</TD><TD>                return true;</TD></TR><TR><TD CLASS="l"><A NAME="3">83</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">84</TD><TD> </TD></TR><TR><TD CLASS="l">85</TD><TD>        public void readElement(DebuggerRegistry registry, IConfigurationElement element)</TD></TR><TR><TD CLASS="l">86</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">87</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="z"><TD CLASS="l">88</TD><TD>                readElement(element);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="2">89</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">90</TD><TD> </TD></TR><TR><TD CLASS="l">91</TD><TD>        public void addConfigs(DebuggerRegistry registry)</TD></TR><TR><TD CLASS="l">92</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">93</TD><TD>                IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();</TD></TR><TR CLASS="z"><TD CLASS="l">94</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="z"><TD CLASS="l">95</TD><TD>                readRegistry(extensionRegistry, JAXPLaunchingPlugin.PLUGIN_ID, &#34;debugger&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">96</TD><TD>        }</TD></TR><TR><TD CLASS="l">97</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/117.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/117.html
deleted file mode 100644
index 353c1f9..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/117.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">Messages.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>Messages.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/8)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">Messages</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR><TD CLASS="f"><A HREF="#0">&lt;static initializer&gt;</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">Messages (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getString (String): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/16)</TD><TD CLASS="h">0%   (0/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import java.util.MissingResourceException;</TD></TR><TR><TD CLASS="l">4</TD><TD>import java.util.ResourceBundle;</TD></TR><TR><TD CLASS="l">5</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="0">6</A></TD><TD>public class Messages {</TD></TR><TR><TD CLASS="l">7</TD><TD>        private static final String BUNDLE_NAME = &#34;org.eclipse.wst.xsl.jaxp.launching.internal.registry.messages&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l"><A NAME="2">8</A></TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">9</TD><TD>        private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle</TD></TR><TR CLASS="z"><TD CLASS="l">10</TD><TD>                        .getBundle(BUNDLE_NAME);</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">12</TD><TD>        private Messages() {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">13</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>        public static String getString(String key) {</TD></TR><TR><TD CLASS="l">16</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">17</TD><TD>                        return RESOURCE_BUNDLE.getString(key);</TD></TR><TR CLASS="z"><TD CLASS="l">18</TD><TD>                } catch (MissingResourceException e) {</TD></TR><TR CLASS="z"><TD CLASS="l">19</TD><TD>                        return '!' + key + '!';</TD></TR><TR><TD CLASS="l">20</TD><TD>                }</TD></TR><TR><TD CLASS="l">21</TD><TD>        }</TD></TR><TR><TD CLASS="l">22</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/118.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/118.html
deleted file mode 100644
index 9f3b92a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/118.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">ProcessorRegistry.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>ProcessorRegistry.java</TD><TD>100% (1/1)</TD><TD CLASS="h">42%  (5/12)</TD><TD CLASS="h">39%  (131/340)</TD><TD CLASS="h">44%  (32/72)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">ProcessorRegistry</A></TD><TD>100% (1/1)</TD><TD CLASS="h">42%  (5/12)</TD><TD CLASS="h">39%  (131/340)</TD><TD CLASS="h">44%  (32/72)</TD></TR><TR><TD CLASS="f"><A HREF="#1">addProcessor (IProcessorInstall): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/34)</TD><TD CLASS="h">0%   (0/7)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getContributedProcessors (): IProcessorInstall []</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getJREDefaultProcessor (): IProcessorInstall</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getProcessors (): IProcessorInstall []</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/60)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR><TD CLASS="f"><A HREF="#5">getProcessors (String): IProcessorInstall []</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/39)</TD><TD CLASS="h">0%   (0/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">removeProcessor (int): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/43)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR><TD CLASS="f"><A HREF="#7">setDefaultProcessor (IProcessorInstall): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">addPersistedVMs (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">77%  (63/82)</TD><TD CLASS="h">70%  (14/20)</TD></TR><TR><TD CLASS="f"><A HREF="#0">ProcessorRegistry (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (15/15)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">addProcessor (String, String, String, String, String, String, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (19/19)</TD><TD>100% (3/3)</TD></TR><TR><TD CLASS="f"><A HREF="#b">getDefaultProcessor (): IProcessorInstall</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">initializeFromStorage (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (31/31)</TD><TD>100% (9/9)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.ByteArrayInputStream;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorInstall;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorJar;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.JAXPRuntime;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.ProcessorInstall;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.ProcessorPreferences;</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD>public class ProcessorRegistry</TD></TR><TR><TD CLASS="l">27</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l">28</TD><TD>        private final List&lt;ProcessorInstall&gt; contributedInstalls = new ArrayList&lt;ProcessorInstall&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">29</TD><TD>        private List&lt;IProcessorInstall&gt; userInstalls = new ArrayList&lt;IProcessorInstall&gt;();</TD></TR><TR><TD CLASS="l"><A NAME="0">30</A></TD><TD>        private IProcessorInstall defaultProcessor;</TD></TR><TR><TD CLASS="l">31</TD><TD>        private IProcessorInstall jreDefaultProcessor;</TD></TR><TR><TD CLASS="l">32</TD><TD>        private IProcessorInstall[] installs;</TD></TR><TR><TD CLASS="l">33</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>        public ProcessorRegistry()</TD></TR><TR><TD CLASS="l">35</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">36</TD><TD>                initializeFromStorage();</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="c">38</A></TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>        private void initializeFromStorage()</TD></TR><TR><TD CLASS="l">40</TD><TD>        {</TD></TR><TR><TD CLASS="l">41</TD><TD>                // read from the registry</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                ProcessorRegistryReader registryReader = new ProcessorRegistryReader();</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                registryReader.addConfigs(this);</TD></TR><TR><TD CLASS="l">44</TD><TD>                // find the jre default</TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>                for (Iterator&lt;ProcessorInstall&gt; iter = contributedInstalls.iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">46</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>                        IProcessorInstall install = (IProcessorInstall) iter.next();</TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>                        if (install.getId().equals(JAXPRuntime.JRE_DEFAULT_PROCESSOR_ID))</TD></TR><TR><TD CLASS="l">49</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                                jreDefaultProcessor = install;</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                                break;</TD></TR><TR><TD CLASS="l">52</TD><TD>                        }</TD></TR><TR><TD CLASS="l">53</TD><TD>                }</TD></TR><TR><TD CLASS="l">54</TD><TD>                // read from the preferences</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                addPersistedVMs();</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="8">57</A></TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>        private void addPersistedVMs()</TD></TR><TR><TD CLASS="l">59</TD><TD>        {</TD></TR><TR><TD CLASS="l">60</TD><TD>                // Try retrieving the VM preferences from the preference store</TD></TR><TR CLASS="c"><TD CLASS="l">61</TD><TD>                String vmXMLString = JAXPLaunchingPlugin.getDefault().getPluginPreferences().getString(JAXPRuntime.PREF_PROCESSOR_XML);</TD></TR><TR><TD CLASS="l">62</TD><TD> </TD></TR><TR><TD CLASS="l">63</TD><TD>                // If the preference was found, load VMs from it into memory</TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                if (vmXMLString.length() &gt; 0)</TD></TR><TR><TD CLASS="l">65</TD><TD>                {</TD></TR><TR><TD CLASS="l">66</TD><TD>                        try</TD></TR><TR><TD CLASS="l">67</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>                                ByteArrayInputStream inputStream = new ByteArrayInputStream(vmXMLString.getBytes());</TD></TR><TR CLASS="c"><TD CLASS="l">69</TD><TD>                                ProcessorPreferences prefs = ProcessorPreferences.fromXML(inputStream);</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                                String defaultProcessorId = prefs.getDefaultProcessorId();</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                                userInstalls = prefs.getProcessors();</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                                for (Iterator&lt;IProcessorInstall&gt; iter = userInstalls.iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">73</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">74</TD><TD>                                        IProcessorInstall install = (IProcessorInstall) iter.next();</TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>                                        if (install.getId().equals(defaultProcessorId))</TD></TR><TR><TD CLASS="l">76</TD><TD>                                        {</TD></TR><TR CLASS="z"><TD CLASS="l">77</TD><TD>                                                defaultProcessor = install;</TD></TR><TR><TD CLASS="l">78</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">79</TD><TD>                                }</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                                if (defaultProcessor == null)</TD></TR><TR><TD CLASS="l">81</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                                        for (Iterator&lt;ProcessorInstall&gt; iter = contributedInstalls.iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">83</TD><TD>                                        {</TD></TR><TR CLASS="c"><TD CLASS="l">84</TD><TD>                                                IProcessorInstall install = (IProcessorInstall) iter.next();</TD></TR><TR CLASS="c"><TD CLASS="l">85</TD><TD>                                                if (defaultProcessor == null &amp;&amp; install.getId().equals(defaultProcessorId))</TD></TR><TR><TD CLASS="l">86</TD><TD>                                                {</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                                                        defaultProcessor = install;</TD></TR><TR><TD CLASS="l">88</TD><TD>                                                }</TD></TR><TR><TD CLASS="l">89</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">90</TD><TD>                                }</TD></TR><TR><TD CLASS="l">91</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">92</TD><TD>                        catch (CoreException e)</TD></TR><TR><TD CLASS="l">93</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">94</TD><TD>                                JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">95</TD><TD>                        }</TD></TR><TR><TD CLASS="l">96</TD><TD>                }</TD></TR><TR><TD CLASS="l">97</TD><TD>                // make the JRE the default default</TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                if (defaultProcessor == null)</TD></TR><TR><TD CLASS="l">99</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">100</TD><TD>                        defaultProcessor = jreDefaultProcessor;</TD></TR><TR><TD CLASS="l">101</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="a">102</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">103</TD><TD> </TD></TR><TR><TD CLASS="l">104</TD><TD>        public void addProcessor(String bundleId, String id, String label, String processorTypeId, String classpath, String debuggerId, String supports)</TD></TR><TR><TD CLASS="l">105</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">106</TD><TD>                IProcessorJar[] jars = ProcessorInstall.createJars(bundleId, classpath);</TD></TR><TR CLASS="c"><TD CLASS="l">107</TD><TD>                contributedInstalls.add(new ProcessorInstall(id, label, processorTypeId, jars, debuggerId, supports, true));</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="1">108</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">109</TD><TD> </TD></TR><TR><TD CLASS="l">110</TD><TD>        public void addProcessor(IProcessorInstall install)</TD></TR><TR><TD CLASS="l">111</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>                if (!install.isContributed())</TD></TR><TR CLASS="z"><TD CLASS="l">113</TD><TD>                        userInstalls.add(install);</TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                IProcessorInstall[] newinstalls = new IProcessorInstall[installs.length + 1];</TD></TR><TR CLASS="z"><TD CLASS="l">115</TD><TD>                System.arraycopy(installs, 0, newinstalls, 0, installs.length);</TD></TR><TR CLASS="z"><TD CLASS="l">116</TD><TD>                newinstalls[installs.length] = install;</TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>                installs = newinstalls;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="6">118</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">119</TD><TD> </TD></TR><TR><TD CLASS="l">120</TD><TD>        public void removeProcessor(int index)</TD></TR><TR><TD CLASS="l">121</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">122</TD><TD>                IProcessorInstall removed = installs[index];</TD></TR><TR CLASS="z"><TD CLASS="l">123</TD><TD>                if (!removed.isContributed())</TD></TR><TR CLASS="z"><TD CLASS="l">124</TD><TD>                        userInstalls.remove(removed);</TD></TR><TR CLASS="z"><TD CLASS="l">125</TD><TD>                IProcessorInstall[] newinstalls = new IProcessorInstall[installs.length - 1];</TD></TR><TR CLASS="z"><TD CLASS="l">126</TD><TD>                System.arraycopy(installs, 0, newinstalls, 0, index);</TD></TR><TR CLASS="z"><TD CLASS="l">127</TD><TD>                System.arraycopy(installs, index + 1, newinstalls, index, newinstalls.length - index);</TD></TR><TR CLASS="z"><TD CLASS="l">128</TD><TD>                installs = newinstalls;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">129</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">130</TD><TD> </TD></TR><TR><TD CLASS="l">131</TD><TD>        public IProcessorInstall[] getProcessors()</TD></TR><TR><TD CLASS="l">132</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">133</TD><TD>                if (installs == null)</TD></TR><TR><TD CLASS="l">134</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">135</TD><TD>                        installs = new IProcessorInstall[contributedInstalls.size() + userInstalls.size()];</TD></TR><TR CLASS="z"><TD CLASS="l">136</TD><TD>                        int startIndex = 0;</TD></TR><TR CLASS="z"><TD CLASS="l">137</TD><TD>                        for (int i = 0; i &lt; contributedInstalls.size(); i++)</TD></TR><TR><TD CLASS="l">138</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">139</TD><TD>                                installs[i] = (IProcessorInstall) contributedInstalls.get(i);</TD></TR><TR CLASS="z"><TD CLASS="l">140</TD><TD>                                startIndex = i + 1;</TD></TR><TR><TD CLASS="l">141</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">142</TD><TD>                        for (int i = 0; i &lt; userInstalls.size(); i++)</TD></TR><TR><TD CLASS="l">143</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                                installs[startIndex + i] = (IProcessorInstall) userInstalls.get(i);</TD></TR><TR><TD CLASS="l">145</TD><TD>                        }</TD></TR><TR><TD CLASS="l">146</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">147</TD><TD>                return installs;</TD></TR><TR><TD CLASS="l"><A NAME="5">148</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">149</TD><TD> </TD></TR><TR><TD CLASS="l">150</TD><TD>        public IProcessorInstall[] getProcessors(String id)</TD></TR><TR><TD CLASS="l">151</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                IProcessorInstall[] installs = getProcessors();</TD></TR><TR CLASS="z"><TD CLASS="l">153</TD><TD>                List&lt;IProcessorInstall&gt; result = new ArrayList&lt;IProcessorInstall&gt;();</TD></TR><TR CLASS="z"><TD CLASS="l">154</TD><TD>                for (IProcessorInstall type : installs)</TD></TR><TR><TD CLASS="l">155</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">156</TD><TD>                        if (type.getProcessorType().getId().equals(id))</TD></TR><TR CLASS="z"><TD CLASS="l">157</TD><TD>                                result.add(type);</TD></TR><TR><TD CLASS="l">158</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">159</TD><TD>                return (IProcessorInstall[]) result.toArray(new IProcessorInstall[0]);</TD></TR><TR><TD CLASS="l"><A NAME="7">160</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">161</TD><TD> </TD></TR><TR><TD CLASS="l">162</TD><TD>        public void setDefaultProcessor(IProcessorInstall defaultInstall)</TD></TR><TR><TD CLASS="l">163</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">164</TD><TD>                defaultProcessor = defaultInstall;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="b">165</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">166</TD><TD> </TD></TR><TR><TD CLASS="l">167</TD><TD>        public IProcessorInstall getDefaultProcessor()</TD></TR><TR><TD CLASS="l">168</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">169</TD><TD>                return defaultProcessor;</TD></TR><TR><TD CLASS="l"><A NAME="3">170</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">171</TD><TD> </TD></TR><TR><TD CLASS="l">172</TD><TD>        public IProcessorInstall getJREDefaultProcessor()</TD></TR><TR><TD CLASS="l">173</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">174</TD><TD>                return jreDefaultProcessor;</TD></TR><TR><TD CLASS="l"><A NAME="2">175</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">176</TD><TD> </TD></TR><TR><TD CLASS="l">177</TD><TD>        public IProcessorInstall[] getContributedProcessors()</TD></TR><TR><TD CLASS="l">178</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">179</TD><TD>                return (IProcessorInstall[]) contributedInstalls.toArray(new IProcessorInstall[0]);</TD></TR><TR><TD CLASS="l">180</TD><TD>        }</TD></TR><TR><TD CLASS="l">181</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/119.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/119.html
deleted file mode 100644
index aad3353..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/119.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">AbstractRegistryReader.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>AbstractRegistryReader.java</TD><TD>100% (2/2)</TD><TD CLASS="h">50%  (7/14)</TD><TD CLASS="h">39%  (90/229)</TD><TD CLASS="h">45%  (22/49)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">AbstractRegistryReader</A></TD><TD>100% (1/1)</TD><TD CLASS="h">42%  (5/12)</TD><TD CLASS="h">36%  (77/216)</TD><TD CLASS="h">40%  (18/45)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getClassValue (IConfigurationElement, String): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/23)</TD><TD CLASS="h">0%   (0/7)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getDescription (IConfigurationElement): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/15)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#3">logError (IConfigurationElement, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/48)</TD><TD CLASS="h">0%   (0/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">logMissingAttribute (IConfigurationElement, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/15)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#5">logMissingElement (IConfigurationElement, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/15)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">logUnknownElement (IConfigurationElement): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/13)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#7">readElementChildren (IConfigurationElement): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">readElements (IConfigurationElement []): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">79%  (15/19)</TD><TD CLASS="h">75%  (3/4)</TD></TR><TR><TD CLASS="f"><A HREF="#9">readRegistry (IExtensionRegistry, String, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>97%  (33/34)</TD><TD>88%  (7/8)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">AbstractRegistryReader (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#b">orderExtensions (IExtension []): IExtension []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (21/21)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">readExtension (IExtension): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (5/5)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#d">AbstractRegistryReader$1</A></TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>100% (13/13)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#d">AbstractRegistryReader$1 (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#f">compare (IExtension, IExtension): int</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (10/10)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR CLASS="c"><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.util.Arrays;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.Collections;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.Comparator;</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.core.runtime.IConfigurationElement;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.core.runtime.IExtension;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.runtime.IExtensionPoint;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.IExtensionRegistry;</TD></TR><TR><TD CLASS="l"><A NAME="0">22</A></TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">26</TD><TD>public abstract class AbstractRegistryReader</TD></TR><TR><TD CLASS="l">27</TD><TD>{</TD></TR><TR><TD CLASS="l">28</TD><TD>        public static final String ATT_CLASS = &#34;class&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l"><A NAME="3">29</A></TD><TD>        public static final String TAG_DESCRIPTION = &#34;description&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">30</TD><TD> </TD></TR><TR><TD CLASS="l">31</TD><TD>        protected static void logError(IConfigurationElement element, String text)</TD></TR><TR><TD CLASS="l">32</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">33</TD><TD>                IExtension extension = element.getDeclaringExtension();</TD></TR><TR CLASS="z"><TD CLASS="l">34</TD><TD>                StringBuffer buf = new StringBuffer();</TD></TR><TR CLASS="z"><TD CLASS="l">35</TD><TD>                buf.append(&#34;Plugin &#34; + extension.getNamespaceIdentifier() + Messages.getString(&#34;AbstractRegistryReader.3&#34;) + extension.getExtensionPointUniqueIdentifier()); //$NON-NLS-1$ //$NON-NLS-2$</TD></TR><TR CLASS="z"><TD CLASS="l">36</TD><TD>                buf.append(&#34;\n&#34; + text); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">37</TD><TD>                JAXPLaunchingPlugin.log(new CoreException(new Status(IStatus.ERROR, JAXPLaunchingPlugin.PLUGIN_ID, IStatus.OK, buf.toString(), null)));</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">38</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">39</TD><TD> </TD></TR><TR><TD CLASS="l">40</TD><TD>        protected static void logMissingAttribute(IConfigurationElement element, String attributeName)</TD></TR><TR><TD CLASS="l">41</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">42</TD><TD>                logError(element, Messages.getString(&#34;AbstractRegistryReader.5&#34;) + attributeName + Messages.getString(&#34;AbstractRegistryReader.6&#34;)); //$NON-NLS-1$ //$NON-NLS-2$</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="5">43</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">44</TD><TD> </TD></TR><TR><TD CLASS="l">45</TD><TD>        protected static void logMissingElement(IConfigurationElement element, String elementName)</TD></TR><TR><TD CLASS="l">46</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>                logError(element, Messages.getString(&#34;AbstractRegistryReader.7&#34;) + elementName + Messages.getString(&#34;AbstractRegistryReader.8&#34;)); //$NON-NLS-1$ //$NON-NLS-2$</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="6">48</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">49</TD><TD> </TD></TR><TR><TD CLASS="l">50</TD><TD>        protected static void logUnknownElement(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">51</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>                logError(element, Messages.getString(&#34;AbstractRegistryReader.9&#34;) + element.getName()); //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="b">53</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">54</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="d">55</A></TD><TD>        public static IExtension[] orderExtensions(IExtension[] extensions)</TD></TR><TR><TD CLASS="l">56</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                IExtension[] sortedExtension = new IExtension[extensions.length];</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                System.arraycopy(extensions, 0, sortedExtension, 0, extensions.length);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="f">59</A></TD><TD>                Comparator&lt;IExtension&gt; comparer = new Comparator&lt;IExtension&gt;()</TD></TR><TR><TD CLASS="l">60</TD><TD>                {</TD></TR><TR><TD CLASS="l">61</TD><TD>                        public int compare(IExtension arg0, IExtension arg1)</TD></TR><TR><TD CLASS="l">62</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                                String s1 = arg0.getNamespaceIdentifier();</TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                                String s2 = arg1.getNamespaceIdentifier();</TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                                return s1.compareToIgnoreCase(s2);</TD></TR><TR><TD CLASS="l">66</TD><TD>                        }</TD></TR><TR><TD CLASS="l">67</TD><TD>                };</TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>                Collections.sort(Arrays.asList(sortedExtension), comparer);</TD></TR><TR CLASS="c"><TD CLASS="l">69</TD><TD>                return sortedExtension;</TD></TR><TR><TD CLASS="l">70</TD><TD>        }</TD></TR><TR><TD CLASS="l">71</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="7">72</A></TD><TD>        protected abstract boolean readElement(IConfigurationElement element);</TD></TR><TR><TD CLASS="l">73</TD><TD> </TD></TR><TR><TD CLASS="l">74</TD><TD>        protected void readElementChildren(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">75</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>                readElements(element.getChildren());</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="8">77</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">78</TD><TD> </TD></TR><TR><TD CLASS="l">79</TD><TD>        protected void readElements(IConfigurationElement[] elements)</TD></TR><TR><TD CLASS="l">80</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                for (int i = 0; i &lt; elements.length; i++)</TD></TR><TR><TD CLASS="l">82</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">83</TD><TD>                        if (!readElement(elements[i]))</TD></TR><TR CLASS="z"><TD CLASS="l">84</TD><TD>                                logUnknownElement(elements[i]);</TD></TR><TR><TD CLASS="l">85</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="c">86</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">87</TD><TD> </TD></TR><TR><TD CLASS="l">88</TD><TD>        protected void readExtension(IExtension extension)</TD></TR><TR><TD CLASS="l">89</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                readElements(extension.getConfigurationElements());</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="9">91</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">92</TD><TD> </TD></TR><TR><TD CLASS="l">93</TD><TD>        public void readRegistry(IExtensionRegistry registry, String pluginId, String extensionPoint)</TD></TR><TR><TD CLASS="l">94</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                IExtensionPoint point = registry.getExtensionPoint(pluginId, extensionPoint);</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                if (point == null)</TD></TR><TR CLASS="z"><TD CLASS="l">97</TD><TD>                        return;</TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                IExtension[] extensions = point.getExtensions();</TD></TR><TR CLASS="c"><TD CLASS="l">99</TD><TD>                extensions = orderExtensions(extensions);</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                for (IExtension element : extensions)</TD></TR><TR CLASS="c"><TD CLASS="l">101</TD><TD>                        readExtension(element);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="2">102</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">103</TD><TD> </TD></TR><TR><TD CLASS="l">104</TD><TD>        public static String getDescription(IConfigurationElement configElement)</TD></TR><TR><TD CLASS="l">105</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">106</TD><TD>                IConfigurationElement[] children = configElement.getChildren(TAG_DESCRIPTION);</TD></TR><TR CLASS="z"><TD CLASS="l">107</TD><TD>                if (children.length &gt;= 1)</TD></TR><TR><TD CLASS="l">108</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">109</TD><TD>                        return children[0].getValue();</TD></TR><TR><TD CLASS="l">110</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">111</TD><TD>                return &#34;&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l"><A NAME="1">112</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">113</TD><TD> </TD></TR><TR><TD CLASS="l">114</TD><TD>        public static String getClassValue(IConfigurationElement configElement, String classAttributeName)</TD></TR><TR><TD CLASS="l">115</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">116</TD><TD>                String className = configElement.getAttribute(classAttributeName);</TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>                if (className != null)</TD></TR><TR CLASS="z"><TD CLASS="l">118</TD><TD>                        return className;</TD></TR><TR CLASS="z"><TD CLASS="l">119</TD><TD>                IConfigurationElement[] candidateChildren = configElement.getChildren(classAttributeName);</TD></TR><TR CLASS="z"><TD CLASS="l">120</TD><TD>                if (candidateChildren.length == 0)</TD></TR><TR CLASS="z"><TD CLASS="l">121</TD><TD>                        return null;</TD></TR><TR><TD CLASS="l">122</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">123</TD><TD>                return candidateChildren[0].getAttribute(ATT_CLASS);</TD></TR><TR><TD CLASS="l">124</TD><TD>        }</TD></TR><TR><TD CLASS="l">125</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11a.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11a.html
deleted file mode 100644
index 16abea3..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11a.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">ProcessorTypeRegistryReader.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>ProcessorTypeRegistryReader.java</TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">62%  (49/79)</TD><TD CLASS="h">57%  (16/28)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">ProcessorTypeRegistryReader</A></TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">62%  (49/79)</TD><TD CLASS="h">57%  (16/28)</TD></TR><TR><TD CLASS="f"><A HREF="#1">readElement (ProcessorTypeRegistry, IConfigurationElement): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">readElement (IConfigurationElement): boolean</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">61%  (35/57)</TD><TD CLASS="h">55%  (11/20)</TD></TR><TR><TD CLASS="f"><A HREF="#0">ProcessorTypeRegistryReader (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">addConfigs (ProcessorTypeRegistry): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (11/11)</TD><TD>100% (4/4)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.runtime.IConfigurationElement;</TD></TR><TR><TD CLASS="l"><A NAME="0">14</A></TD><TD>import org.eclipse.core.runtime.IExtensionRegistry;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">18</TD><TD>public class ProcessorTypeRegistryReader extends AbstractRegistryReader</TD></TR><TR><TD CLASS="l">19</TD><TD>{</TD></TR><TR><TD CLASS="l">20</TD><TD>        public static final String TAG_processorType = &#34;processorType&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">21</TD><TD>        public static final String ATT_ID = &#34;id&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">22</TD><TD>        public static final String ATT_LABEL = &#34;label&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">23</TD><TD>        public static final String ATT_OUTPUT_PROPERTIES = &#34;outputProperties&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">24</TD><TD>        public static final String ATT_ATTRIBUTE_PROPERTIES = &#34;attributeProperties&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">25</TD><TD>        public static final String EL_TRANSFORMER_FACTORY = &#34;transformerFactory&#34;;</TD></TR><TR><TD CLASS="l">26</TD><TD>        public static final String ATT_TRANSFORMER_FACTORY_NAME = &#34;name&#34;;</TD></TR><TR><TD CLASS="l">27</TD><TD>        public static final String ATT_TRANSFORMER_FACTORY_CLASS = &#34;factoryClass&#34;;</TD></TR><TR><TD CLASS="l">28</TD><TD> </TD></TR><TR><TD CLASS="l">29</TD><TD>        private ProcessorTypeRegistry registry;</TD></TR><TR><TD CLASS="l"><A NAME="2">30</A></TD><TD> </TD></TR><TR><TD CLASS="l">31</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">32</TD><TD>        protected boolean readElement(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">33</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                if (!element.getName().equals(TAG_processorType))</TD></TR><TR CLASS="z"><TD CLASS="l">35</TD><TD>                        return false;</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>                String id = element.getAttribute(ATT_ID);</TD></TR><TR CLASS="c"><TD CLASS="l">38</TD><TD>                if (id == null)</TD></TR><TR><TD CLASS="l">39</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>                        logMissingAttribute(element, ATT_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">42</TD><TD>                }</TD></TR><TR><TD CLASS="l">43</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">44</TD><TD>                String label = element.getAttribute(ATT_LABEL);</TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>                if (label == null)</TD></TR><TR><TD CLASS="l">46</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>                        logMissingAttribute(element, ATT_LABEL);</TD></TR><TR CLASS="z"><TD CLASS="l">48</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">49</TD><TD>                }</TD></TR><TR><TD CLASS="l">50</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                String outputProperties = element.getAttribute(ATT_OUTPUT_PROPERTIES);</TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                if (outputProperties == null)</TD></TR><TR><TD CLASS="l">53</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                        logMissingAttribute(element, ATT_OUTPUT_PROPERTIES);</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">56</TD><TD>                }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                String featureProperties = element.getAttribute(ATT_ATTRIBUTE_PROPERTIES);</TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>                if (featureProperties == null)</TD></TR><TR><TD CLASS="l">60</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                        logMissingAttribute(element, ATT_ATTRIBUTE_PROPERTIES);</TD></TR><TR CLASS="z"><TD CLASS="l">62</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">63</TD><TD>                }</TD></TR><TR><TD CLASS="l">64</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                registry.addType(element);</TD></TR><TR><TD CLASS="l">66</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                return true;</TD></TR><TR><TD CLASS="l"><A NAME="1">68</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">69</TD><TD> </TD></TR><TR><TD CLASS="l">70</TD><TD>        public void readElement(ProcessorTypeRegistry registry, IConfigurationElement element)</TD></TR><TR><TD CLASS="l">71</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">72</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="z"><TD CLASS="l">73</TD><TD>                readElement(element);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">74</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">75</TD><TD> </TD></TR><TR><TD CLASS="l">76</TD><TD>        protected void addConfigs(ProcessorTypeRegistry registry)</TD></TR><TR><TD CLASS="l">77</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>                IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                readRegistry(extensionRegistry, JAXPLaunchingPlugin.PLUGIN_ID, &#34;processorType&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>        }</TD></TR><TR><TD CLASS="l">82</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11b.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11b.html
deleted file mode 100644
index 9a99a4a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11b.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">ProcessorRegistryReader.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>ProcessorRegistryReader.java</TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">66%  (67/102)</TD><TD CLASS="h">58%  (19/33)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">ProcessorRegistryReader</A></TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">66%  (67/102)</TD><TD CLASS="h">58%  (19/33)</TD></TR><TR><TD CLASS="f"><A HREF="#1">readElement (ProcessorRegistry, IConfigurationElement): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">readElement (IConfigurationElement): boolean</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">66%  (53/80)</TD><TD CLASS="h">56%  (14/25)</TD></TR><TR><TD CLASS="f"><A HREF="#0">ProcessorRegistryReader (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">addConfigs (ProcessorRegistry): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (11/11)</TD><TD>100% (4/4)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.runtime.IConfigurationElement;</TD></TR><TR><TD CLASS="l"><A NAME="0">14</A></TD><TD>import org.eclipse.core.runtime.IExtensionRegistry;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">18</TD><TD>public class ProcessorRegistryReader extends AbstractRegistryReader</TD></TR><TR><TD CLASS="l">19</TD><TD>{</TD></TR><TR><TD CLASS="l">20</TD><TD>        public static final String TAG_processor = &#34;processor&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">21</TD><TD>        public static final String ATT_ID = &#34;id&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">22</TD><TD>        public static final String ATT_LABEL = &#34;label&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">23</TD><TD>        public static final String ATT_TYPE_ID = &#34;processorTypeId&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">24</TD><TD>        public static final String ATT_DEBUGGER_ID = &#34;debuggerId&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">25</TD><TD>        public static final String ATT_CLASSPATH = &#34;classpath&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">26</TD><TD>        public static final String ATT_SUPPORTS = &#34;supports&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>        private ProcessorRegistry registry;</TD></TR><TR><TD CLASS="l"><A NAME="2">29</A></TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">31</TD><TD>        protected boolean readElement(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">32</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>                if (!element.getName().equals(TAG_processor))</TD></TR><TR CLASS="z"><TD CLASS="l">34</TD><TD>                        return false;</TD></TR><TR><TD CLASS="l">35</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">36</TD><TD>                String id = element.getAttribute(ATT_ID);</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>                if (id == null)</TD></TR><TR><TD CLASS="l">38</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">39</TD><TD>                        logMissingAttribute(element, ATT_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">41</TD><TD>                }</TD></TR><TR><TD CLASS="l">42</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                String label = element.getAttribute(ATT_LABEL);</TD></TR><TR CLASS="c"><TD CLASS="l">44</TD><TD>                if (label == null)</TD></TR><TR><TD CLASS="l">45</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">46</TD><TD>                        logMissingAttribute(element, ATT_LABEL);</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">48</TD><TD>                }</TD></TR><TR><TD CLASS="l">49</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                String processorTypeId = element.getAttribute(ATT_TYPE_ID);</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                if (processorTypeId == null)</TD></TR><TR><TD CLASS="l">52</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">53</TD><TD>                        logMissingAttribute(element, ATT_TYPE_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">55</TD><TD>                }</TD></TR><TR><TD CLASS="l">56</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                String classpath = element.getAttribute(ATT_CLASSPATH);</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                if (classpath == null)</TD></TR><TR><TD CLASS="l">59</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                        logMissingAttribute(element, ATT_CLASSPATH);</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">62</TD><TD>                }</TD></TR><TR><TD CLASS="l">63</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                String debuggerId = element.getAttribute(ATT_DEBUGGER_ID);</TD></TR><TR><TD CLASS="l">65</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">66</TD><TD>                String supports = element.getAttribute(ATT_SUPPORTS);</TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                if (classpath == null)</TD></TR><TR><TD CLASS="l">68</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">69</TD><TD>                        logMissingAttribute(element, ATT_SUPPORTS);</TD></TR><TR CLASS="z"><TD CLASS="l">70</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">71</TD><TD>                }</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">73</TD><TD>                registry.addProcessor(element.getContributor().getName(), id, label, processorTypeId, classpath, debuggerId, supports);</TD></TR><TR><TD CLASS="l">74</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                return true;</TD></TR><TR><TD CLASS="l"><A NAME="1">76</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR><TD CLASS="l">78</TD><TD>        public void readElement(ProcessorRegistry registry, IConfigurationElement element)</TD></TR><TR><TD CLASS="l">79</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="z"><TD CLASS="l">81</TD><TD>                readElement(element);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">82</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">83</TD><TD> </TD></TR><TR><TD CLASS="l">84</TD><TD>        public void addConfigs(ProcessorRegistry registry)</TD></TR><TR><TD CLASS="l">85</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                readRegistry(extensionRegistry, JAXPLaunchingPlugin.PLUGIN_ID, &#34;processor&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>        }</TD></TR><TR><TD CLASS="l">90</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11c.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11c.html
deleted file mode 100644
index 77403a4..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11c.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">InvokerRegistryReader.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>InvokerRegistryReader.java</TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">74%  (72/97)</TD><TD CLASS="h">64%  (18/28)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">InvokerRegistryReader</A></TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">74%  (72/97)</TD><TD CLASS="h">64%  (18/28)</TD></TR><TR><TD CLASS="f"><A HREF="#1">readElement (InvokerRegistry, IConfigurationElement): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">readElement (IConfigurationElement): boolean</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">77%  (58/75)</TD><TD CLASS="h">65%  (13/20)</TD></TR><TR><TD CLASS="f"><A HREF="#0">InvokerRegistryReader (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">addConfigs (InvokerRegistry): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (11/11)</TD><TD>100% (4/4)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.runtime.IConfigurationElement;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.core.runtime.IExtensionRegistry;</TD></TR><TR><TD CLASS="l"><A NAME="0">15</A></TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.ProcessorInvokerDescriptor;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">19</TD><TD>public class InvokerRegistryReader extends AbstractRegistryReader</TD></TR><TR><TD CLASS="l">20</TD><TD>{</TD></TR><TR><TD CLASS="l">21</TD><TD>        public static final String TAG_INVOKE = &#34;invoker&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">22</TD><TD>        public static final String ATT_ID = &#34;id&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">23</TD><TD>        public static final String ATT_CLASS = &#34;class&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">24</TD><TD>        public static final String ATT_CLASSPATH = &#34;classpath&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD>        private InvokerRegistry registry;</TD></TR><TR><TD CLASS="l"><A NAME="2">27</A></TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">29</TD><TD>        protected boolean readElement(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">30</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">31</TD><TD>                if (!element.getName().equals(TAG_INVOKE))</TD></TR><TR CLASS="z"><TD CLASS="l">32</TD><TD>                        return false;</TD></TR><TR><TD CLASS="l">33</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                String id = element.getAttribute(ATT_ID);</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>                if (id == null)</TD></TR><TR><TD CLASS="l">36</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">37</TD><TD>                        logMissingAttribute(element, ATT_ID);</TD></TR><TR CLASS="z"><TD CLASS="l">38</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">39</TD><TD>                }</TD></TR><TR><TD CLASS="l">40</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>                String classname = element.getAttribute(ATT_CLASS);</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                if (classname == null)</TD></TR><TR><TD CLASS="l">43</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>                        logMissingAttribute(element, ATT_CLASS);</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">46</TD><TD>                }</TD></TR><TR><TD CLASS="l">47</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>                String classpath = element.getAttribute(ATT_CLASSPATH);</TD></TR><TR CLASS="c"><TD CLASS="l">49</TD><TD>                if (classpath == null)</TD></TR><TR><TD CLASS="l">50</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">51</TD><TD>                        logMissingAttribute(element, ATT_CLASSPATH);</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>                        return true;</TD></TR><TR><TD CLASS="l">53</TD><TD>                }</TD></TR><TR><TD CLASS="l">54</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                String[] entries = classpath.split(&#34;;&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>                for (int i = 0; i &lt; entries.length; i++)</TD></TR><TR><TD CLASS="l">57</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                        String string = entries[i];</TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>                        entries[i] = string.trim();</TD></TR><TR><TD CLASS="l">60</TD><TD>                }</TD></TR><TR><TD CLASS="l">61</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">62</TD><TD>                registry.addInvokerDescriptor(new ProcessorInvokerDescriptor(id, element.getContributor().getName(), classname, entries));</TD></TR><TR><TD CLASS="l">63</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                return true;</TD></TR><TR><TD CLASS="l"><A NAME="1">65</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">66</TD><TD> </TD></TR><TR><TD CLASS="l">67</TD><TD>        public void readElement(InvokerRegistry registry, IConfigurationElement element)</TD></TR><TR><TD CLASS="l">68</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">69</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="z"><TD CLASS="l">70</TD><TD>                readElement(element);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">71</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR><TD CLASS="l">73</TD><TD>        public void addConfigs(InvokerRegistry registry)</TD></TR><TR><TD CLASS="l">74</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();</TD></TR><TR CLASS="c"><TD CLASS="l">76</TD><TD>                this.registry = registry;</TD></TR><TR CLASS="c"><TD CLASS="l">77</TD><TD>                readRegistry(extensionRegistry, JAXPLaunchingPlugin.PLUGIN_ID, &#34;invoke&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>        }</TD></TR><TR><TD CLASS="l">79</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11d.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11d.html
deleted file mode 100644
index e25c8b5..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11d.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">ProcessorTypeRegistry.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>ProcessorTypeRegistry.java</TD><TD>100% (1/1)</TD><TD>80%  (4/5)</TD><TD CLASS="h">76%  (221/289)</TD><TD CLASS="h">75%  (42.8/57)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">ProcessorTypeRegistry</A></TD><TD>100% (1/1)</TD><TD>80%  (4/5)</TD><TD CLASS="h">76%  (221/289)</TD><TD CLASS="h">75%  (42.8/57)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getProcessorTypesExclJREDefault (): IProcessorType []</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/40)</TD><TD CLASS="h">0%   (0/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">getProcessorTypes (): IProcessorType []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>88%  (175/200)</TD><TD>82%  (31.8/39)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getProcessorType (String): IProcessorType</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>89%  (25/28)</TD><TD CLASS="h">79%  (4/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">ProcessorTypeRegistry (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (15/15)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#5">addType (IConfigurationElement): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (2/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.io.ByteArrayInputStream;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">19</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">20</TD><TD> </TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.core.runtime.FileLocator;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.runtime.IConfigurationElement;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorType;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.ITransformerFactory;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.JAXPRuntime;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.FeaturePreferences;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.JAXPLaunchingPlugin;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.OutputPropertyPreferences;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.ProcessorType;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.internal.TransformerFactory;</TD></TR><TR><TD CLASS="l">34</TD><TD> </TD></TR><TR><TD CLASS="l">35</TD><TD>public class ProcessorTypeRegistry</TD></TR><TR><TD CLASS="l">36</TD><TD>{</TD></TR><TR><TD CLASS="l">37</TD><TD>        protected static final String DESC_SUFFIX = &#34;.DESC&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">38</TD><TD>        protected static final String TYPE_SUFFIX = &#34;.TYPE&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l"><A NAME="0">39</A></TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>        private final List&lt;IConfigurationElement&gt; elements = new ArrayList&lt;IConfigurationElement&gt;();</TD></TR><TR><TD CLASS="l">41</TD><TD>        private IProcessorType[] installTypes;</TD></TR><TR><TD CLASS="l">42</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>        public ProcessorTypeRegistry()</TD></TR><TR><TD CLASS="l">44</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>                ProcessorTypeRegistryReader registryReader = new ProcessorTypeRegistryReader();</TD></TR><TR CLASS="c"><TD CLASS="l">46</TD><TD>                registryReader.addConfigs(this);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="2">47</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">48</TD><TD> </TD></TR><TR><TD CLASS="l">49</TD><TD>        public IProcessorType[] getProcessorTypes()</TD></TR><TR><TD CLASS="l">50</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                if (installTypes == null)</TD></TR><TR><TD CLASS="l">52</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">53</TD><TD>                        List&lt;ProcessorType&gt; types = new ArrayList&lt;ProcessorType&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">54</TD><TD>                        String featureXMLString = JAXPLaunchingPlugin.getDefault().getPluginPreferences().getString(JAXPRuntime.PREF_FEATURE_XML);</TD></TR><TR><TD CLASS="l">55</TD><TD>                        // If the preference was found, load VMs from it into memory</TD></TR><TR CLASS="c"><TD CLASS="l">56</TD><TD>                        FeaturePreferences prefs = null;</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                        if (featureXMLString.length() &gt; 0)</TD></TR><TR><TD CLASS="l">58</TD><TD>                        {</TD></TR><TR><TD CLASS="l">59</TD><TD>                                try</TD></TR><TR><TD CLASS="l">60</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                                        ByteArrayInputStream inputStream = new ByteArrayInputStream(featureXMLString.getBytes());</TD></TR><TR CLASS="z"><TD CLASS="l">62</TD><TD>                                        prefs = FeaturePreferences.fromXML(inputStream);</TD></TR><TR><TD CLASS="l">63</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">64</TD><TD>                                catch (CoreException e)</TD></TR><TR><TD CLASS="l">65</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>                                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">67</TD><TD>                                }</TD></TR><TR><TD CLASS="l">68</TD><TD>                        }</TD></TR><TR><TD CLASS="l">69</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                        String propXMLString = JAXPLaunchingPlugin.getDefault().getPluginPreferences().getString(JAXPRuntime.PREF_OUTPUT_PROPERTIES_XML);</TD></TR><TR><TD CLASS="l">71</TD><TD>                        // If the preference was found, load VMs from it into memory</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                        OutputPropertyPreferences outputprefs = null;</TD></TR><TR CLASS="c"><TD CLASS="l">73</TD><TD>                        if (propXMLString.length() &gt; 0)</TD></TR><TR><TD CLASS="l">74</TD><TD>                        {</TD></TR><TR><TD CLASS="l">75</TD><TD>                                try</TD></TR><TR><TD CLASS="l">76</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">77</TD><TD>                                        ByteArrayInputStream inputStream = new ByteArrayInputStream(propXMLString.getBytes());</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>                                        outputprefs = OutputPropertyPreferences.fromXML(inputStream);</TD></TR><TR><TD CLASS="l">79</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>                                catch (CoreException e)</TD></TR><TR><TD CLASS="l">81</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">82</TD><TD>                                        JAXPLaunchingPlugin.log(e);</TD></TR><TR><TD CLASS="l">83</TD><TD>                                }</TD></TR><TR><TD CLASS="l">84</TD><TD>                        }</TD></TR><TR><TD CLASS="l">85</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                        for (Iterator&lt;IConfigurationElement&gt; iter = elements.iterator(); iter.hasNext();)</TD></TR><TR><TD CLASS="l">87</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                                IConfigurationElement element = (IConfigurationElement) iter.next();</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                                String id = element.getAttribute(ProcessorTypeRegistryReader.ATT_ID);</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                                String label = element.getAttribute(ProcessorTypeRegistryReader.ATT_LABEL);</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>                                Map&lt;String, String&gt; featureValues = new HashMap&lt;String, String&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                                Map&lt;String, String&gt; propertyValues = new HashMap&lt;String, String&gt;();</TD></TR><TR CLASS="p"><TD TITLE="85% line coverage (22 out of 26 instructions)" CLASS="l">93</TD><TD TITLE="85% line coverage (22 out of 26 instructions)">                                if (prefs != null &amp;&amp; prefs.getFeaturesValues(id) != null)</TD></TR><TR CLASS="z"><TD CLASS="l">94</TD><TD>                                        featureValues.putAll(prefs.getFeaturesValues(id));</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                                if (outputprefs != null &amp;&amp; outputprefs.getOutputPropertyValues(id) != null)</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                                        propertyValues.putAll(outputprefs.getOutputPropertyValues(id));</TD></TR><TR><TD CLASS="l">97</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                                String outputProperties = element.getAttribute(ProcessorTypeRegistryReader.ATT_OUTPUT_PROPERTIES);</TD></TR><TR CLASS="c"><TD CLASS="l">99</TD><TD>                                URL outputPropertiesURL = FileLocator.find(Platform.getBundle(element.getContributor().getName()), new Path(outputProperties), null);</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                                String featureProperties = element.getAttribute(ProcessorTypeRegistryReader.ATT_ATTRIBUTE_PROPERTIES);</TD></TR><TR CLASS="c"><TD CLASS="l">101</TD><TD>                                URL featurePropertiesURL = FileLocator.find(Platform.getBundle(element.getContributor().getName()), new Path(featureProperties), null);</TD></TR><TR><TD CLASS="l">102</TD><TD>                                </TD></TR><TR CLASS="c"><TD CLASS="l">103</TD><TD>                                List&lt;ITransformerFactory&gt; transFactoryList = new ArrayList&lt;ITransformerFactory&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">104</TD><TD>                                IConfigurationElement[] transFactEls = element.getChildren(ProcessorTypeRegistryReader.EL_TRANSFORMER_FACTORY);</TD></TR><TR CLASS="c"><TD CLASS="l">105</TD><TD>                                for (IConfigurationElement transFactEl : transFactEls)</TD></TR><TR><TD CLASS="l">106</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">107</TD><TD>                                        String transFactoryName = transFactEl.getAttribute(ProcessorTypeRegistryReader.ATT_TRANSFORMER_FACTORY_NAME);</TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                                        String transFactoryClass = transFactEl.getAttribute(ProcessorTypeRegistryReader.ATT_TRANSFORMER_FACTORY_CLASS);</TD></TR><TR CLASS="c"><TD CLASS="l">109</TD><TD>                                        transFactoryList.add(new TransformerFactory(transFactoryName,transFactoryClass));</TD></TR><TR><TD CLASS="l">110</TD><TD>                                }</TD></TR><TR><TD CLASS="l">111</TD><TD>                                </TD></TR><TR CLASS="c"><TD CLASS="l">112</TD><TD>                                types.add(new ProcessorType(id, label, featurePropertiesURL, outputPropertiesURL, featureValues, propertyValues, transFactoryList.toArray(new ITransformerFactory[0])));</TD></TR><TR><TD CLASS="l">113</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">114</TD><TD>                        installTypes = types.toArray(new IProcessorType[0]);</TD></TR><TR><TD CLASS="l">115</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">116</TD><TD>                return installTypes;</TD></TR><TR><TD CLASS="l"><A NAME="1">117</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">118</TD><TD> </TD></TR><TR><TD CLASS="l">119</TD><TD>        public IProcessorType[] getProcessorTypesExclJREDefault()</TD></TR><TR><TD CLASS="l">120</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">121</TD><TD>                IProcessorType[] installTypes = getProcessorTypes();</TD></TR><TR CLASS="z"><TD CLASS="l">122</TD><TD>                List&lt;IProcessorType&gt; exclTypes = new ArrayList&lt;IProcessorType&gt;(installTypes.length - 1);</TD></TR><TR CLASS="z"><TD CLASS="l">123</TD><TD>                for (IProcessorType type : installTypes)</TD></TR><TR><TD CLASS="l">124</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">125</TD><TD>                        if (!type.isJREDefault())</TD></TR><TR CLASS="z"><TD CLASS="l">126</TD><TD>                                exclTypes.add(type);</TD></TR><TR><TD CLASS="l">127</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">128</TD><TD>                return (IProcessorType[]) exclTypes.toArray(new IProcessorType[0]);</TD></TR><TR><TD CLASS="l"><A NAME="5">129</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">130</TD><TD> </TD></TR><TR><TD CLASS="l">131</TD><TD>        public void addType(IConfigurationElement element)</TD></TR><TR><TD CLASS="l">132</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">133</TD><TD>                elements.add(element);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">134</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">135</TD><TD> </TD></TR><TR><TD CLASS="l">136</TD><TD>        public IProcessorType getProcessorType(String id)</TD></TR><TR><TD CLASS="l">137</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">138</TD><TD>                IProcessorType[] installTypes = getProcessorTypes();</TD></TR><TR CLASS="p"><TD TITLE="96% line coverage (23 out of 24 instructions)" CLASS="l">139</TD><TD TITLE="96% line coverage (23 out of 24 instructions)">                for (IProcessorType type : installTypes)</TD></TR><TR><TD CLASS="l">140</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">141</TD><TD>                        if (type.getId().equals(id))</TD></TR><TR CLASS="c"><TD CLASS="l">142</TD><TD>                                return type;</TD></TR><TR><TD CLASS="l">143</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                return null;</TD></TR><TR><TD CLASS="l">145</TD><TD>        }</TD></TR><TR><TD CLASS="l">146</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11e.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11e.html
deleted file mode 100644
index 026648f..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11e.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">InvokerRegistry.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>InvokerRegistry.java</TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">78%  (29/37)</TD><TD>89%  (8/9)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">InvokerRegistry</A></TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD CLASS="h">78%  (29/37)</TD><TD>89%  (8/9)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getProcessorInvokers (): IProcessorInvoker []</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">InvokerRegistry (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (15/15)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#3">addInvokerDescriptor (IProcessorInvoker): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getProcessorInvoker (String): IProcessorInvoker</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.jaxp.launching.internal.registry;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">15</TD><TD> </TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.xsl.jaxp.launching.IProcessorInvoker;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">18</A></TD><TD>public class InvokerRegistry</TD></TR><TR><TD CLASS="l">19</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l">20</TD><TD>        private final Map&lt;String, IProcessorInvoker&gt; invokers = new HashMap&lt;String, IProcessorInvoker&gt;();</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">22</TD><TD>        public InvokerRegistry()</TD></TR><TR><TD CLASS="l">23</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">24</TD><TD>                InvokerRegistryReader registryReader = new InvokerRegistryReader();</TD></TR><TR CLASS="c"><TD CLASS="l">25</TD><TD>                registryReader.addConfigs(this);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="4">26</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>        public IProcessorInvoker getProcessorInvoker(String id)</TD></TR><TR><TD CLASS="l">29</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">30</TD><TD>                return (IProcessorInvoker) invokers.get(id);</TD></TR><TR><TD CLASS="l"><A NAME="1">31</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">32</TD><TD> </TD></TR><TR><TD CLASS="l">33</TD><TD>        public IProcessorInvoker[] getProcessorInvokers()</TD></TR><TR><TD CLASS="l">34</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">35</TD><TD>                return (IProcessorInvoker[]) invokers.values().toArray(new IProcessorInvoker[0]);</TD></TR><TR><TD CLASS="l"><A NAME="3">36</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR><TD CLASS="l">38</TD><TD>        public void addInvokerDescriptor(IProcessorInvoker desc)</TD></TR><TR><TD CLASS="l">39</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>                invokers.put(desc.getId(), desc);</TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>        }</TD></TR><TR><TD CLASS="l">42</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="30.html">org.eclipse.wst.xsl.jaxp.launching.internal.registry</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11f.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11f.html
deleted file mode 100644
index fc1b4c3..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/11f.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="31.html">org.eclipse.wst.xsl.core.internal.parser</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLSourceParser.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLSourceParser.java</TD><TD>100% (1/1)</TD><TD CLASS="h">50%  (2/4)</TD><TD CLASS="h">50%  (213/422)</TD><TD CLASS="h">48%  (41.7/87)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLSourceParser</A></TD><TD>100% (1/1)</TD><TD CLASS="h">50%  (2/4)</TD><TD CLASS="h">50%  (213/422)</TD><TD CLASS="h">48%  (41.7/87)</TD></TR><TR><TD CLASS="f"><A HREF="#1">newInstance (): RegionParser</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/11)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">setTokenizer (BlockTokenizer): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">parseNodes (): IStructuredDocumentRegion</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">52%  (210/404)</TD><TD CLASS="h">50%  (39.7/80)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">XSLSourceParser (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Standards for Technology in Automotive Retail and others.</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     David Carver - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *     </TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>package org.eclipse.wst.xsl.core.internal.parser;</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.wst.sse.core.internal.ltk.parser.BlockTokenizer;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.sse.core.internal.ltk.parser.RegionParser;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionContainer;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.wst.sse.core.internal.util.Debug;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.wst.xml.core.internal.parser.XMLSourceParser;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">24</A></TD><TD>public class XSLSourceParser extends XMLSourceParser {</TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR><TD CLASS="l">27</TD><TD>        public XSLSourceParser() {</TD></TR><TR CLASS="c"><TD CLASS="l">28</TD><TD>                super();</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="1">29</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">30</TD><TD>        </TD></TR><TR><TD CLASS="l">31</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">32</TD><TD>        public RegionParser newInstance() {</TD></TR><TR CLASS="z"><TD CLASS="l">33</TD><TD>                XSLSourceParser newInstance = new XSLSourceParser();</TD></TR><TR CLASS="z"><TD CLASS="l">34</TD><TD>                newInstance.setTokenizer(getTokenizer().newInstance());</TD></TR><TR CLASS="z"><TD CLASS="l">35</TD><TD>                return newInstance;</TD></TR><TR><TD CLASS="l"><A NAME="2">36</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">37</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">38</TD><TD>        protected void setTokenizer(BlockTokenizer newTokenizer) {</TD></TR><TR><TD CLASS="l">39</TD><TD>                // TODO Auto-generated method stub</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>                super.setTokenizer(newTokenizer);</TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>        }</TD></TR><TR><TD CLASS="l">42</TD><TD>        </TD></TR><TR><TD CLASS="l">43</TD><TD>        protected IStructuredDocumentRegion parseNodes() {</TD></TR><TR><TD CLASS="l"><A NAME="3">44</A></TD><TD>                // regions are initially reported as complete offsets within the</TD></TR><TR><TD CLASS="l">45</TD><TD>                // scanned input</TD></TR><TR><TD CLASS="l">46</TD><TD>                // they are adjusted here to be indexes from the currentNode's start</TD></TR><TR><TD CLASS="l">47</TD><TD>                // offset</TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>                IStructuredDocumentRegion headNode = null;</TD></TR><TR CLASS="c"><TD CLASS="l">49</TD><TD>                IStructuredDocumentRegion lastNode = null;</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                ITextRegion region = null;</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                IStructuredDocumentRegion currentNode = null;</TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                String type = null;</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">54</TD><TD>                while ((region = getNextRegion()) != null) {</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                        type = region.getType();</TD></TR><TR><TD CLASS="l">56</TD><TD>                        // these types (might) demand a IStructuredDocumentRegion for each</TD></TR><TR><TD CLASS="l">57</TD><TD>                        // of them</TD></TR><TR><TD CLASS="l">58</TD><TD>                        </TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>                        if (type == DOMRegionContext.BLOCK_TEXT) {</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                                if (currentNode != null &amp;&amp; currentNode.getLastRegion().getType() == DOMRegionContext.BLOCK_TEXT) {</TD></TR><TR><TD CLASS="l">61</TD><TD>                                        // multiple block texts indicated embedded containers; no</TD></TR><TR><TD CLASS="l">62</TD><TD>                                        // new IStructuredDocumentRegion</TD></TR><TR CLASS="z"><TD CLASS="l">63</TD><TD>                                        currentNode.addRegion(region);</TD></TR><TR CLASS="z"><TD CLASS="l">64</TD><TD>                                        currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>                                        region.adjustStart(-currentNode.getStart());</TD></TR><TR><TD CLASS="l">66</TD><TD>                                        // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">67</TD><TD>                                        // region.setParent(currentNode);</TD></TR><TR><TD CLASS="l">68</TD><TD>                                }</TD></TR><TR><TD CLASS="l">69</TD><TD>                                else {</TD></TR><TR><TD CLASS="l">70</TD><TD>                                        // not continuing a IStructuredDocumentRegion</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                                        if (currentNode != null) {</TD></TR><TR><TD CLASS="l">72</TD><TD>                                                // ensure that any existing node is at least</TD></TR><TR><TD CLASS="l">73</TD><TD>                                                // terminated</TD></TR><TR CLASS="z"><TD CLASS="l">74</TD><TD>                                                if (!currentNode.isEnded()) {</TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>                                                        currentNode.setLength(region.getStart() - currentNode.getStart());</TD></TR><TR><TD CLASS="l">76</TD><TD>                                                        // fCurrentNode.setTextLength(region.getStart() -</TD></TR><TR><TD CLASS="l">77</TD><TD>                                                        // fCurrentNode.getStart());</TD></TR><TR><TD CLASS="l">78</TD><TD>                                                }</TD></TR><TR CLASS="z"><TD CLASS="l">79</TD><TD>                                                lastNode = currentNode;</TD></TR><TR><TD CLASS="l">80</TD><TD>                                        }</TD></TR><TR CLASS="z"><TD CLASS="l">81</TD><TD>                                        fireNodeParsed(currentNode);</TD></TR><TR CLASS="z"><TD CLASS="l">82</TD><TD>                                        currentNode = createStructuredDocumentRegion(type);</TD></TR><TR CLASS="z"><TD CLASS="l">83</TD><TD>                                        if (lastNode != null) {</TD></TR><TR CLASS="z"><TD CLASS="l">84</TD><TD>                                                lastNode.setNext(currentNode);</TD></TR><TR><TD CLASS="l">85</TD><TD>                                        }</TD></TR><TR CLASS="z"><TD CLASS="l">86</TD><TD>                                        currentNode.setPrevious(lastNode);</TD></TR><TR CLASS="z"><TD CLASS="l">87</TD><TD>                                        currentNode.setStart(region.getStart());</TD></TR><TR CLASS="z"><TD CLASS="l">88</TD><TD>                                        currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="z"><TD CLASS="l">89</TD><TD>                                        currentNode.setEnded(true);</TD></TR><TR CLASS="z"><TD CLASS="l">90</TD><TD>                                        region.adjustStart(-currentNode.getStart());</TD></TR><TR CLASS="z"><TD CLASS="l">91</TD><TD>                                        currentNode.addRegion(region);</TD></TR><TR><TD CLASS="l">92</TD><TD>                                        // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">93</TD><TD>                                        // region.setParent(currentNode);</TD></TR><TR><TD CLASS="l">94</TD><TD>                                }</TD></TR><TR><TD CLASS="l">95</TD><TD>                        }</TD></TR><TR><TD CLASS="l">96</TD><TD>                        // the following contexts OPEN new StructuredDocumentRegions</TD></TR><TR CLASS="c"><TD CLASS="l">97</TD><TD>                        else if ((currentNode != null &amp;&amp; currentNode.isEnded()) || (type == DOMRegionContext.XML_CONTENT) || (type == DOMRegionContext.XML_CHAR_REFERENCE) || (type == DOMRegionContext.XML_ENTITY_REFERENCE) || (type == DOMRegionContext.XML_PI_OPEN) || (type == DOMRegionContext.XML_TAG_OPEN) || (type == DOMRegionContext.XML_END_TAG_OPEN) || (type == DOMRegionContext.XML_COMMENT_OPEN) || (type == DOMRegionContext.XML_CDATA_OPEN) || (type == DOMRegionContext.XML_DECLARATION_OPEN)) {</TD></TR><TR CLASS="c"><TD CLASS="l">98</TD><TD>                                if (currentNode != null) {</TD></TR><TR><TD CLASS="l">99</TD><TD>                                        // ensure that any existing node is at least terminated</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                                        if (!currentNode.isEnded()) {</TD></TR><TR CLASS="c"><TD CLASS="l">101</TD><TD>                                                currentNode.setLength(region.getStart() - currentNode.getStart());</TD></TR><TR><TD CLASS="l">102</TD><TD>                                                // fCurrentNode.setTextLength(region.getStart() -</TD></TR><TR><TD CLASS="l">103</TD><TD>                                                // fCurrentNode.getStart());</TD></TR><TR><TD CLASS="l">104</TD><TD>                                        }</TD></TR><TR CLASS="c"><TD CLASS="l">105</TD><TD>                                        lastNode = currentNode;</TD></TR><TR><TD CLASS="l">106</TD><TD>                                }</TD></TR><TR CLASS="c"><TD CLASS="l">107</TD><TD>                                fireNodeParsed(currentNode);</TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                                currentNode = createStructuredDocumentRegion(type);</TD></TR><TR CLASS="c"><TD CLASS="l">109</TD><TD>                                if (lastNode != null) {</TD></TR><TR CLASS="c"><TD CLASS="l">110</TD><TD>                                        lastNode.setNext(currentNode);</TD></TR><TR><TD CLASS="l">111</TD><TD>                                }</TD></TR><TR CLASS="c"><TD CLASS="l">112</TD><TD>                                currentNode.setPrevious(lastNode);</TD></TR><TR CLASS="c"><TD CLASS="l">113</TD><TD>                                currentNode.setStart(region.getStart());</TD></TR><TR CLASS="c"><TD CLASS="l">114</TD><TD>                                currentNode.addRegion(region);</TD></TR><TR CLASS="c"><TD CLASS="l">115</TD><TD>                                currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="c"><TD CLASS="l">116</TD><TD>                                region.adjustStart(-currentNode.getStart());</TD></TR><TR><TD CLASS="l">117</TD><TD>                                // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">118</TD><TD>                                // region.setParent(currentNode);</TD></TR><TR><TD CLASS="l">119</TD><TD>                        }</TD></TR><TR><TD CLASS="l">120</TD><TD>                        // the following contexts neither open nor close</TD></TR><TR><TD CLASS="l">121</TD><TD>                        // StructuredDocumentRegions; just add to them</TD></TR><TR CLASS="c"><TD CLASS="l">122</TD><TD>                        else if ((type == DOMRegionContext.XML_TAG_NAME) || (type == DOMRegionContext.XML_TAG_ATTRIBUTE_NAME) || (type == DOMRegionContext.XML_TAG_ATTRIBUTE_EQUALS) || (type == DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE) || (type == DOMRegionContext.XML_COMMENT_TEXT) || (type == DOMRegionContext.XML_PI_CONTENT) || (type == DOMRegionContext.XML_DOCTYPE_INTERNAL_SUBSET)) {</TD></TR><TR CLASS="c"><TD CLASS="l">123</TD><TD>                                currentNode.addRegion(region);</TD></TR><TR CLASS="c"><TD CLASS="l">124</TD><TD>                                currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="c"><TD CLASS="l">125</TD><TD>                                region.adjustStart(-currentNode.getStart());</TD></TR><TR><TD CLASS="l">126</TD><TD>                                // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">127</TD><TD>                                // region.setParent(currentNode);</TD></TR><TR><TD CLASS="l">128</TD><TD>                        }</TD></TR><TR><TD CLASS="l">129</TD><TD>                        // the following contexts close off StructuredDocumentRegions</TD></TR><TR><TD CLASS="l">130</TD><TD>                        // cleanly</TD></TR><TR CLASS="p"><TD TITLE="67% line coverage (12 out of 18 instructions)" CLASS="l">131</TD><TD TITLE="67% line coverage (12 out of 18 instructions)">                        else if ((type == DOMRegionContext.XML_PI_CLOSE) || (type == DOMRegionContext.XML_TAG_CLOSE) || (type == DOMRegionContext.XML_EMPTY_TAG_CLOSE) || (type == DOMRegionContext.XML_COMMENT_CLOSE) || (type == DOMRegionContext.XML_DECLARATION_CLOSE) || (type == DOMRegionContext.XML_CDATA_CLOSE)) {</TD></TR><TR CLASS="c"><TD CLASS="l">132</TD><TD>                                currentNode.setEnded(true);</TD></TR><TR CLASS="c"><TD CLASS="l">133</TD><TD>                                currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="c"><TD CLASS="l">134</TD><TD>                                currentNode.addRegion(region);</TD></TR><TR CLASS="c"><TD CLASS="l">135</TD><TD>                                region.adjustStart(-currentNode.getStart());</TD></TR><TR><TD CLASS="l">136</TD><TD>                                // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">137</TD><TD>                                // region.setParent(currentNode);</TD></TR><TR><TD CLASS="l">138</TD><TD>                        }</TD></TR><TR><TD CLASS="l">139</TD><TD>                        // this is extremely rare, but valid</TD></TR><TR CLASS="z"><TD CLASS="l">140</TD><TD>                        else if (type == DOMRegionContext.WHITE_SPACE) {</TD></TR><TR CLASS="z"><TD CLASS="l">141</TD><TD>                                ITextRegion lastRegion = currentNode.getLastRegion();</TD></TR><TR><TD CLASS="l">142</TD><TD>                                // pack the embedded container with this region</TD></TR><TR CLASS="z"><TD CLASS="l">143</TD><TD>                                if (lastRegion instanceof ITextRegionContainer) {</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                                        ITextRegionContainer container = (ITextRegionContainer) lastRegion;</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                                        container.getRegions().add(region);</TD></TR><TR><TD CLASS="l">146</TD><TD>                                        // containers must have parent set ...</TD></TR><TR><TD CLASS="l">147</TD><TD>                                        // setting for EACH subregion is redundent, but not sure</TD></TR><TR><TD CLASS="l">148</TD><TD>                                        // where else to do, so will do here for now.</TD></TR><TR CLASS="z"><TD CLASS="l">149</TD><TD>                                        container.setParent(currentNode);</TD></TR><TR><TD CLASS="l">150</TD><TD>                                        // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">151</TD><TD>                                        // region.setParent(container);</TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                                        region.adjustStart(container.getLength() - region.getStart());</TD></TR><TR><TD CLASS="l">153</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">154</TD><TD>                                currentNode.getLastRegion().adjustLength(region.getLength());</TD></TR><TR CLASS="z"><TD CLASS="l">155</TD><TD>                                currentNode.adjustLength(region.getLength());</TD></TR><TR><TD CLASS="l">156</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">157</TD><TD>                        else if (type == DOMRegionContext.UNDEFINED &amp;&amp; currentNode != null) {</TD></TR><TR><TD CLASS="l">158</TD><TD>                                // skip on a very-first region situation as the default</TD></TR><TR><TD CLASS="l">159</TD><TD>                                // behavior is good enough</TD></TR><TR><TD CLASS="l">160</TD><TD>                                // combine with previous if also undefined</TD></TR><TR CLASS="z"><TD CLASS="l">161</TD><TD>                                if (currentNode.getLastRegion() != null &amp;&amp; currentNode.getLastRegion().getType() == DOMRegionContext.UNDEFINED) {</TD></TR><TR CLASS="z"><TD CLASS="l">162</TD><TD>                                        currentNode.getLastRegion().adjustLength(region.getLength());</TD></TR><TR CLASS="z"><TD CLASS="l">163</TD><TD>                                        currentNode.adjustLength(region.getLength());</TD></TR><TR><TD CLASS="l">164</TD><TD>                                }</TD></TR><TR><TD CLASS="l">165</TD><TD>                                // previous wasn't undefined</TD></TR><TR><TD CLASS="l">166</TD><TD>                                else {</TD></TR><TR CLASS="z"><TD CLASS="l">167</TD><TD>                                        currentNode.addRegion(region);</TD></TR><TR CLASS="z"><TD CLASS="l">168</TD><TD>                                        currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="z"><TD CLASS="l">169</TD><TD>                                        region.adjustStart(-currentNode.getStart());</TD></TR><TR><TD CLASS="l">170</TD><TD>                                }</TD></TR><TR><TD CLASS="l">171</TD><TD>                        }</TD></TR><TR><TD CLASS="l">172</TD><TD>                        else {</TD></TR><TR><TD CLASS="l">173</TD><TD>                                // if an unknown type is the first region in the document,</TD></TR><TR><TD CLASS="l">174</TD><TD>                                // ensure that a node exists</TD></TR><TR CLASS="z"><TD CLASS="l">175</TD><TD>                                if (currentNode == null) {</TD></TR><TR CLASS="z"><TD CLASS="l">176</TD><TD>                                        currentNode = createStructuredDocumentRegion(type);</TD></TR><TR CLASS="z"><TD CLASS="l">177</TD><TD>                                        currentNode.setStart(region.getStart());</TD></TR><TR><TD CLASS="l">178</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">179</TD><TD>                                currentNode.addRegion(region);</TD></TR><TR CLASS="z"><TD CLASS="l">180</TD><TD>                                currentNode.setLength(region.getStart() + region.getLength() - currentNode.getStart());</TD></TR><TR CLASS="z"><TD CLASS="l">181</TD><TD>                                region.adjustStart(-currentNode.getStart());</TD></TR><TR><TD CLASS="l">182</TD><TD>                                // DW 4/16/2003 regions no longer have parents</TD></TR><TR><TD CLASS="l">183</TD><TD>                                // region.setParent(currentNode);</TD></TR><TR><TD CLASS="l">184</TD><TD>                                if (Debug.debugTokenizer)</TD></TR><TR><TD CLASS="l">185</TD><TD>                                        System.out.println(getClass().getName() + &#34; found region of not specifically handled type &#34; + region.getType() + &#34; @ &#34; + region.getStart() + &#34;[&#34; + region.getLength() + &#34;]&#34;); //$NON-NLS-4$//$NON-NLS-3$//$NON-NLS-2$//$NON-NLS-1$</TD></TR><TR><TD CLASS="l">186</TD><TD>                                //$NON-NLS-3$//$NON-NLS-2$//$NON-NLS-1$</TD></TR><TR><TD CLASS="l">187</TD><TD>                        }</TD></TR><TR><TD CLASS="l">188</TD><TD> </TD></TR><TR><TD CLASS="l">189</TD><TD>                        // these regions also get their own node, so close them cleanly</TD></TR><TR><TD CLASS="l">190</TD><TD>                        // NOTE: these regions have new StructuredDocumentRegions created</TD></TR><TR><TD CLASS="l">191</TD><TD>                        // for them above; it may</TD></TR><TR><TD CLASS="l">192</TD><TD>                        // be more readable if that is handled here as well, but the</TD></TR><TR><TD CLASS="l">193</TD><TD>                        // current layout</TD></TR><TR><TD CLASS="l">194</TD><TD>                        // ensures that they open StructuredDocumentRegions the same way</TD></TR><TR CLASS="c"><TD CLASS="l">195</TD><TD>                        if ((type == DOMRegionContext.XML_CONTENT) || (type == DOMRegionContext.XML_CHAR_REFERENCE) || (type == DOMRegionContext.XML_ENTITY_REFERENCE)) {</TD></TR><TR CLASS="c"><TD CLASS="l">196</TD><TD>                                currentNode.setEnded(true);</TD></TR><TR><TD CLASS="l">197</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">198</TD><TD>                        if (headNode == null &amp;&amp; currentNode != null) {</TD></TR><TR CLASS="c"><TD CLASS="l">199</TD><TD>                                headNode = currentNode;</TD></TR><TR><TD CLASS="l">200</TD><TD>                        }</TD></TR><TR><TD CLASS="l">201</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">202</TD><TD>                if (currentNode != null) {</TD></TR><TR CLASS="c"><TD CLASS="l">203</TD><TD>                        fireNodeParsed(currentNode);</TD></TR><TR CLASS="c"><TD CLASS="l">204</TD><TD>                        currentNode.setPrevious(lastNode);</TD></TR><TR><TD CLASS="l">205</TD><TD>                }</TD></TR><TR><TD CLASS="l">206</TD><TD>                // fStringInput = null;</TD></TR><TR CLASS="c"><TD CLASS="l">207</TD><TD>                primReset();</TD></TR><TR CLASS="c"><TD CLASS="l">208</TD><TD>                return headNode;</TD></TR><TR><TD CLASS="l">209</TD><TD>        }</TD></TR><TR><TD CLASS="l">210</TD><TD>        </TD></TR><TR><TD CLASS="l">211</TD><TD>}</TD></TR><TR><TD CLASS="l">212</TD><TD> </TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="31.html">org.eclipse.wst.xsl.core.internal.parser</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12.html
deleted file mode 100644
index 803837a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR PACKAGE [<SPAN CLASS="in">org.eclipse.wst.xsl.internal.debug.ui.tabs.output</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>org.eclipse.wst.xsl.internal.debug.ui.tabs.output</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/27)</TD><TD CLASS="h">0%   (0/670)</TD><TD CLASS="h">0%   (0/162)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY SOURCE FILE</H3><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR CLASS="o"><TD><A HREF="8b.html">Messages.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD><A HREF="8c.html">OutputFileBlock.java</A></TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/20)</TD><TD CLASS="h">0%   (0/617)</TD><TD CLASS="h">0%   (0/144)</TD></TR><TR CLASS="o"><TD><A HREF="8d.html">OutputTab.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/46)</TD><TD CLASS="h">0%   (0/14)</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/120.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/120.html
deleted file mode 100644
index 5163770..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/120.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">Misc.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>Misc.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/70)</TD><TD CLASS="h">0%   (0/20)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">Misc</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/70)</TD><TD CLASS="h">0%   (0/20)</TD></TR><TR><TD CLASS="f"><A HREF="#1">&lt;static initializer&gt;</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">Misc (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">close (InputStream): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">close (OutputStream): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#5">log (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">log (StringBuffer): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/7)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR><TD CLASS="f"><A HREF="#7">niy (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/9)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">timestampIt (String): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/24)</TD><TD CLASS="h">0%   (0/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007, 2008 IBM Corporation and others.</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Gary Karasiuk (IBM Corporation) - initial implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *     Jesper Steen M�ller - adapted for XSL</TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>package org.eclipse.wst.xsl.launching.tests;</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.io.OutputStream;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.text.DateFormat;</TD></TR><TR><TD CLASS="l">19</TD><TD>import java.text.SimpleDateFormat;</TD></TR><TR><TD CLASS="l">20</TD><TD>import java.util.Date;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>/**</TD></TR><TR><TD CLASS="l"><A NAME="0">23</A></TD><TD> * Some miscellaneous helper methods. </TD></TR><TR><TD CLASS="l">24</TD><TD> * @author karasiuk</TD></TR><TR><TD CLASS="l"><A NAME="1">25</A></TD><TD> *</TD></TR><TR><TD CLASS="l">26</TD><TD> */</TD></TR><TR CLASS="z"><TD CLASS="l">27</TD><TD>public class Misc {</TD></TR><TR><TD CLASS="l"><A NAME="3">28</A></TD><TD>        </TD></TR><TR CLASS="z"><TD CLASS="l">29</TD><TD>        private static DateFormat _df = new SimpleDateFormat(&#34;HH:mm:ss.SSSS&#34;); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">30</TD><TD>        </TD></TR><TR><TD CLASS="l">31</TD><TD>        public static void close(InputStream in){</TD></TR><TR CLASS="z"><TD CLASS="l">32</TD><TD>                if (in == null)return;</TD></TR><TR><TD CLASS="l">33</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">34</TD><TD>                        in.close();</TD></TR><TR><TD CLASS="l">35</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">36</TD><TD>                catch (IOException e){</TD></TR><TR><TD CLASS="l">37</TD><TD>                        // eat it</TD></TR><TR><TD CLASS="l"><A NAME="4">38</A></TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">39</TD><TD>        }</TD></TR><TR><TD CLASS="l">40</TD><TD> </TD></TR><TR><TD CLASS="l">41</TD><TD>        public static void close(OutputStream out) {</TD></TR><TR CLASS="z"><TD CLASS="l">42</TD><TD>                if (out == null)return;</TD></TR><TR><TD CLASS="l">43</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>                        out.close();</TD></TR><TR><TD CLASS="l">45</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">46</TD><TD>                catch (IOException e){</TD></TR><TR><TD CLASS="l">47</TD><TD>                        // eat it</TD></TR><TR><TD CLASS="l">48</TD><TD>                }                </TD></TR><TR CLASS="z"><TD CLASS="l">49</TD><TD>        }</TD></TR><TR><TD CLASS="l">50</TD><TD>        </TD></TR><TR><TD CLASS="l">51</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="5">52</A></TD><TD>         * Write a line to the console for debugging.</TD></TR><TR><TD CLASS="l">53</TD><TD>         * @param line</TD></TR><TR><TD CLASS="l">54</TD><TD>         */</TD></TR><TR><TD CLASS="l">55</TD><TD>        public static void log(String line){</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="8">56</A></TD><TD>                System.err.println(timestampIt(line));  </TD></TR><TR CLASS="z"><TD CLASS="l">57</TD><TD>        }</TD></TR><TR><TD CLASS="l">58</TD><TD>        </TD></TR><TR><TD CLASS="l">59</TD><TD>        public static String timestampIt(String line){</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                Date date = new Date();</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                long thread = Thread.currentThread().getId();</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="6">62</A></TD><TD>                return _df.format(date) + &#34; &#34; + thread + &#34; &#34; + line;//$NON-NLS-1$//$NON-NLS-2$</TD></TR><TR><TD CLASS="l">63</TD><TD>        }</TD></TR><TR><TD CLASS="l">64</TD><TD>        </TD></TR><TR><TD CLASS="l">65</TD><TD>        public static void log(StringBuffer b){</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>                log(b.toString());</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="7">67</A></TD><TD>                b.setLength(0);</TD></TR><TR CLASS="z"><TD CLASS="l">68</TD><TD>        }</TD></TR><TR><TD CLASS="l">69</TD><TD>        </TD></TR><TR><TD CLASS="l">70</TD><TD>        public static void niy(String msg){</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                if (msg == null)msg = &#34;Sorry, this function is not implemented yet&#34;; //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">72</TD><TD>                throw new RuntimeException(msg);</TD></TR><TR><TD CLASS="l">73</TD><TD>        }</TD></TR><TR><TD CLASS="l">74</TD><TD>        </TD></TR><TR><TD CLASS="l">75</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/121.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/121.html
deleted file mode 100644
index b7bbf3b..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/121.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">Activator.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>Activator.java</TD><TD>100% (1/1)</TD><TD CLASS="h">60%  (3/5)</TD><TD CLASS="h">48%  (15/31)</TD><TD CLASS="h">67%  (8/12)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">Activator</A></TD><TD>100% (1/1)</TD><TD CLASS="h">60%  (3/5)</TD><TD CLASS="h">48%  (15/31)</TD><TD CLASS="h">67%  (8/12)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getDefault (): Activator</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">handleException (Exception): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/14)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR><TD CLASS="f"><A HREF="#0">Activator (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">start (BundleContext): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (3/3)</TD></TR><TR><TD CLASS="f"><A HREF="#5">stop (BundleContext): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007, 2008 IBM Corporation and others.</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Gary Karasiuk (IBM Corporation) - initial implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *     Jesper Steen M�ller - adapted for XSL</TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>package org.eclipse.wst.xsl.launching.tests;</TD></TR><TR><TD CLASS="l">14</TD><TD> </TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.core.runtime.IStatus;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.core.runtime.Plugin;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.core.runtime.Status;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.osgi.framework.BundleContext;</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>/**</TD></TR><TR><TD CLASS="l">21</TD><TD> * The activator class controls the plug-in life cycle</TD></TR><TR><TD CLASS="l">22</TD><TD> */</TD></TR><TR><TD CLASS="l">23</TD><TD>public class Activator extends Plugin {</TD></TR><TR><TD CLASS="l">24</TD><TD> </TD></TR><TR><TD CLASS="l">25</TD><TD>        /** org.eclipse.wst.xsl.launching.tests - plug-in id */</TD></TR><TR><TD CLASS="l">26</TD><TD>        public static final String PLUGIN_ID = &#34;org.eclipse.wst.xsl.launching.tests&#34;;</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>        // The shared instance</TD></TR><TR><TD CLASS="l">29</TD><TD>        private static Activator plugin;</TD></TR><TR><TD CLASS="l"><A NAME="0">30</A></TD><TD>        </TD></TR><TR><TD CLASS="l">31</TD><TD>        /**</TD></TR><TR><TD CLASS="l">32</TD><TD>         * The constructor</TD></TR><TR><TD CLASS="l">33</TD><TD>         */</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>        public Activator() {</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>        }</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR><TD CLASS="l">37</TD><TD>        /*</TD></TR><TR><TD CLASS="l"><A NAME="4">38</A></TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">39</TD><TD>         * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)</TD></TR><TR><TD CLASS="l">40</TD><TD>         */</TD></TR><TR><TD CLASS="l">41</TD><TD>        public void start(BundleContext context) throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                super.start(context);</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                plugin = this;</TD></TR><TR CLASS="c"><TD CLASS="l">44</TD><TD>        }</TD></TR><TR><TD CLASS="l">45</TD><TD> </TD></TR><TR><TD CLASS="l">46</TD><TD>        /*</TD></TR><TR><TD CLASS="l"><A NAME="5">47</A></TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">48</TD><TD>         * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)</TD></TR><TR><TD CLASS="l">49</TD><TD>         */</TD></TR><TR><TD CLASS="l">50</TD><TD>        public void stop(BundleContext context) throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                plugin = null;</TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                super.stop(context);</TD></TR><TR CLASS="c"><TD CLASS="l">53</TD><TD>        }</TD></TR><TR><TD CLASS="l">54</TD><TD> </TD></TR><TR><TD CLASS="l">55</TD><TD>        /**</TD></TR><TR><TD CLASS="l">56</TD><TD>         * Returns the shared instance</TD></TR><TR><TD CLASS="l"><A NAME="1">57</A></TD><TD>         *</TD></TR><TR><TD CLASS="l">58</TD><TD>         * @return the shared instance</TD></TR><TR><TD CLASS="l">59</TD><TD>         */</TD></TR><TR><TD CLASS="l">60</TD><TD>        public static Activator getDefault() {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="2">61</A></TD><TD>                return plugin;</TD></TR><TR><TD CLASS="l">62</TD><TD>        }</TD></TR><TR><TD CLASS="l">63</TD><TD>        </TD></TR><TR><TD CLASS="l">64</TD><TD>        public void handleException(Exception e){</TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>                Status status = new Status(IStatus.ERROR, PLUGIN_ID, e.getLocalizedMessage(), e);</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>                getLog().log(status);</TD></TR><TR CLASS="z"><TD CLASS="l">67</TD><TD>        }</TD></TR><TR><TD CLASS="l">68</TD><TD> </TD></TR><TR><TD CLASS="l">69</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/122.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/122.html
deleted file mode 100644
index b281d23..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/122.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">TestEnvironment.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>TestEnvironment.java</TD><TD>100% (2/2)</TD><TD CLASS="h">60%  (9/15)</TD><TD CLASS="h">63%  (128/204)</TD><TD CLASS="h">58%  (30.3/52)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">TestEnvironment</A></TD><TD>100% (1/1)</TD><TD CLASS="h">54%  (7/13)</TD><TD CLASS="h">59%  (110/186)</TD><TD CLASS="h">55%  (26.3/48)</TD></TR><TR><TD CLASS="f"><A HREF="#1">addFolder (IPath, String): IPath</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/10)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">createFolder (IPath): IFolder</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/22)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR><TD CLASS="f"><A HREF="#3">fullBuild (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getWorkspace (): IWorkspace</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">incrementalBuild (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">waitForBuild (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/15)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR><TD CLASS="f"><A HREF="#7">createFileFromResource (IPath, String): IFile</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">74%  (20/27)</TD><TD>93%  (4.6/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">createFile (IPath, byte []): IFile</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">75%  (21/28)</TD><TD>93%  (4.7/5)</TD></TR><TR><TD CLASS="f"><A HREF="#0">TestEnvironment (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (19/19)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">addFile (IPath, String, String): IPath</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (13/13)</TD><TD>100% (3/3)</TD></TR><TR><TD CLASS="f"><A HREF="#b">addFileFromResource (IPath, String, String): IPath</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (11/11)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">createProject (String): IProject</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (25/25)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#d">dispose (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (1/1)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#e">TestEnvironment$1</A></TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>100% (18/18)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#e">TestEnvironment$1 (TestEnvironment, IProject): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#10">run (IProgressMonitor): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR CLASS="c"><TD CLASS="l"><A NAME="e">1</A></TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007, 2008 IBM Corporation and others.</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Gary Karasiuk (IBM Corporation) - initial implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *     Jesper Steen M�ller - adapted for XSL</TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.launching.tests;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.ByteArrayInputStream;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.io.UnsupportedEncodingException;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.util.Iterator;</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.resources.IFolder;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.core.resources.IProject;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.resources.IWorkspace;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.resources.IWorkspaceRunnable;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.resources.IncrementalProjectBuilder;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.core.resources.ResourcesPlugin;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.core.runtime.IPath;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.core.runtime.IProgressMonitor;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.core.runtime.jobs.Job;</TD></TR><TR><TD CLASS="l">31</TD><TD> </TD></TR><TR><TD CLASS="l">32</TD><TD>public class TestEnvironment {</TD></TR><TR><TD CLASS="l">33</TD><TD>        </TD></TR><TR><TD CLASS="l">34</TD><TD>        public static final boolean DEBUG = true;</TD></TR><TR><TD CLASS="l"><A NAME="0">35</A></TD><TD>        </TD></TR><TR><TD CLASS="l">36</TD><TD>        private IWorkspace        _workspace;</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>        private HashMap&lt;String, IProject&gt; _projects = new HashMap&lt;String, IProject&gt;(20);</TD></TR><TR><TD CLASS="l">38</TD><TD>        </TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>        public TestEnvironment() throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>                _workspace = ResourcesPlugin.getWorkspace();</TD></TR><TR><TD CLASS="l">41</TD><TD>                if (DEBUG){</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                        _workspace.getRoot().delete(true, true, null);</TD></TR><TR><TD CLASS="l"><A NAME="1">43</A></TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">44</TD><TD>        }</TD></TR><TR><TD CLASS="l">45</TD><TD>        </TD></TR><TR><TD CLASS="l">46</TD><TD>        public IPath addFolder(IPath root, String folderName) throws CoreException {</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>                IPath path = root.append(folderName);</TD></TR><TR CLASS="z"><TD CLASS="l">48</TD><TD>                createFolder(path);</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="5">49</A></TD><TD>                return path;</TD></TR><TR><TD CLASS="l">50</TD><TD>        }</TD></TR><TR><TD CLASS="l">51</TD><TD>        </TD></TR><TR><TD CLASS="l">52</TD><TD>        public void incrementalBuild() throws CoreException{</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">53</A></TD><TD>                getWorkspace().build(IncrementalProjectBuilder.INCREMENTAL_BUILD, null);</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>        }</TD></TR><TR><TD CLASS="l">55</TD><TD>        </TD></TR><TR><TD CLASS="l">56</TD><TD>        public void fullBuild() throws CoreException{</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="6">57</A></TD><TD>                getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, null);</TD></TR><TR CLASS="z"><TD CLASS="l">58</TD><TD>        }</TD></TR><TR><TD CLASS="l">59</TD><TD>        </TD></TR><TR><TD CLASS="l">60</TD><TD>        public void waitForBuild(){</TD></TR><TR CLASS="z"><TD CLASS="l">61</TD><TD>                boolean wasInterrupted = false;</TD></TR><TR CLASS="z"><TD CLASS="l">62</TD><TD>                do {</TD></TR><TR><TD CLASS="l">63</TD><TD>                        try {</TD></TR><TR CLASS="z"><TD CLASS="l">64</TD><TD>                                Job.getJobManager().join(ResourcesPlugin.FAMILY_MANUAL_BUILD, null);</TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>                                wasInterrupted = false;</TD></TR><TR><TD CLASS="l">66</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">67</TD><TD>                        catch (InterruptedException e){</TD></TR><TR CLASS="z"><TD CLASS="l">68</TD><TD>                                wasInterrupted = true;</TD></TR><TR><TD CLASS="l">69</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="2">70</A></TD><TD>                } while(wasInterrupted);</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>        }</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR><TD CLASS="l">73</TD><TD>        private IFolder createFolder(IPath path) throws CoreException {</TD></TR><TR CLASS="z"><TD CLASS="l">74</TD><TD>                if (path.segmentCount() &lt;= 1)return null;</TD></TR><TR><TD CLASS="l">75</TD><TD>                </TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>                IFolder folder = _workspace.getRoot().getFolder(path);</TD></TR><TR CLASS="z"><TD CLASS="l">77</TD><TD>                if (!folder.exists()){</TD></TR><TR CLASS="z"><TD CLASS="l">78</TD><TD>                        folder.create(true, true, null);</TD></TR><TR><TD CLASS="l">79</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="c">80</A></TD><TD>                return folder;</TD></TR><TR><TD CLASS="l">81</TD><TD>        }</TD></TR><TR><TD CLASS="l">82</TD><TD> </TD></TR><TR><TD CLASS="l">83</TD><TD>        public IProject createProject(String name) throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="10">84</A></TD><TD>                final IProject project = _workspace.getRoot().getProject(name);</TD></TR><TR CLASS="c"><TD CLASS="l">85</TD><TD>                IWorkspaceRunnable create = new IWorkspaceRunnable() {</TD></TR><TR><TD CLASS="l">86</TD><TD> </TD></TR><TR><TD CLASS="l">87</TD><TD>                        public void run(IProgressMonitor monitor) throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                                project.create(monitor);</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                                project.open(monitor);        </TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                        }                </TD></TR><TR><TD CLASS="l">91</TD><TD>                };</TD></TR><TR><TD CLASS="l">92</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                _workspace.run(create, null);</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                _projects.put(name, project);</TD></TR><TR><TD CLASS="l">95</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="d">96</A></TD><TD>                return project;</TD></TR><TR><TD CLASS="l">97</TD><TD>        }</TD></TR><TR><TD CLASS="l">98</TD><TD> </TD></TR><TR><TD CLASS="l">99</TD><TD>        public void dispose() throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                if (DEBUG)return;</TD></TR><TR><TD CLASS="l">101</TD><TD>                for (Iterator&lt;IProject&gt; it=_projects.values().iterator(); it.hasNext();){</TD></TR><TR><TD CLASS="l">102</TD><TD>                        IProject project = it.next();</TD></TR><TR><TD CLASS="l">103</TD><TD>                        project.delete(true, null);</TD></TR><TR><TD CLASS="l"><A NAME="a">104</A></TD><TD>                }</TD></TR><TR><TD CLASS="l">105</TD><TD>        }</TD></TR><TR><TD CLASS="l">106</TD><TD> </TD></TR><TR><TD CLASS="l">107</TD><TD>        public IPath addFile(IPath folder, String fileName, String contents) throws CoreException, UnsupportedEncodingException {</TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                IPath filePath = folder.append(fileName);</TD></TR><TR CLASS="c"><TD CLASS="l">109</TD><TD>                createFile(filePath, contents.getBytes(&#34;UTF8&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="b">110</A></TD><TD>                return filePath;</TD></TR><TR><TD CLASS="l">111</TD><TD>        }</TD></TR><TR><TD CLASS="l">112</TD><TD>        </TD></TR><TR><TD CLASS="l">113</TD><TD>        public IPath addFileFromResource(IPath folder, String fileName, String path) throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l">114</TD><TD>                IPath filePath = folder.append(fileName);</TD></TR><TR CLASS="c"><TD CLASS="l">115</TD><TD>                createFileFromResource(filePath, path);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="8">116</A></TD><TD>                return filePath;</TD></TR><TR><TD CLASS="l">117</TD><TD>        }</TD></TR><TR><TD CLASS="l">118</TD><TD>        </TD></TR><TR><TD CLASS="l">119</TD><TD>        private IFile createFile(IPath filePath, byte[] contents) throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l">120</TD><TD>                IFile file = _workspace.getRoot().getFile(filePath);</TD></TR><TR CLASS="c"><TD CLASS="l">121</TD><TD>                ByteArrayInputStream in = new ByteArrayInputStream(contents);</TD></TR><TR CLASS="p"><TD TITLE="67% line coverage (14 out of 21 instructions)" CLASS="l">122</TD><TD TITLE="67% line coverage (14 out of 21 instructions)">                if (file.exists())file.setContents(in, true, false, null);</TD></TR><TR CLASS="c"><TD CLASS="l">123</TD><TD>                else file.create(in, true, null);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="7">124</A></TD><TD>                return file;</TD></TR><TR><TD CLASS="l">125</TD><TD>        }</TD></TR><TR><TD CLASS="l">126</TD><TD> </TD></TR><TR><TD CLASS="l">127</TD><TD>        private IFile createFileFromResource(IPath filePath, String path) throws CoreException {</TD></TR><TR CLASS="c"><TD CLASS="l">128</TD><TD>                IFile file = _workspace.getRoot().getFile(filePath);</TD></TR><TR CLASS="c"><TD CLASS="l">129</TD><TD>                InputStream in = TestEnvironment.class.getResourceAsStream(path);</TD></TR><TR CLASS="p"><TD TITLE="65% line coverage (13 out of 20 instructions)" CLASS="l">130</TD><TD TITLE="65% line coverage (13 out of 20 instructions)">                if (file.exists())file.setContents(in, true, false, null);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="4">131</A></TD><TD>                else file.create(in, true, null);</TD></TR><TR CLASS="c"><TD CLASS="l">132</TD><TD>                return file;</TD></TR><TR><TD CLASS="l">133</TD><TD>        }</TD></TR><TR><TD CLASS="l">134</TD><TD>        public IWorkspace getWorkspace(){</TD></TR><TR CLASS="z"><TD CLASS="l">135</TD><TD>                return _workspace;</TD></TR><TR><TD CLASS="l">136</TD><TD>        }</TD></TR><TR><TD CLASS="l">137</TD><TD> </TD></TR><TR><TD CLASS="l">138</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/123.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/123.html
deleted file mode 100644
index aaab61d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/123.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">LaunchingSuite.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>LaunchingSuite.java</TD><TD>100% (1/1)</TD><TD CLASS="h">50%  (3/6)</TD><TD CLASS="h">73%  (36/49)</TD><TD CLASS="h">54%  (7/13)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">LaunchingSuite</A></TD><TD>100% (1/1)</TD><TD CLASS="h">50%  (3/6)</TD><TD CLASS="h">73%  (36/49)</TD><TD CLASS="h">54%  (7/13)</TD></TR><TR><TD CLASS="f"><A HREF="#1">LaunchingSuite (Class): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">LaunchingSuite (Class, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">LaunchingSuite (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">&lt;static initializer&gt;</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#5">LaunchingSuite (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (24/24)</TD><TD>100% (4/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">suite (): TestSuite</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.launching.tests;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import junit.framework.TestSuite;</TD></TR><TR><TD CLASS="l">4</TD><TD> </TD></TR><TR><TD CLASS="l">5</TD><TD>import org.eclipse.wst.xsl.launching.tests.testcase.XSLLaunchingTests;</TD></TR><TR><TD CLASS="l">6</TD><TD> </TD></TR><TR><TD CLASS="l">7</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">8</TD><TD> * Copyright (c) 2008 IBM Corporation and others.</TD></TR><TR><TD CLASS="l">9</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">10</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">11</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">12</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">13</TD><TD> *</TD></TR><TR><TD CLASS="l">14</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">15</TD><TD> *     IBM Corporation - initial API and implementation</TD></TR><TR><TD CLASS="l">16</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>/**</TD></TR><TR><TD CLASS="l">19</TD><TD> * This class does specifies all the classes in this bundle</TD></TR><TR><TD CLASS="l">20</TD><TD> * that provide tests. It is primarily for the convenience of </TD></TR><TR><TD CLASS="l">21</TD><TD> * the AllTestsSuite.</TD></TR><TR><TD CLASS="l"><A NAME="0">22</A></TD><TD> *  </TD></TR><TR><TD CLASS="l">23</TD><TD> */</TD></TR><TR CLASS="c"><TD CLASS="l">24</TD><TD>public class LaunchingSuite extends TestSuite {</TD></TR><TR><TD CLASS="l"><A NAME="6">25</A></TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">26</TD><TD>        private static Class[] classes = new Class[]{XSLLaunchingTests.class};</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>        public static TestSuite suite() {</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="5">29</A></TD><TD>                return new LaunchingSuite();</TD></TR><TR><TD CLASS="l">30</TD><TD>        }</TD></TR><TR><TD CLASS="l">31</TD><TD> </TD></TR><TR><TD CLASS="l">32</TD><TD>        public LaunchingSuite() {</TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>                super(&#34;XSL Launching Test Suite&#34;);</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                for (int i = 0; i &lt; classes.length; i++) {</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>                        addTest(new TestSuite(classes[i], classes[i].getName()));</TD></TR><TR><TD CLASS="l"><A NAME="2">36</A></TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>        }</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>        public LaunchingSuite(Class theClass, String name) {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="1">40</A></TD><TD>                super(theClass, name);</TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>        }</TD></TR><TR><TD CLASS="l">42</TD><TD> </TD></TR><TR><TD CLASS="l">43</TD><TD>        public LaunchingSuite(Class theClass) {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">44</A></TD><TD>                super(theClass);</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>        }</TD></TR><TR><TD CLASS="l">46</TD><TD> </TD></TR><TR><TD CLASS="l">47</TD><TD>        public LaunchingSuite(String name) {</TD></TR><TR CLASS="z"><TD CLASS="l">48</TD><TD>                super(name);</TD></TR><TR CLASS="z"><TD CLASS="l">49</TD><TD>        }</TD></TR><TR><TD CLASS="l">50</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="32.html">org.eclipse.wst.xsl.launching.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/124.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/124.html
deleted file mode 100644
index e9cb8b3..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/124.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="33.html">org.eclipse.wst.xsl.internal.model.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">AbstractModelTest.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>AbstractModelTest.java</TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (6/9)</TD><TD CLASS="h">30%  (123/411)</TD><TD CLASS="h">41%  (32.9/81)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">AbstractModelTest</A></TD><TD>100% (1/1)</TD><TD CLASS="h">67%  (6/9)</TD><TD CLASS="h">30%  (123/411)</TD><TD CLASS="h">41%  (32.9/81)</TD></TR><TR><TD CLASS="f"><A HREF="#1">calculateErrorsAndWarnings (IFile): Map</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/86)</TD><TD CLASS="h">0%   (0/19)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">validate (IFile): XSLValidationReport</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/34)</TD><TD CLASS="h">0%   (0/7)</TD></TR><TR><TD CLASS="f"><A HREF="#3">validateErrors (StylesheetModel, XSLValidationReport, Map): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/134)</TD><TD CLASS="h">0%   (0/11)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">createProject (IProject, IPath, IProgressMonitor): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">38%  (21/55)</TD><TD CLASS="h">38%  (6.9/18)</TD></TR><TR><TD CLASS="f"><A HREF="#0">AbstractModelTest (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">getAndCreateProject (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (21/21)</TD><TD>100% (7/7)</TD></TR><TR><TD CLASS="f"><A HREF="#7">getFile (String): IFile</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (7/7)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">getWorkspace (): IWorkspace</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#9">setUp (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (69/69)</TD><TD>100% (16/16)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.internal.model.tests;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.IOException;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.net.URL;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.Enumeration;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>import javax.xml.xpath.XPathConstants;</TD></TR><TR><TD CLASS="l">21</TD><TD>import javax.xml.xpath.XPathExpression;</TD></TR><TR><TD CLASS="l">22</TD><TD>import javax.xml.xpath.XPathExpressionException;</TD></TR><TR><TD CLASS="l">23</TD><TD>import javax.xml.xpath.XPathFactory;</TD></TR><TR><TD CLASS="l">24</TD><TD> </TD></TR><TR><TD CLASS="l">25</TD><TD>import junit.framework.TestCase;</TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR><TD CLASS="l">27</TD><TD>import org.apache.xpath.jaxp.XPathFactoryImpl;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.core.resources.IProject;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.core.resources.IProjectDescription;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.core.resources.IResource;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.core.resources.IWorkspace;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.core.resources.IWorkspaceRoot;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.eclipse.core.resources.ResourcesPlugin;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.eclipse.core.runtime.FileLocator;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.eclipse.core.runtime.IPath;</TD></TR><TR><TD CLASS="l">38</TD><TD>import org.eclipse.core.runtime.IProgressMonitor;</TD></TR><TR><TD CLASS="l">39</TD><TD>import org.eclipse.core.runtime.NullProgressMonitor;</TD></TR><TR><TD CLASS="l">40</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">41</TD><TD>import org.eclipse.core.runtime.Platform;</TD></TR><TR><TD CLASS="l">42</TD><TD>import org.eclipse.wst.sse.core.StructuredModelManager;</TD></TR><TR><TD CLASS="l">43</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;</TD></TR><TR><TD CLASS="l">44</TD><TD>import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;</TD></TR><TR><TD CLASS="l">45</TD><TD>import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;</TD></TR><TR><TD CLASS="l">46</TD><TD>import org.eclipse.wst.xml.core.internal.validation.core.ValidationMessage;</TD></TR><TR><TD CLASS="l">47</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">48</TD><TD>import org.eclipse.wst.xsl.core.internal.validation.XSLValidationMessage;</TD></TR><TR><TD CLASS="l">49</TD><TD>import org.eclipse.wst.xsl.core.internal.validation.XSLValidationReport;</TD></TR><TR><TD CLASS="l">50</TD><TD>import org.eclipse.wst.xsl.core.internal.validation.XSLValidator;</TD></TR><TR><TD CLASS="l">51</TD><TD>import org.eclipse.wst.xsl.core.model.StylesheetModel;</TD></TR><TR><TD CLASS="l">52</TD><TD>import org.eclipse.wst.xsl.core.tests.XSLCoreTestsPlugin;</TD></TR><TR><TD CLASS="l">53</TD><TD>import org.w3c.dom.Node;</TD></TR><TR><TD CLASS="l">54</TD><TD>import org.w3c.dom.NodeList;</TD></TR><TR><TD CLASS="l">55</TD><TD> </TD></TR><TR><TD CLASS="l">56</TD><TD>/**</TD></TR><TR><TD CLASS="l">57</TD><TD> * An abstract class to help with the testing. </TD></TR><TR><TD CLASS="l">58</TD><TD> * It reads an XSL file, runs the validation on it, and then parses the document looking for comment nodes where the comment starts with ERROR or WARN. </TD></TR><TR><TD CLASS="l">59</TD><TD> * For each comment node found, it determines whether the validation found a corresponding error or warning at the given comment node parent's line number. </TD></TR><TR><TD CLASS="l"><A NAME="0">60</A></TD><TD> * It also checks to make sure that no unexpected errors/warnings are found (ones that don't have comment nodes).</TD></TR><TR><TD CLASS="l">61</TD><TD> * </TD></TR><TR><TD CLASS="l">62</TD><TD> * @author Doug Satchwell</TD></TR><TR><TD CLASS="l">63</TD><TD> */</TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>public abstract class AbstractModelTest extends TestCase</TD></TR><TR><TD CLASS="l">65</TD><TD>{</TD></TR><TR><TD CLASS="l">66</TD><TD>        protected static IProject fTestProject;</TD></TR><TR><TD CLASS="l">67</TD><TD>        private static boolean fTestProjectInitialized;</TD></TR><TR><TD CLASS="l"><A NAME="9">68</A></TD><TD>        private static final String TEST_PROJECT_NAME = &#34;testproject&#34;;</TD></TR><TR><TD CLASS="l">69</TD><TD> </TD></TR><TR><TD CLASS="l">70</TD><TD>        protected void setUp() throws Exception</TD></TR><TR><TD CLASS="l">71</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                super.setUp();</TD></TR><TR CLASS="c"><TD CLASS="l">73</TD><TD>                if (!fTestProjectInitialized)</TD></TR><TR><TD CLASS="l">74</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">75</TD><TD>                        getAndCreateProject();</TD></TR><TR><TD CLASS="l">76</TD><TD> </TD></TR><TR><TD CLASS="l">77</TD><TD>                        // URL installLocation = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntry(&#34;/&#34;);</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>                        Enumeration&lt;String&gt; e = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntryPaths(&#34;/projectfiles&#34;);// (path, filePattern, recurse)(&#34;/projectfiles&#34;, null, true);</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                        while (e.hasMoreElements())</TD></TR><TR><TD CLASS="l">80</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                                String path = e.nextElement();</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                                URL url = Platform.getBundle(XSLCoreTestsPlugin.PLUGIN_ID).getEntry(path);</TD></TR><TR CLASS="c"><TD CLASS="l">83</TD><TD>                                if (!url.getFile().endsWith(&#34;/&#34;))</TD></TR><TR><TD CLASS="l">84</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">85</TD><TD>                                        url = FileLocator.resolve(url);</TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                                        path = path.substring(&#34;projectfiles&#34;.length());</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                                        IFile destFile = fTestProject.getFile(path);</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                                        System.out.println(destFile.getLocation()+&#34; --&gt; &#34;+url.toExternalForm());</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                                        destFile.createLink(url.toURI(), IResource.REPLACE, new NullProgressMonitor());</TD></TR><TR><TD CLASS="l">90</TD><TD>                                }</TD></TR><TR><TD CLASS="l">91</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                        fTestProject.refreshLocal(IResource.DEPTH_INFINITE, null);</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                        fTestProjectInitialized = true;</TD></TR><TR><TD CLASS="l">94</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="7">96</A></TD><TD>        </TD></TR><TR><TD CLASS="l">97</TD><TD>        </TD></TR><TR><TD CLASS="l">98</TD><TD>        protected IFile getFile(String path)</TD></TR><TR><TD CLASS="l">99</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                return fTestProject.getFile(new Path(path));</TD></TR><TR><TD CLASS="l">101</TD><TD>        }</TD></TR><TR><TD CLASS="l">102</TD><TD>        </TD></TR><TR><TD CLASS="l">103</TD><TD>        /**</TD></TR><TR><TD CLASS="l">104</TD><TD>         * Validate the file</TD></TR><TR><TD CLASS="l">105</TD><TD>         * </TD></TR><TR><TD CLASS="l">106</TD><TD>         * @param file</TD></TR><TR><TD CLASS="l">107</TD><TD>         * @return</TD></TR><TR><TD CLASS="l">108</TD><TD>         * @throws CoreException</TD></TR><TR><TD CLASS="l">109</TD><TD>         * @throws XPathExpressionException</TD></TR><TR><TD CLASS="l"><A NAME="2">110</A></TD><TD>         * @throws IOException</TD></TR><TR><TD CLASS="l">111</TD><TD>         */</TD></TR><TR><TD CLASS="l">112</TD><TD>        protected XSLValidationReport validate(IFile file) throws CoreException, XPathExpressionException, IOException</TD></TR><TR><TD CLASS="l">113</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                XSLValidationReport report = new XSLValidationReport(file.getLocationURI().toString());</TD></TR><TR CLASS="z"><TD CLASS="l">115</TD><TD>                XSLValidator.getInstance().validate(file,report,true);</TD></TR><TR CLASS="z"><TD CLASS="l">116</TD><TD>                StylesheetModel model = XSLCore.getInstance().getStylesheet(file);                </TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>                assertFalse(&#34;Stylesheet model is null&#34;,model == null);</TD></TR><TR CLASS="z"><TD CLASS="l">118</TD><TD>                Map&lt;Integer,String&gt; expectedErrors = calculateErrorsAndWarnings(file);</TD></TR><TR CLASS="z"><TD CLASS="l">119</TD><TD>                validateErrors(model,report,expectedErrors);</TD></TR><TR CLASS="z"><TD CLASS="l">120</TD><TD>                return report;</TD></TR><TR><TD CLASS="l"><A NAME="3">121</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">122</TD><TD>        </TD></TR><TR><TD CLASS="l">123</TD><TD>        private void validateErrors(StylesheetModel model, XSLValidationReport report, Map&lt;Integer,String&gt; expectedErrors)</TD></TR><TR><TD CLASS="l">124</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">125</TD><TD>                expectedErrors = new HashMap&lt;Integer, String&gt;(expectedErrors);</TD></TR><TR CLASS="z"><TD CLASS="l">126</TD><TD>                for (ValidationMessage msg : report.getValidationMessages())</TD></TR><TR><TD CLASS="l">127</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">128</TD><TD>                        XSLValidationMessage error = (XSLValidationMessage)msg;</TD></TR><TR CLASS="z"><TD CLASS="l">129</TD><TD>                        assertTrue(&#34;Error report must be for the current stylesheet only&#34;, error.getNode().getStylesheet() == model.getStylesheet());</TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                        String comment = expectedErrors.remove(error.getLineNumber());</TD></TR><TR CLASS="z"><TD CLASS="l">131</TD><TD>                        assertNotNull(&#34;Unxpected error at line &#34;+error.getLineNumber()+&#34;: &#34;+error,comment);</TD></TR><TR CLASS="z"><TD CLASS="l">132</TD><TD>                        assertFalse(&#34;Incorrect error level for error at line &#34;+error.getLineNumber()+&#34;: &#34;+error,comment.startsWith(&#34;ERROR&#34;) &amp;&amp; msg.getSeverity() != ValidationMessage.SEV_HIGH);</TD></TR><TR CLASS="z"><TD CLASS="l">133</TD><TD>                        assertFalse(&#34;Incorrect error level for error at line &#34;+error.getLineNumber()+&#34;: &#34;+error,comment.startsWith(&#34;WARN&#34;) &amp;&amp; msg.getSeverity() == ValidationMessage.SEV_HIGH);</TD></TR><TR><TD CLASS="l">134</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">135</TD><TD>                for (Map.Entry&lt;Integer, String&gt; entry : expectedErrors.entrySet())</TD></TR><TR><TD CLASS="l">136</TD><TD>                {        </TD></TR><TR CLASS="z"><TD CLASS="l">137</TD><TD>                        assertTrue(&#34;Expected error &#34;+entry.getValue()+&#34; at line &#34;+entry.getKey(), false);</TD></TR><TR><TD CLASS="l">138</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="1">139</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">140</TD><TD>        </TD></TR><TR><TD CLASS="l">141</TD><TD>        private Map&lt;Integer,String&gt; calculateErrorsAndWarnings(IFile file) throws XPathExpressionException, IOException, CoreException</TD></TR><TR><TD CLASS="l">142</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">143</TD><TD>                Map&lt;Integer,String&gt; expectedErrors = new HashMap&lt;Integer,String&gt;();</TD></TR><TR CLASS="z"><TD CLASS="l">144</TD><TD>                IStructuredModel smodel = null;</TD></TR><TR><TD CLASS="l">145</TD><TD>                try</TD></TR><TR><TD CLASS="l">146</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">147</TD><TD>                        smodel = StructuredModelManager.getModelManager().getModelForRead(file);</TD></TR><TR CLASS="z"><TD CLASS="l">148</TD><TD>                        if (smodel != null &amp;&amp; smodel instanceof IDOMModel)</TD></TR><TR><TD CLASS="l">149</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">150</TD><TD>                                IDOMModel model = (IDOMModel) smodel;</TD></TR><TR CLASS="z"><TD CLASS="l">151</TD><TD>                                XPathExpression xp = XPathFactoryImpl.newInstance().newXPath().compile(&#34;//comment()&#34;); </TD></TR><TR CLASS="z"><TD CLASS="l">152</TD><TD>                                NodeList nodeSet = (NodeList)xp.evaluate(model.getDocument(), XPathConstants.NODESET);</TD></TR><TR CLASS="z"><TD CLASS="l">153</TD><TD>                                for (int i=0; i&lt;nodeSet.getLength(); i++)</TD></TR><TR><TD CLASS="l">154</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">155</TD><TD>                                        Node commentNode = nodeSet.item(i);</TD></TR><TR CLASS="z"><TD CLASS="l">156</TD><TD>                                        String comment = commentNode.getNodeValue().trim();</TD></TR><TR CLASS="z"><TD CLASS="l">157</TD><TD>                                        if (comment.startsWith(&#34;ERROR&#34;) || comment.startsWith(&#34;WARN&#34;))</TD></TR><TR><TD CLASS="l">158</TD><TD>                                        {</TD></TR><TR CLASS="z"><TD CLASS="l">159</TD><TD>                                                IDOMNode parent = (IDOMNode)commentNode.getParentNode();</TD></TR><TR CLASS="z"><TD CLASS="l">160</TD><TD>                                                int line = model.getStructuredDocument().getLineOfOffset(parent.getStartOffset()) + 1;</TD></TR><TR CLASS="z"><TD CLASS="l">161</TD><TD>                                                expectedErrors.put(line,comment);</TD></TR><TR><TD CLASS="l">162</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">163</TD><TD>                                }</TD></TR><TR><TD CLASS="l">164</TD><TD>                        }</TD></TR><TR><TD CLASS="l">165</TD><TD>                }</TD></TR><TR><TD CLASS="l">166</TD><TD>                finally</TD></TR><TR CLASS="z"><TD CLASS="l">167</TD><TD>                {</TD></TR><TR CLASS="z"><TD CLASS="l">168</TD><TD>                        if (smodel != null)</TD></TR><TR CLASS="z"><TD CLASS="l">169</TD><TD>                                smodel.releaseFromRead();</TD></TR><TR CLASS="z"><TD CLASS="l">170</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">171</TD><TD>                return expectedErrors;</TD></TR><TR><TD CLASS="l"><A NAME="6">172</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">173</TD><TD> </TD></TR><TR><TD CLASS="l">174</TD><TD>        private static void getAndCreateProject() throws CoreException</TD></TR><TR><TD CLASS="l">175</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">176</TD><TD>                IWorkspace workspace = getWorkspace();</TD></TR><TR CLASS="c"><TD CLASS="l">177</TD><TD>                IWorkspaceRoot root = workspace.getRoot();</TD></TR><TR CLASS="c"><TD CLASS="l">178</TD><TD>                fTestProject = root.getProject(TEST_PROJECT_NAME);</TD></TR><TR><TD CLASS="l">179</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">180</TD><TD>                createProject(fTestProject, null, null);</TD></TR><TR CLASS="c"><TD CLASS="l">181</TD><TD>                fTestProject.refreshLocal(IResource.DEPTH_INFINITE, null);</TD></TR><TR CLASS="c"><TD CLASS="l">182</TD><TD>                assertTrue(fTestProject.exists());</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="4">183</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">184</TD><TD> </TD></TR><TR><TD CLASS="l">185</TD><TD>        private static void createProject(IProject project, IPath locationPath, IProgressMonitor monitor) throws CoreException</TD></TR><TR><TD CLASS="l">186</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">187</TD><TD>                if (monitor == null)</TD></TR><TR><TD CLASS="l">188</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">189</TD><TD>                        monitor = new NullProgressMonitor();</TD></TR><TR><TD CLASS="l">190</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">191</TD><TD>                monitor.beginTask(&#34;creating test project&#34;, 10);</TD></TR><TR><TD CLASS="l">192</TD><TD>                // create the project</TD></TR><TR><TD CLASS="l">193</TD><TD>                try</TD></TR><TR><TD CLASS="l">194</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">195</TD><TD>                        if (!project.exists())</TD></TR><TR><TD CLASS="l">196</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">197</TD><TD>                                IProjectDescription desc = project.getWorkspace().newProjectDescription(project.getName());</TD></TR><TR CLASS="z"><TD CLASS="l">198</TD><TD>                                if (Platform.getLocation().equals(locationPath))</TD></TR><TR><TD CLASS="l">199</TD><TD>                                {</TD></TR><TR CLASS="z"><TD CLASS="l">200</TD><TD>                                        locationPath = null;</TD></TR><TR><TD CLASS="l">201</TD><TD>                                }</TD></TR><TR CLASS="z"><TD CLASS="l">202</TD><TD>                                desc.setLocation(locationPath);</TD></TR><TR CLASS="z"><TD CLASS="l">203</TD><TD>                                project.create(desc, monitor);</TD></TR><TR CLASS="z"><TD CLASS="l">204</TD><TD>                                monitor = null;</TD></TR><TR><TD CLASS="l">205</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">206</TD><TD>                        if (!project.isOpen())</TD></TR><TR><TD CLASS="l">207</TD><TD>                        {</TD></TR><TR CLASS="z"><TD CLASS="l">208</TD><TD>                                project.open(monitor);</TD></TR><TR CLASS="z"><TD CLASS="l">209</TD><TD>                                monitor = null;</TD></TR><TR><TD CLASS="l">210</TD><TD>                        }</TD></TR><TR><TD CLASS="l">211</TD><TD>                }</TD></TR><TR><TD CLASS="l">212</TD><TD>                finally</TD></TR><TR CLASS="z"><TD CLASS="l">213</TD><TD>                {</TD></TR><TR CLASS="p"><TD TITLE="40% line coverage (2 out of 5 instructions)" CLASS="l">214</TD><TD TITLE="40% line coverage (2 out of 5 instructions)">                        if (monitor != null)</TD></TR><TR><TD CLASS="l">215</TD><TD>                        {</TD></TR><TR CLASS="p"><TD TITLE="50% line coverage (2 out of 4 instructions)" CLASS="l">216</TD><TD TITLE="50% line coverage (2 out of 4 instructions)">                                monitor.done();</TD></TR><TR><TD CLASS="l">217</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">218</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">219</TD><TD>        }</TD></TR><TR><TD CLASS="l">220</TD><TD> </TD></TR><TR><TD CLASS="l">221</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="8">222</A></TD><TD>         * Returns the workspace instance.</TD></TR><TR><TD CLASS="l">223</TD><TD>         */</TD></TR><TR><TD CLASS="l">224</TD><TD>        public static IWorkspace getWorkspace()</TD></TR><TR><TD CLASS="l">225</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">226</TD><TD>                return ResourcesPlugin.getWorkspace();</TD></TR><TR><TD CLASS="l">227</TD><TD>        }</TD></TR><TR><TD CLASS="l">228</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="33.html">org.eclipse.wst.xsl.internal.model.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/125.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/125.html
deleted file mode 100644
index 4d5b93d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/125.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="33.html">org.eclipse.wst.xsl.internal.model.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">TestStylesheetModel.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>TestStylesheetModel.java</TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>99%  (103/104)</TD><TD>100% (24/24)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">TestStylesheetModel</A></TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>99%  (103/104)</TD><TD>100% (24/24)</TD></TR><TR><TD CLASS="f"><A HREF="#1">testFindAvailableTemplateModes (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>98%  (54/55)</TD><TD>100% (11/11)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">TestStylesheetModel (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">testStyleSheetModel (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (46/46)</TD><TD>100% (11/11)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.internal.model.tests;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">4</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">5</TD><TD> </TD></TR><TR><TD CLASS="l">6</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">7</TD><TD>import org.eclipse.wst.xsl.core.model.StylesheetModel;</TD></TR><TR><TD CLASS="l">8</TD><TD>import org.eclipse.wst.xsl.core.model.Template;</TD></TR><TR><TD CLASS="l">9</TD><TD>import org.eclipse.wst.xsl.core.model.XSLAttribute;</TD></TR><TR><TD CLASS="l"><A NAME="0">10</A></TD><TD>import org.eclipse.wst.xsl.core.model.XSLElement;</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR><TD CLASS="l">12</TD><TD>public class TestStylesheetModel extends AbstractModelTest {</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">14</TD><TD>        public TestStylesheetModel() {</TD></TR><TR><TD CLASS="l">15</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">16</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">17</TD><TD>        </TD></TR><TR><TD CLASS="l">18</TD><TD>        public void testStyleSheetModel() {</TD></TR><TR><TD CLASS="l">19</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">20</TD><TD>                StylesheetModel model = XSLCore.getInstance().getStylesheet(getFile(&#34;globalVariablesTest.xsl&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l">21</TD><TD>                assertNotNull(&#34;Failed to load stylesheet 'globalVariablesTest.xsl'.&#34;, model);</TD></TR><TR CLASS="c"><TD CLASS="l">22</TD><TD>                model = XSLCore.getInstance().getStylesheet(getFile(&#34;style1.xsl&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l">23</TD><TD>                assertNotNull(&#34;Failed to load stylesheet 'style1.xsl'.&#34;, model);</TD></TR><TR CLASS="c"><TD CLASS="l">24</TD><TD>                model = XSLCore.getInstance().getStylesheet(getFile(&#34;XSLT20Test.xsl&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l">25</TD><TD>                assertNotNull(&#34;Failed to load stylesheet 'XSLT20Test.xsl'.&#34;, model);</TD></TR><TR CLASS="c"><TD CLASS="l">26</TD><TD>                model = XSLCore.getInstance().getStylesheet(getFile(&#34;circularref.xsl&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l">27</TD><TD>                assertNotNull(&#34;Failed to load stylesheet 'circularref.xsl'.&#34;, model);</TD></TR><TR CLASS="c"><TD CLASS="l">28</TD><TD>                model = XSLCore.getInstance().getStylesheet(getFile(&#34;modeTest.xsl&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l">29</TD><TD>                assertNotNull(&#34;Failed to load stylesheet 'modeTest.xsl'.&#34;, model);</TD></TR><TR><TD CLASS="l"><A NAME="1">30</A></TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">31</TD><TD>        }</TD></TR><TR><TD CLASS="l">32</TD><TD>        </TD></TR><TR><TD CLASS="l">33</TD><TD>        public void testFindAvailableTemplateModes() {</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                ArrayList&lt;String&gt; modes = new ArrayList();</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>                StylesheetModel model = XSLCore.getInstance().getStylesheet(getFile(&#34;modeTest.xsl&#34;));</TD></TR><TR CLASS="c"><TD CLASS="l">36</TD><TD>                List&lt;Template&gt; templates = model.getTemplates();</TD></TR><TR CLASS="p"><TD TITLE="96% line coverage (24 out of 25 instructions)" CLASS="l">37</TD><TD TITLE="96% line coverage (24 out of 25 instructions)">                assertTrue(&#34;No templates returned.&#34;, templates.size() &gt; 0);</TD></TR><TR><TD CLASS="l">38</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>                for (Template template : templates) {</TD></TR><TR CLASS="c"><TD CLASS="l">40</TD><TD>                        XSLAttribute attribute = template.getAttribute(&#34;mode&#34;);</TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>                        if (attribute != null) {</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                                if (modes.indexOf(attribute.getValue()) == -1 ) {</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                                        modes.add(attribute.getValue());</TD></TR><TR><TD CLASS="l">44</TD><TD>                                }</TD></TR><TR><TD CLASS="l">45</TD><TD>                        }</TD></TR><TR><TD CLASS="l">46</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>                assertEquals(&#34;Wrong number of mode templates returned.&#34;, 3, modes.size());</TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>        }</TD></TR><TR><TD CLASS="l">49</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="33.html">org.eclipse.wst.xsl.internal.model.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/126.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/126.html
deleted file mode 100644
index ae5c34d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/126.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="33.html">org.eclipse.wst.xsl.internal.model.tests</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">TestStylesheet.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>TestStylesheet.java</TD><TD>100% (1/1)</TD><TD>100% (11/11)</TD><TD>100% (202/202)</TD><TD>100% (58/58)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">TestStylesheet</A></TD><TD>100% (1/1)</TD><TD>100% (11/11)</TD><TD>100% (202/202)</TD><TD>100% (58/58)</TD></TR><TR><TD CLASS="f"><A HREF="#0">TestStylesheet (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">testGetAttributes (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (30/30)</TD><TD>100% (8/8)</TD></TR><TR><TD CLASS="f"><A HREF="#3">testGetColumnNumber (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (18/18)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">testGetGlobalVariables (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (21/21)</TD><TD>100% (6/6)</TD></TR><TR><TD CLASS="f"><A HREF="#5">testGetImports (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (21/21)</TD><TD>100% (6/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">testGetIncludes (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (21/21)</TD><TD>100% (6/6)</TD></TR><TR><TD CLASS="f"><A HREF="#7">testGetLineNumber (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (18/18)</TD><TD>100% (5/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">testGetVersion (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (18/18)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#9">testLoadModel (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (13/13)</TD><TD>100% (4/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">testXSLT2GetVersion (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (18/18)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#b">testgetLocalTemplatesTemplates (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (21/21)</TD><TD>100% (6/6)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>package org.eclipse.wst.xsl.internal.model.tests;</TD></TR><TR><TD CLASS="l">2</TD><TD> </TD></TR><TR><TD CLASS="l">3</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">4</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">5</TD><TD>import java.util.Map;</TD></TR><TR><TD CLASS="l">6</TD><TD> </TD></TR><TR><TD CLASS="l">7</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">8</TD><TD>import org.eclipse.wst.xsl.core.internal.StylesheetBuilder;</TD></TR><TR><TD CLASS="l">9</TD><TD>import org.eclipse.wst.xsl.core.model.Import;</TD></TR><TR><TD CLASS="l">10</TD><TD>import org.eclipse.wst.xsl.core.model.Include;</TD></TR><TR><TD CLASS="l">11</TD><TD>import org.eclipse.wst.xsl.core.model.Stylesheet;</TD></TR><TR><TD CLASS="l">12</TD><TD>import org.eclipse.wst.xsl.core.model.StylesheetModel;</TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.wst.xsl.core.model.Template;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.wst.xsl.core.model.Variable;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.wst.xsl.core.model.XSLAttribute;</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">17</A></TD><TD>import junit.framework.TestCase;</TD></TR><TR><TD CLASS="l">18</TD><TD> </TD></TR><TR><TD CLASS="l">19</TD><TD>public class TestStylesheet extends AbstractModelTest {</TD></TR><TR><TD CLASS="l">20</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">21</TD><TD>        public TestStylesheet() {</TD></TR><TR><TD CLASS="l"><A NAME="9">22</A></TD><TD>                // TODO Auto-generated constructor stub</TD></TR><TR CLASS="c"><TD CLASS="l">23</TD><TD>        }</TD></TR><TR><TD CLASS="l">24</TD><TD>        </TD></TR><TR><TD CLASS="l">25</TD><TD>        public void testLoadModel() {</TD></TR><TR CLASS="c"><TD CLASS="l">26</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">27</TD><TD>                Stylesheet model = builder.getStylesheet(getFile(&#34;style1.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="b">28</A></TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, model);</TD></TR><TR CLASS="c"><TD CLASS="l">29</TD><TD>        }</TD></TR><TR><TD CLASS="l">30</TD><TD>        </TD></TR><TR><TD CLASS="l">31</TD><TD>        public void testgetLocalTemplatesTemplates() {</TD></TR><TR CLASS="c"><TD CLASS="l">32</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>                Stylesheet model = builder.getStylesheet(getFile(&#34;style1.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, model);</TD></TR><TR><TD CLASS="l">35</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">36</TD><TD>                List&lt;Template&gt; templatesList = model.getTemplates();</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="6">37</A></TD><TD>                assertEquals(&#34;Wrong number of templates returned.&#34;, 2, templatesList.size());</TD></TR><TR CLASS="c"><TD CLASS="l">38</TD><TD>        }</TD></TR><TR><TD CLASS="l">39</TD><TD>        </TD></TR><TR><TD CLASS="l">40</TD><TD>        public void testGetIncludes() {</TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">42</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;style1.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">44</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>                List&lt;Include&gt; includeList = stylesheet.getIncludes();</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="5">46</A></TD><TD>                assertEquals(&#34;Wrong number of includes returned.&#34;, 1, includeList.size());</TD></TR><TR CLASS="c"><TD CLASS="l">47</TD><TD>        }</TD></TR><TR><TD CLASS="l">48</TD><TD>        </TD></TR><TR><TD CLASS="l">49</TD><TD>        public void testGetImports() {</TD></TR><TR CLASS="c"><TD CLASS="l">50</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;style1.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">53</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">54</TD><TD>                List&lt;Import&gt; includeList = stylesheet.getImports();</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                assertEquals(&#34;Wrong number of includes returned.&#34;, 1, includeList.size());</TD></TR><TR><TD CLASS="l"><A NAME="4">56</A></TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>        }</TD></TR><TR><TD CLASS="l">58</TD><TD>        </TD></TR><TR><TD CLASS="l">59</TD><TD>        public void testGetGlobalVariables() {</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">61</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;globalVariablesTest.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">62</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">63</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">64</TD><TD>                List&lt;Variable&gt; globalVariablesList = stylesheet.getGlobalVariables();</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="7">65</A></TD><TD>                assertEquals(&#34;Wrong number of global variables returned.&#34;, 1, globalVariablesList.size());</TD></TR><TR CLASS="c"><TD CLASS="l">66</TD><TD>        }</TD></TR><TR><TD CLASS="l">67</TD><TD>        </TD></TR><TR><TD CLASS="l">68</TD><TD>        public void testGetLineNumber() {</TD></TR><TR CLASS="c"><TD CLASS="l">69</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">70</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;globalVariablesTest.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">72</TD><TD>                // Line Number is off by 1 from what is displayed in the Editor</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="3">73</A></TD><TD>                assertEquals(&#34;Incorrect line number.&#34;, 12, stylesheet.getLineNumber());</TD></TR><TR CLASS="c"><TD CLASS="l">74</TD><TD>        }</TD></TR><TR><TD CLASS="l">75</TD><TD>        </TD></TR><TR><TD CLASS="l">76</TD><TD>        public void testGetColumnNumber() {</TD></TR><TR CLASS="c"><TD CLASS="l">77</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">78</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;globalVariablesTest.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">79</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">80</TD><TD>                // Line Number is off by 1 from what is displayed in the Editor</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="8">81</A></TD><TD>                assertEquals(&#34;Incorrect column number.&#34;, 0, stylesheet.getColumnNumber());</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>        }</TD></TR><TR><TD CLASS="l">83</TD><TD>        </TD></TR><TR><TD CLASS="l">84</TD><TD>        public void testGetVersion() {</TD></TR><TR CLASS="c"><TD CLASS="l">85</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;globalVariablesTest.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">88</TD><TD>                </TD></TR><TR><TD CLASS="l">89</TD><TD>                // Line Number is off by 1 from what is displayed in the Editor</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="a">90</A></TD><TD>                assertEquals(&#34;Wrong version number returned.&#34;, &#34;1.0&#34;, stylesheet.getVersion());</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>        }</TD></TR><TR><TD CLASS="l">92</TD><TD>        </TD></TR><TR><TD CLASS="l">93</TD><TD>        public void testXSLT2GetVersion() {</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">95</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;XSLT20Test.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">97</TD><TD>                // Line Number is off by 1 from what is displayed in the Editor</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="2">98</A></TD><TD>                assertEquals(&#34;Wrong version number returned.&#34;, &#34;2.0&#34;, stylesheet.getVersion());</TD></TR><TR CLASS="c"><TD CLASS="l">99</TD><TD>        }</TD></TR><TR><TD CLASS="l">100</TD><TD>        </TD></TR><TR><TD CLASS="l">101</TD><TD>        public void testGetAttributes() {</TD></TR><TR CLASS="c"><TD CLASS="l">102</TD><TD>                StylesheetBuilder builder = StylesheetBuilder.getInstance();</TD></TR><TR CLASS="c"><TD CLASS="l">103</TD><TD>                Stylesheet stylesheet = builder.getStylesheet(getFile(&#34;globalVariablesTest.xsl&#34;), false);</TD></TR><TR CLASS="c"><TD CLASS="l">104</TD><TD>                assertNotNull(&#34;Model failed to load, returned NULL&#34;, stylesheet);</TD></TR><TR><TD CLASS="l">105</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">106</TD><TD>                Map&lt;String,XSLAttribute&gt; attributeList = stylesheet.getAttributes();</TD></TR><TR CLASS="c"><TD CLASS="l">107</TD><TD>                assertEquals(&#34;Incorrect number of attributes&#34;, 4, attributeList.size());</TD></TR><TR CLASS="c"><TD CLASS="l">108</TD><TD>                XSLAttribute attribute = stylesheet.getAttribute(&#34;exclude-result-prefixes&#34;);</TD></TR><TR CLASS="c"><TD CLASS="l">109</TD><TD>                assertEquals(&#34;Wrong attribute returned:&#34;, &#34;exclude-result-prefixes&#34;, attribute.getName());</TD></TR><TR><TD CLASS="l">110</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">111</TD><TD>        }</TD></TR><TR><TD CLASS="l">112</TD><TD>        </TD></TR><TR><TD CLASS="l">113</TD><TD>        </TD></TR><TR><TD CLASS="l">114</TD><TD>        </TD></TR><TR><TD CLASS="l">115</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="33.html">org.eclipse.wst.xsl.internal.model.tests</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/127.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/127.html
deleted file mode 100644
index 42a3720..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/127.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLErrorListener.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLErrorListener.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/32)</TD><TD CLASS="h">0%   (0/9)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLErrorListener</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/32)</TD><TD CLASS="h">0%   (0/9)</TD></TR><TR><TD CLASS="f"><A HREF="#0">XSLErrorListener (Logger): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">error (TransformerException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/9)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">fatalError (TransformerException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/9)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">warning (TransformerException): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/8)</TD><TD CLASS="h">0%   (0/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Standards for Technology in Automotive Retail and others</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     David Carver - STAR - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.ui.internal.validation;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import javax.xml.transform.*;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.logging.*;</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>/**</TD></TR><TR><TD CLASS="l">18</TD><TD> * This class listens for Errors tossed by a XSL Processor.</TD></TR><TR><TD CLASS="l">19</TD><TD> * </TD></TR><TR><TD CLASS="l">20</TD><TD> * @author dcarver</TD></TR><TR><TD CLASS="l">21</TD><TD> * </TD></TR><TR><TD CLASS="l">22</TD><TD> */</TD></TR><TR><TD CLASS="l">23</TD><TD>public class XSLErrorListener implements ErrorListener {</TD></TR><TR><TD CLASS="l">24</TD><TD> </TD></TR><TR><TD CLASS="l">25</TD><TD>        private Logger logger;</TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">27</A></TD><TD>        /**</TD></TR><TR><TD CLASS="l">28</TD><TD>         * TODO: Add Javadoc</TD></TR><TR><TD CLASS="l">29</TD><TD>         * @param logger</TD></TR><TR><TD CLASS="l">30</TD><TD>         */</TD></TR><TR CLASS="z"><TD CLASS="l">31</TD><TD>        public XSLErrorListener(Logger logger) {</TD></TR><TR CLASS="z"><TD CLASS="l">32</TD><TD>                this.logger = logger;</TD></TR><TR CLASS="z"><TD CLASS="l">33</TD><TD>        }</TD></TR><TR><TD CLASS="l">34</TD><TD> </TD></TR><TR><TD CLASS="l">35</TD><TD>        /**</TD></TR><TR><TD CLASS="l">36</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="4">37</A></TD><TD>         * @see javax.xml.transform.ErrorListener#warning(javax.xml.transform.TransformerException)</TD></TR><TR><TD CLASS="l">38</TD><TD>         */</TD></TR><TR><TD CLASS="l">39</TD><TD>        public void warning(TransformerException exception) {</TD></TR><TR><TD CLASS="l">40</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">41</TD><TD>                logger.log(Level.WARNING, exception.getMessage(), exception);</TD></TR><TR><TD CLASS="l">42</TD><TD> </TD></TR><TR><TD CLASS="l">43</TD><TD>                // Don't throw an exception and stop the processor</TD></TR><TR><TD CLASS="l">44</TD><TD>                // just for a warning; but do log the problem</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>        }</TD></TR><TR><TD CLASS="l">46</TD><TD> </TD></TR><TR><TD CLASS="l">47</TD><TD>        /** </TD></TR><TR><TD CLASS="l">48</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">49</TD><TD>         * @see javax.xml.transform.ErrorListener#error(javax.xml.transform.TransformerException)</TD></TR><TR><TD CLASS="l"><A NAME="2">50</A></TD><TD>         */</TD></TR><TR><TD CLASS="l">51</TD><TD>        public void error(TransformerException exception)</TD></TR><TR><TD CLASS="l">52</TD><TD>                        throws TransformerException {</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>                logger.log(Level.SEVERE, exception.getMessage(), exception);</TD></TR><TR><TD CLASS="l">55</TD><TD>                // XSLT is not as draconian as XML. There are numerous errors</TD></TR><TR><TD CLASS="l">56</TD><TD>                // which the processor may but does not have to recover from;</TD></TR><TR><TD CLASS="l">57</TD><TD>                // e.g. multiple templates that match a node with the same</TD></TR><TR><TD CLASS="l">58</TD><TD>                // priority. I do not want to allow that so I throw this</TD></TR><TR><TD CLASS="l">59</TD><TD>                // exception here.</TD></TR><TR CLASS="z"><TD CLASS="l">60</TD><TD>                throw exception;</TD></TR><TR><TD CLASS="l">61</TD><TD> </TD></TR><TR><TD CLASS="l">62</TD><TD>        }</TD></TR><TR><TD CLASS="l">63</TD><TD> </TD></TR><TR><TD CLASS="l">64</TD><TD>        /**</TD></TR><TR><TD CLASS="l">65</TD><TD>         *  (non-Javadoc)</TD></TR><TR><TD CLASS="l">66</TD><TD>         * @see javax.xml.transform.ErrorListener#fatalError(javax.xml.transform.TransformerException)</TD></TR><TR><TD CLASS="l"><A NAME="3">67</A></TD><TD>         */</TD></TR><TR><TD CLASS="l">68</TD><TD>        public void fatalError(TransformerException exception)</TD></TR><TR><TD CLASS="l">69</TD><TD>                        throws TransformerException {</TD></TR><TR><TD CLASS="l">70</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                logger.log(Level.SEVERE, exception.getMessage(), exception);</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR><TD CLASS="l">73</TD><TD>                // This is an error which the processor cannot recover from;</TD></TR><TR><TD CLASS="l">74</TD><TD>                // e.g. a malformed stylesheet or input document</TD></TR><TR><TD CLASS="l">75</TD><TD>                // so I must throw this exception here.</TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>                throw exception;</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR><TD CLASS="l">78</TD><TD>        }</TD></TR><TR><TD CLASS="l">79</TD><TD> </TD></TR><TR><TD CLASS="l">80</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/128.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/128.html
deleted file mode 100644
index 0b3aea9..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/128.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">TestDelegatingSourceValidatorForXSL.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>TestDelegatingSourceValidatorForXSL.java</TD><TD>100% (2/2)</TD><TD CLASS="h">60%  (9/15)</TD><TD CLASS="h">58%  (152/260)</TD><TD CLASS="h">60%  (39/65)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">TestDelegatingSourceValidatorForXSL</A></TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD CLASS="h">57%  (132/232)</TD><TD CLASS="h">62%  (32/52)</TD></TR><TR><TD CLASS="f"><A HREF="#1">testXSLT2XPath20Fails (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">52%  (54/104)</TD><TD CLASS="h">55%  (12/22)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">testValidXSLT (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">55%  (62/112)</TD><TD CLASS="h">55%  (12/22)</TD></TR><TR><TD CLASS="f"><A HREF="#0">TestDelegatingSourceValidatorForXSL (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getxslTestFilesProjectName (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">setUp (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">tearDown (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD><TD CLASS="bt"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#7">TestDelegatingSourceValidatorForXSL$TestReporter</A></TD><TD>100% (1/1)</TD><TD CLASS="h">33%  (3/9)</TD><TD CLASS="h">71%  (20/28)</TD><TD CLASS="h">54%  (7/13)</TD></TR><TR><TD CLASS="f"><A HREF="#8">displaySubtask (IValidator, IMessage): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#9">getMessages (): List</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#a">isCancelled (): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#b">removeAllMessages (IValidator): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#c">removeAllMessages (IValidator, Object): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#d">removeMessageSubset (IValidator, Object, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#7">TestDelegatingSourceValidatorForXSL$TestReporter (TestDelegatingSourceValidat...</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (9/9)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#f">addMessage (IValidator, IMessage): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (3/3)</TD></TR><TR><TD CLASS="f"><A HREF="#10">isMessageReported (): boolean</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Standards for Technology in Automotive Retail and others.</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> * </TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     David Carver - STAR - initial API and implementation, based off of</TD></TR><TR><TD CLASS="l">10</TD><TD> *                    XML Source Delgating Validator tests.</TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.ui.internal.validation;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.io.File;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>import junit.framework.Assert;</TD></TR><TR><TD CLASS="l">19</TD><TD>import junit.framework.TestCase;</TD></TR><TR><TD CLASS="l">20</TD><TD> </TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.core.resources.IProject;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.resources.IProjectDescription;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.resources.ResourcesPlugin;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.core.runtime.FileLocator;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.core.runtime.NullProgressMonitor;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.core.runtime.Path;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.wst.validation.internal.core.ValidationException;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.wst.validation.internal.operations.WorkbenchContext;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IMessage;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IReporter;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IValidator;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.eclipse.wst.xsl.ui.tests.AbstractXSLUITest;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.eclipse.wst.xsl.ui.tests.XSLUITestsPlugin;</TD></TR><TR><TD CLASS="l">36</TD><TD>//import org.eclipse.wst.xsl.docbook.core.DocbookPlugin;</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR><TD CLASS="l">38</TD><TD>/**</TD></TR><TR><TD CLASS="l">39</TD><TD> * Test the XML delegating source validator.</TD></TR><TR><TD CLASS="l">40</TD><TD> *</TD></TR><TR><TD CLASS="l">41</TD><TD> */</TD></TR><TR><TD CLASS="l"><A NAME="0">42</A></TD><TD>public class TestDelegatingSourceValidatorForXSL extends AbstractXSLUITest </TD></TR><TR><TD CLASS="l">43</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l">44</TD><TD>        DelegatingSourceValidatorForXSL sourceValidator =  new DelegatingSourceValidatorForXSL();</TD></TR><TR><TD CLASS="l">45</TD><TD>        </TD></TR><TR CLASS="c"><TD CLASS="l">46</TD><TD>        public TestDelegatingSourceValidatorForXSL() {</TD></TR><TR><TD CLASS="l"><A NAME="5">47</A></TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>        }</TD></TR><TR><TD CLASS="l">49</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">50</TD><TD>        protected void setUp() throws Exception {</TD></TR><TR CLASS="c"><TD CLASS="l">51</TD><TD>                super.setUp();</TD></TR><TR><TD CLASS="l">52</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">53</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="6">54</A></TD><TD>        </TD></TR><TR><TD CLASS="l">55</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">56</TD><TD>        protected void tearDown() throws Exception {</TD></TR><TR><TD CLASS="l">57</TD><TD>                // TODO Auto-generated method stub</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                super.tearDown();</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="4">59</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">60</TD><TD>        </TD></TR><TR><TD CLASS="l">61</TD><TD>        </TD></TR><TR><TD CLASS="l">62</TD><TD>        private String getxslTestFilesProjectName() {</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                return &#34;xsltestfiles&#34;;</TD></TR><TR><TD CLASS="l">64</TD><TD>        }</TD></TR><TR><TD CLASS="l">65</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="1">66</A></TD><TD>         * Test XPath 2.0 validation fails</TD></TR><TR><TD CLASS="l">67</TD><TD>         */</TD></TR><TR><TD CLASS="l">68</TD><TD>        public void testXSLT2XPath20Fails()</TD></TR><TR><TD CLASS="l">69</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">70</TD><TD>                String projName = getxslTestFilesProjectName();</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>                String fileName1 = &#34;ChangeRequestsByResponsibility.xsl&#34;;</TD></TR><TR><TD CLASS="l">72</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">73</TD><TD>                String validateFilePath = projName + File.separator + fileName1;</TD></TR><TR><TD CLASS="l">74</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>                IProjectDescription description = ResourcesPlugin.getWorkspace().newProjectDescription(projName);</TD></TR><TR><TD CLASS="l">76</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">77</TD><TD>                IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projName);</TD></TR><TR><TD CLASS="l">78</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">79</TD><TD>                        project.create(description, new NullProgressMonitor());</TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>                        project.open(new NullProgressMonitor());</TD></TR><TR><TD CLASS="l">81</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                catch (CoreException e) {</TD></TR><TR CLASS="c"><TD CLASS="l">83</TD><TD>                        e.printStackTrace();</TD></TR><TR><TD CLASS="l">84</TD><TD>                }</TD></TR><TR><TD CLASS="l">85</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">86</TD><TD>                IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(validateFilePath));</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                if (file != null &amp;&amp; !file.exists()) {</TD></TR><TR CLASS="z"><TD CLASS="l">88</TD><TD>                        fail(&#34;Unable to locate &#34; + fileName1 + &#34; stylesheet.&#34;);</TD></TR><TR><TD CLASS="l">89</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                WorkbenchContext context = new WorkbenchContext();</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>                List fileList = new ArrayList();</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                fileList.add(File.separator + validateFilePath);</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                context.setValidationFileURIs(fileList);</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                TestReporter reporter = new TestReporter();</TD></TR><TR><TD CLASS="l">95</TD><TD>                try{</TD></TR><TR CLASS="c"><TD CLASS="l">96</TD><TD>                        sourceValidator.validate(context, reporter);</TD></TR><TR><TD CLASS="l">97</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">98</TD><TD>                catch(ValidationException e){</TD></TR><TR CLASS="z"><TD CLASS="l">99</TD><TD>                        e.printStackTrace();</TD></TR><TR><TD CLASS="l">100</TD><TD>                }</TD></TR><TR><TD CLASS="l">101</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">102</TD><TD>                assertTrue(&#34;No Messages were reported on file with invalid XPath 1.0.&#34;, reporter.isMessageReported());                </TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="2">103</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">104</TD><TD>        </TD></TR><TR><TD CLASS="l">105</TD><TD>        public void testValidXSLT()</TD></TR><TR><TD CLASS="l">106</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">107</TD><TD>                String projName = getxslTestFilesProjectName();</TD></TR><TR CLASS="z"><TD CLASS="l">108</TD><TD>                String fileName1 = &#34;ListAllChangeRequests.xsl&#34;;</TD></TR><TR><TD CLASS="l">109</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                String validateFilePath = projName + File.separator + fileName1;</TD></TR><TR><TD CLASS="l">111</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>                IProjectDescription description = ResourcesPlugin.getWorkspace().newProjectDescription(projName);</TD></TR><TR><TD CLASS="l">113</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">114</TD><TD>                IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projName);</TD></TR><TR><TD CLASS="l">115</TD><TD>                try {</TD></TR><TR CLASS="z"><TD CLASS="l">116</TD><TD>                        project.create(description, new NullProgressMonitor());</TD></TR><TR CLASS="z"><TD CLASS="l">117</TD><TD>                        project.open(new NullProgressMonitor());</TD></TR><TR><TD CLASS="l">118</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">119</TD><TD>                catch (CoreException e) {</TD></TR><TR CLASS="c"><TD CLASS="l">120</TD><TD>                        e.printStackTrace();</TD></TR><TR><TD CLASS="l">121</TD><TD>                }</TD></TR><TR><TD CLASS="l">122</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">123</TD><TD>                IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(validateFilePath));</TD></TR><TR CLASS="c"><TD CLASS="l">124</TD><TD>                if (file != null &amp;&amp; !file.exists()) {</TD></TR><TR CLASS="z"><TD CLASS="l">125</TD><TD>                        fail(&#34;Unable to locate &#34; + fileName1 + &#34; stylesheet.&#34;);</TD></TR><TR><TD CLASS="l">126</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">127</TD><TD>                WorkbenchContext context = new WorkbenchContext();</TD></TR><TR CLASS="c"><TD CLASS="l">128</TD><TD>                List fileList = new ArrayList();</TD></TR><TR CLASS="c"><TD CLASS="l">129</TD><TD>                fileList.add(File.separator + validateFilePath);</TD></TR><TR CLASS="c"><TD CLASS="l">130</TD><TD>                context.setValidationFileURIs(fileList);</TD></TR><TR CLASS="c"><TD CLASS="l">131</TD><TD>                TestReporter reporter = new TestReporter();</TD></TR><TR><TD CLASS="l">132</TD><TD>                try{</TD></TR><TR CLASS="c"><TD CLASS="l">133</TD><TD>                        sourceValidator.validate(context, reporter);</TD></TR><TR><TD CLASS="l">134</TD><TD>                }</TD></TR><TR CLASS="z"><TD CLASS="l">135</TD><TD>                catch(ValidationException e){</TD></TR><TR CLASS="z"><TD CLASS="l">136</TD><TD>                        e.printStackTrace();</TD></TR><TR><TD CLASS="l">137</TD><TD>                }</TD></TR><TR><TD CLASS="l">138</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">139</TD><TD>                assertFalse(&#34;Messages were reported on &#34; + fileName1 + &#34;.&#34;, reporter.isMessageReported());                </TD></TR><TR CLASS="c"><TD CLASS="l">140</TD><TD>        }</TD></TR><TR><TD CLASS="l">141</TD><TD>        </TD></TR><TR><TD CLASS="l">142</TD><TD>        </TD></TR><TR><TD CLASS="l">143</TD><TD>        </TD></TR><TR><TD CLASS="l">144</TD><TD>        private class TestReporter implements IReporter</TD></TR><TR><TD CLASS="l">145</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="7">146</A></TD><TD>                protected boolean messageReported = false;</TD></TR><TR><TD CLASS="l">147</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">148</TD><TD>                public TestReporter(){</TD></TR><TR><TD CLASS="l"><A NAME="f">149</A></TD><TD>                        </TD></TR><TR CLASS="c"><TD CLASS="l">150</TD><TD>                }</TD></TR><TR><TD CLASS="l">151</TD><TD>                </TD></TR><TR><TD CLASS="l">152</TD><TD>                public void addMessage(IValidator origin, IMessage message) {</TD></TR><TR CLASS="c"><TD CLASS="l">153</TD><TD>                        if (message.getSeverity() == IMessage.HIGH_SEVERITY)</TD></TR><TR><TD CLASS="l">154</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">155</TD><TD>                                messageReported = true;</TD></TR><TR><TD CLASS="l">156</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="10">157</A></TD><TD>                }</TD></TR><TR><TD CLASS="l">158</TD><TD>                </TD></TR><TR><TD CLASS="l">159</TD><TD>                public boolean isMessageReported()</TD></TR><TR><TD CLASS="l">160</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">161</TD><TD>                        return messageReported;</TD></TR><TR><TD CLASS="l">162</TD><TD>                }</TD></TR><TR><TD CLASS="l"><A NAME="8">163</A></TD><TD> </TD></TR><TR><TD CLASS="l">164</TD><TD>                public void displaySubtask(IValidator validator, IMessage message) {</TD></TR><TR><TD CLASS="l">165</TD><TD>                        // TODO Auto-generated method stub</TD></TR><TR><TD CLASS="l">166</TD><TD>                        </TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="9">167</A></TD><TD>                }</TD></TR><TR><TD CLASS="l">168</TD><TD> </TD></TR><TR><TD CLASS="l">169</TD><TD>                public List getMessages() {</TD></TR><TR><TD CLASS="l">170</TD><TD>                        // TODO Auto-generated method stub</TD></TR><TR CLASS="z"><TD CLASS="l">171</TD><TD>                        return null;</TD></TR><TR><TD CLASS="l"><A NAME="a">172</A></TD><TD>                }</TD></TR><TR><TD CLASS="l">173</TD><TD> </TD></TR><TR><TD CLASS="l">174</TD><TD>                public boolean isCancelled() {</TD></TR><TR><TD CLASS="l">175</TD><TD>                        // TODO Auto-generated method stub</TD></TR><TR CLASS="z"><TD CLASS="l">176</TD><TD>                        return false;</TD></TR><TR><TD CLASS="l">177</TD><TD>                }</TD></TR><TR><TD CLASS="l"><A NAME="c">178</A></TD><TD> </TD></TR><TR><TD CLASS="l">179</TD><TD>                public void removeAllMessages(IValidator origin, Object object) {</TD></TR><TR><TD CLASS="l">180</TD><TD>                        // TODO Auto-generated method stub</TD></TR><TR><TD CLASS="l">181</TD><TD>                        </TD></TR><TR CLASS="z"><TD CLASS="l">182</TD><TD>                }</TD></TR><TR><TD CLASS="l"><A NAME="b">183</A></TD><TD> </TD></TR><TR><TD CLASS="l">184</TD><TD>                public void removeAllMessages(IValidator origin) {</TD></TR><TR><TD CLASS="l">185</TD><TD>                        // TODO Auto-generated method stub</TD></TR><TR><TD CLASS="l">186</TD><TD>                        </TD></TR><TR CLASS="z"><TD CLASS="l">187</TD><TD>                }</TD></TR><TR><TD CLASS="l"><A NAME="d">188</A></TD><TD> </TD></TR><TR><TD CLASS="l">189</TD><TD>                public void removeMessageSubset(IValidator validator, Object obj, String groupName) {</TD></TR><TR><TD CLASS="l">190</TD><TD>                        // TODO Auto-generated method stub</TD></TR><TR><TD CLASS="l">191</TD><TD>                        </TD></TR><TR CLASS="z"><TD CLASS="l">192</TD><TD>                }</TD></TR><TR><TD CLASS="l">193</TD><TD>                </TD></TR><TR><TD CLASS="l">194</TD><TD>        }</TD></TR><TR><TD CLASS="l">195</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/129.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/129.html
deleted file mode 100644
index e02e06a..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/129.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLMarkupValidator.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLMarkupValidator.java</TD><TD>100% (1/1)</TD><TD>86%  (6/7)</TD><TD>84%  (26/31)</TD><TD>85%  (11/13)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLMarkupValidator</A></TD><TD>100% (1/1)</TD><TD>86%  (6/7)</TD><TD>84%  (26/31)</TD><TD>85%  (11/13)</TD></TR><TR><TD CLASS="f"><A HREF="#1">validate (IValidationContext, IReporter): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">XSLMarkupValidator (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#3">cleanup (IReporter): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">connect (IDocument): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#5">disconnect (IDocument): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">validate (IRegion, IValidationContext, IReporter): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (6/6)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#7">validate (IStructuredDocumentRegion, IReporter): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (5/5)</TD><TD>100% (2/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Standards for Technology in Automotive Retail and others</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     David Carver - STAR - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD> </TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.ui.internal.validation;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.jface.text.IDocument;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.jface.text.IRegion;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.sse.ui.internal.reconcile.validator.ISourceValidator;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.wst.validation.internal.core.ValidationException;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IReporter;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IValidationContext;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IValidator;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.wst.xml.ui.internal.validation.MarkupValidator;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="0">24</A></TD><TD>/**</TD></TR><TR><TD CLASS="l">25</TD><TD> * @author dcarver</TD></TR><TR><TD CLASS="l">26</TD><TD> *</TD></TR><TR><TD CLASS="l">27</TD><TD> */</TD></TR><TR CLASS="c"><TD CLASS="l">28</TD><TD>public class XSLMarkupValidator extends MarkupValidator implements IValidator, ISourceValidator {</TD></TR><TR><TD CLASS="l">29</TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD> </TD></TR><TR><TD CLASS="l">31</TD><TD>        /**</TD></TR><TR><TD CLASS="l">32</TD><TD>         *  (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="3">33</A></TD><TD>         * @see org.eclipse.wst.validation.internal.provisional.core.IValidator#cleanup(org.eclipse.wst.validation.internal.provisional.core.IReporter)</TD></TR><TR><TD CLASS="l">34</TD><TD>         */</TD></TR><TR><TD CLASS="l">35</TD><TD>        public void cleanup(IReporter reporter) {</TD></TR><TR><TD CLASS="l">36</TD><TD>                // TODO Auto-generated method stub</TD></TR><TR CLASS="c"><TD CLASS="l">37</TD><TD>                super.cleanup(reporter);</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">39</TD><TD>        }</TD></TR><TR><TD CLASS="l">40</TD><TD> </TD></TR><TR><TD CLASS="l">41</TD><TD>        /**</TD></TR><TR><TD CLASS="l">42</TD><TD>         * </TD></TR><TR><TD CLASS="l">43</TD><TD>         * @param helper </TD></TR><TR><TD CLASS="l">44</TD><TD>         * @param reporter </TD></TR><TR><TD CLASS="l">45</TD><TD>         * @throws ValidationException </TD></TR><TR><TD CLASS="l">46</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="1">47</A></TD><TD>         */</TD></TR><TR><TD CLASS="l">48</TD><TD>        public void validate(IValidationContext helper, IReporter reporter)</TD></TR><TR><TD CLASS="l">49</TD><TD>                        throws ValidationException {</TD></TR><TR><TD CLASS="l">50</TD><TD>                // TODO Auto-generated method stub</TD></TR><TR CLASS="z"><TD CLASS="l">51</TD><TD>                super.validate(helper, reporter);</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>        }</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR><TD CLASS="l">54</TD><TD>        /**</TD></TR><TR><TD CLASS="l"><A NAME="4">55</A></TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">56</TD><TD>         * @see org.eclipse.wst.xml.ui.internal.validation.MarkupValidator#connect(org.eclipse.jface.text.IDocument)</TD></TR><TR><TD CLASS="l">57</TD><TD>         */</TD></TR><TR><TD CLASS="l">58</TD><TD>        public void connect(IDocument document) {</TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>        super.connect(document);</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>        }</TD></TR><TR><TD CLASS="l">61</TD><TD> </TD></TR><TR><TD CLASS="l">62</TD><TD>        /** </TD></TR><TR><TD CLASS="l"><A NAME="5">63</A></TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">64</TD><TD>         * @see org.eclipse.wst.xml.ui.internal.validation.MarkupValidator#disconnect(org.eclipse.jface.text.IDocument)</TD></TR><TR><TD CLASS="l">65</TD><TD>         */</TD></TR><TR><TD CLASS="l">66</TD><TD>        public void disconnect(IDocument document) {</TD></TR><TR CLASS="c"><TD CLASS="l">67</TD><TD>                super.disconnect(document);</TD></TR><TR CLASS="c"><TD CLASS="l">68</TD><TD>        }</TD></TR><TR><TD CLASS="l">69</TD><TD> </TD></TR><TR><TD CLASS="l">70</TD><TD>        /**</TD></TR><TR><TD CLASS="l">71</TD><TD>         *  (non-Javadoc)</TD></TR><TR><TD CLASS="l"><A NAME="6">72</A></TD><TD>         * @see org.eclipse.wst.xml.ui.internal.validation.MarkupValidator#validate(org.eclipse.jface.text.IRegion, org.eclipse.wst.validation.internal.provisional.core.IValidationContext, org.eclipse.wst.validation.internal.provisional.core.IReporter)</TD></TR><TR><TD CLASS="l">73</TD><TD>         */</TD></TR><TR><TD CLASS="l">74</TD><TD>        public void validate(IRegion dirtyRegion, IValidationContext helper,</TD></TR><TR><TD CLASS="l">75</TD><TD>                        IReporter reporter) {</TD></TR><TR CLASS="c"><TD CLASS="l">76</TD><TD>                super.validate(dirtyRegion, helper, reporter);</TD></TR><TR CLASS="c"><TD CLASS="l">77</TD><TD>        }</TD></TR><TR><TD CLASS="l">78</TD><TD>        </TD></TR><TR><TD CLASS="l">79</TD><TD>        /** </TD></TR><TR><TD CLASS="l">80</TD><TD>         * (non-Javadoc)</TD></TR><TR><TD CLASS="l">81</TD><TD>         * @see org.eclipse.wst.xml.ui.internal.validation.MarkupValidator#validate(org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion, org.eclipse.wst.validation.internal.provisional.core.IReporter)</TD></TR><TR><TD CLASS="l">82</TD><TD>         */</TD></TR><TR><TD CLASS="l"><A NAME="7">83</A></TD><TD>        @Override</TD></TR><TR><TD CLASS="l">84</TD><TD>        public void validate(IStructuredDocumentRegion structuredDocumentRegion,</TD></TR><TR><TD CLASS="l">85</TD><TD>                        IReporter reporter) {</TD></TR><TR><TD CLASS="l">86</TD><TD>                // TODO Auto-generated method stub</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                super.validate(structuredDocumentRegion, reporter);</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>        }</TD></TR><TR><TD CLASS="l">89</TD><TD>        </TD></TR><TR><TD CLASS="l">90</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12a.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12a.html
deleted file mode 100644
index 697b047..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12a.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">DelegatingSourceValidatorForXSL.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>DelegatingSourceValidatorForXSL.java</TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>85%  (77/91)</TD><TD>83%  (19/23)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">DelegatingSourceValidatorForXSL</A></TD><TD>100% (1/1)</TD><TD>100% (4/4)</TD><TD>85%  (77/91)</TD><TD>83%  (19/23)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getDelegateValidator (): IValidator</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>80%  (8/10)</TD><TD CLASS="h">75%  (3/4)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">validate (IValidationContext, IReporter): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>82%  (54/66)</TD><TD CLASS="h">79%  (11/14)</TD></TR><TR><TD CLASS="f"><A HREF="#0">DelegatingSourceValidatorForXSL (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">getValidator (): Validator</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (12/12)</TD><TD>100% (3/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.ui.internal.validation;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">14</TD><TD>import org.eclipse.ui.IEditorReference;</TD></TR><TR><TD CLASS="l">15</TD><TD>import org.eclipse.ui.IWorkbenchPage;</TD></TR><TR><TD CLASS="l">16</TD><TD>import org.eclipse.ui.IWorkbenchWindow;</TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.ui.PlatformUI;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.ui.part.FileEditorInput;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.validation.ValidationFramework;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.wst.validation.Validator;</TD></TR><TR><TD CLASS="l">21</TD><TD>import org.eclipse.wst.validation.internal.core.ValidationException;</TD></TR><TR><TD CLASS="l">22</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IReporter;</TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IValidationContext;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IValidator;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidator;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.wst.xsl.ui.internal.editor.XSLEditor;</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>/**</TD></TR><TR><TD CLASS="l">29</TD><TD> * This performs the as-you-type validation for xsl files</TD></TR><TR><TD CLASS="l">30</TD><TD> * </TD></TR><TR><TD CLASS="l">31</TD><TD> */</TD></TR><TR><TD CLASS="l">32</TD><TD>public class DelegatingSourceValidatorForXSL extends DelegatingSourceValidator</TD></TR><TR><TD CLASS="l">33</TD><TD>{</TD></TR><TR><TD CLASS="l">34</TD><TD>        private final static String Id = &#34;org.eclipse.wst.xsl.core.xsl&#34;; //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">35</TD><TD> </TD></TR><TR><TD CLASS="l">36</TD><TD>        private Validator _validator;</TD></TR><TR><TD CLASS="l"><A NAME="0">37</A></TD><TD> </TD></TR><TR><TD CLASS="l">38</TD><TD>        /**</TD></TR><TR><TD CLASS="l">39</TD><TD>         * Constructor</TD></TR><TR><TD CLASS="l">40</TD><TD>         */</TD></TR><TR CLASS="c"><TD CLASS="l">41</TD><TD>        public DelegatingSourceValidatorForXSL()</TD></TR><TR><TD CLASS="l">42</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="2">44</A></TD><TD> </TD></TR><TR><TD CLASS="l">45</TD><TD>        @Override</TD></TR><TR><TD CLASS="l">46</TD><TD>        public void validate(IValidationContext helper, IReporter reporter) throws ValidationException</TD></TR><TR><TD CLASS="l">47</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">48</TD><TD>                super.validate(helper, reporter);</TD></TR><TR><TD CLASS="l">49</TD><TD>                // validating will refresh the model, so now calculate the overrides.</TD></TR><TR><TD CLASS="l">50</TD><TD>                // (we only calculate overrides for source validation as we only want to do it for files open in an editor)</TD></TR><TR><TD CLASS="l">51</TD><TD>                // There follows a very complicated way of creating the required annotations in an editor...</TD></TR><TR CLASS="c"><TD CLASS="l">52</TD><TD>                String[] delta = helper.getURIs();</TD></TR><TR CLASS="c"><TD CLASS="l">53</TD><TD>                if (delta.length &gt; 0)</TD></TR><TR><TD CLASS="l">54</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                        IFile file = getFile(delta[0]);</TD></TR><TR><TD CLASS="l">56</TD><TD>                        // find any files with open editors...</TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>                        IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows();</TD></TR><TR CLASS="c"><TD CLASS="l">58</TD><TD>                        for (IWorkbenchWindow workbenchWindow : windows)</TD></TR><TR><TD CLASS="l">59</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">60</TD><TD>                                IWorkbenchPage page = workbenchWindow.getActivePage();</TD></TR><TR CLASS="c"><TD CLASS="l">61</TD><TD>                                if (page != null)</TD></TR><TR><TD CLASS="l">62</TD><TD>                                {</TD></TR><TR CLASS="c"><TD CLASS="l">63</TD><TD>                                        IEditorReference[] refs = page.findEditors(new FileEditorInput(file), &#34;org.eclipse.wst.xsl.ui.XSLEditor&#34;, IWorkbenchPage.MATCH_ID | IWorkbenchPage.MATCH_INPUT);</TD></TR><TR><TD CLASS="l">64</TD><TD>                                        // lets hope we only have one XSL editor open on the file, or else we don't know which one started this validation...</TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                                        if (refs.length == 1)</TD></TR><TR><TD CLASS="l">66</TD><TD>                                        {</TD></TR><TR CLASS="z"><TD CLASS="l">67</TD><TD>                                                XSLEditor editor = (XSLEditor) refs[0].getEditor(false);</TD></TR><TR CLASS="z"><TD CLASS="l">68</TD><TD>                                                if (editor != null)</TD></TR><TR><TD CLASS="l">69</TD><TD>                                                {// all this work just to get here...</TD></TR><TR CLASS="z"><TD CLASS="l">70</TD><TD>                                                        editor.getOverrideIndicatorManager().updateAnnotations();</TD></TR><TR><TD CLASS="l">71</TD><TD>                                                }</TD></TR><TR><TD CLASS="l">72</TD><TD>                                        }</TD></TR><TR><TD CLASS="l">73</TD><TD>                                }</TD></TR><TR><TD CLASS="l">74</TD><TD>                        }</TD></TR><TR><TD CLASS="l">75</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="4">76</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR><TD CLASS="l">78</TD><TD>        private Validator getValidator()</TD></TR><TR><TD CLASS="l">79</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">80</TD><TD>                if (_validator == null)</TD></TR><TR CLASS="c"><TD CLASS="l">81</TD><TD>                        _validator = ValidationFramework.getDefault().getValidator(Id, null);</TD></TR><TR CLASS="c"><TD CLASS="l">82</TD><TD>                return _validator;</TD></TR><TR><TD CLASS="l"><A NAME="1">83</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">84</TD><TD> </TD></TR><TR><TD CLASS="l">85</TD><TD>        protected IValidator getDelegateValidator()</TD></TR><TR><TD CLASS="l">86</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">87</TD><TD>                Validator v = getValidator();</TD></TR><TR CLASS="c"><TD CLASS="l">88</TD><TD>                if (v == null)</TD></TR><TR CLASS="z"><TD CLASS="l">89</TD><TD>                        return null;</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                return v.asIValidator();</TD></TR><TR><TD CLASS="l">91</TD><TD>        }</TD></TR><TR><TD CLASS="l">92</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="34.html">org.eclipse.wst.xsl.ui.internal.validation</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12b.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12b.html
deleted file mode 100644
index b40a10b..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12b.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="35.html">org.eclipse.wst.xsl.core.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">MaxErrorsExceededException.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>MaxErrorsExceededException.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">MaxErrorsExceededException</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#0">MaxErrorsExceededException (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2008 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.core.internal.validation;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>/**</TD></TR><TR><TD CLASS="l">14</TD><TD> * An exception used to indicate whether the maximum number of errors has been reached </TD></TR><TR><TD CLASS="l"><A NAME="0">15</A></TD><TD> * for a given Stylesheet validation.</TD></TR><TR><TD CLASS="l">16</TD><TD> * </TD></TR><TR><TD CLASS="l">17</TD><TD> * @author Doug Satchwell</TD></TR><TR><TD CLASS="l">18</TD><TD> */</TD></TR><TR CLASS="z"><TD CLASS="l">19</TD><TD>public class MaxErrorsExceededException extends Exception</TD></TR><TR><TD CLASS="l">20</TD><TD>{</TD></TR><TR><TD CLASS="l">21</TD><TD>        private static final long serialVersionUID = 1L;        </TD></TR><TR><TD CLASS="l">22</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="35.html">org.eclipse.wst.xsl.core.internal.validation</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12c.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12c.html
deleted file mode 100644
index 040f45e..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12c.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="35.html">org.eclipse.wst.xsl.core.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLValidationReport.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLValidationReport.java</TD><TD>100% (1/1)</TD><TD CLASS="h">64%  (7/11)</TD><TD CLASS="h">59%  (91/153)</TD><TD CLASS="h">65%  (22/34)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLValidationReport</A></TD><TD>100% (1/1)</TD><TD CLASS="h">64%  (7/11)</TD><TD CLASS="h">59%  (91/153)</TD><TD CLASS="h">65%  (22/34)</TD></TR><TR><TD CLASS="f"><A HREF="#1">addInfo (XSLNode, String): ValidationMessage</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/28)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">addWarning (XSLNode, String): ValidationMessage</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/28)</TD><TD CLASS="h">0%   (0/5)</TD></TR><TR><TD CLASS="f"><A HREF="#3">getInfos (): List</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">isValid (): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#0">XSLValidationReport (String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (24/24)</TD><TD>100% (7/7)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">addError (XSLNode, String): ValidationMessage</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (31/31)</TD><TD>100% (6/6)</TD></TR><TR><TD CLASS="f"><A HREF="#7">getErrors (): List</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">getFileURI (): String</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR><TR><TD CLASS="f"><A HREF="#9">getNestedMessages (): HashMap</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (2/2)</TD><TD>100% (1/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#a">getValidationMessages (): ValidationMessage []</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (25/25)</TD><TD>100% (5/5)</TD></TR><TR><TD CLASS="f"><A HREF="#b">getWarnings (): List</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (1/1)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">11</TD><TD>package org.eclipse.wst.xsl.core.internal.validation;</TD></TR><TR><TD CLASS="l">12</TD><TD> </TD></TR><TR><TD CLASS="l">13</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">14</TD><TD>import java.util.HashMap;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">16</TD><TD> </TD></TR><TR><TD CLASS="l">17</TD><TD>import org.eclipse.wst.validation.internal.provisional.core.IMessage;</TD></TR><TR><TD CLASS="l">18</TD><TD>import org.eclipse.wst.xml.core.internal.validation.core.ValidationMessage;</TD></TR><TR><TD CLASS="l">19</TD><TD>import org.eclipse.wst.xml.core.internal.validation.core.ValidationReport;</TD></TR><TR><TD CLASS="l">20</TD><TD>import org.eclipse.wst.xsl.core.model.XSLNode;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD> </TD></TR><TR><TD CLASS="l">23</TD><TD>/**</TD></TR><TR><TD CLASS="l">24</TD><TD> * A validation report for the XSL validator.</TD></TR><TR><TD CLASS="l">25</TD><TD> * </TD></TR><TR><TD CLASS="l">26</TD><TD> * @author Doug Satchwell</TD></TR><TR><TD CLASS="l">27</TD><TD> * @see org.eclipse.wst.xml.core.internal.validation.core.ValidationReport</TD></TR><TR><TD CLASS="l">28</TD><TD> */</TD></TR><TR><TD CLASS="l">29</TD><TD>public class XSLValidationReport implements ValidationReport</TD></TR><TR><TD CLASS="l">30</TD><TD>{</TD></TR><TR CLASS="c"><TD CLASS="l">31</TD><TD>        private boolean valid = true;</TD></TR><TR><TD CLASS="l">32</TD><TD>        private String uri;</TD></TR><TR CLASS="c"><TD CLASS="l">33</TD><TD>        private List&lt;XSLValidationMessage&gt; errors = new ArrayList&lt;XSLValidationMessage&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">34</TD><TD>        private List&lt;XSLValidationMessage&gt; warnings = new ArrayList&lt;XSLValidationMessage&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">35</TD><TD>        private List&lt;XSLValidationMessage&gt; infos = new ArrayList&lt;XSLValidationMessage&gt;();</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR><TD CLASS="l">37</TD><TD>        /**</TD></TR><TR><TD CLASS="l">38</TD><TD>         * Create a new instance of this.</TD></TR><TR><TD CLASS="l"><A NAME="0">39</A></TD><TD>         * </TD></TR><TR><TD CLASS="l">40</TD><TD>         * @param uri</TD></TR><TR><TD CLASS="l">41</TD><TD>         *            the URI of the entity that this report applies to</TD></TR><TR><TD CLASS="l">42</TD><TD>         */</TD></TR><TR CLASS="c"><TD CLASS="l">43</TD><TD>        public XSLValidationReport(String uri)</TD></TR><TR><TD CLASS="l">44</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">45</TD><TD>                this.uri = uri;</TD></TR><TR CLASS="c"><TD CLASS="l">46</TD><TD>        }</TD></TR><TR><TD CLASS="l">47</TD><TD> </TD></TR><TR><TD CLASS="l">48</TD><TD>        /**</TD></TR><TR><TD CLASS="l">49</TD><TD>         * Get the validation messages.</TD></TR><TR><TD CLASS="l">50</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="7">51</A></TD><TD>         * @return validation messages</TD></TR><TR><TD CLASS="l">52</TD><TD>         */</TD></TR><TR><TD CLASS="l">53</TD><TD>        public List&lt;XSLValidationMessage&gt; getErrors()</TD></TR><TR><TD CLASS="l">54</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">55</TD><TD>                return errors;</TD></TR><TR><TD CLASS="l">56</TD><TD>        }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>        /**</TD></TR><TR><TD CLASS="l">59</TD><TD>         * Get the validation messages.</TD></TR><TR><TD CLASS="l">60</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="b">61</A></TD><TD>         * @return validation messages</TD></TR><TR><TD CLASS="l">62</TD><TD>         */</TD></TR><TR><TD CLASS="l">63</TD><TD>        public List&lt;XSLValidationMessage&gt; getWarnings()</TD></TR><TR><TD CLASS="l">64</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">65</TD><TD>                return warnings;</TD></TR><TR><TD CLASS="l">66</TD><TD>        }</TD></TR><TR><TD CLASS="l">67</TD><TD> </TD></TR><TR><TD CLASS="l">68</TD><TD>        /**</TD></TR><TR><TD CLASS="l">69</TD><TD>         * Get the validation messages.</TD></TR><TR><TD CLASS="l">70</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="3">71</A></TD><TD>         * @return validation messages</TD></TR><TR><TD CLASS="l">72</TD><TD>         */</TD></TR><TR><TD CLASS="l">73</TD><TD>        public List&lt;XSLValidationMessage&gt; getInfos()</TD></TR><TR><TD CLASS="l">74</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>                return infos;</TD></TR><TR><TD CLASS="l">76</TD><TD>        }</TD></TR><TR><TD CLASS="l">77</TD><TD> </TD></TR><TR><TD CLASS="l">78</TD><TD>        /**</TD></TR><TR><TD CLASS="l">79</TD><TD>         * Add an error message for the given XSL node.</TD></TR><TR><TD CLASS="l">80</TD><TD>         * </TD></TR><TR><TD CLASS="l">81</TD><TD>         * @param node</TD></TR><TR><TD CLASS="l">82</TD><TD>         *            the node the warning applies to</TD></TR><TR><TD CLASS="l">83</TD><TD>         * @param message</TD></TR><TR><TD CLASS="l">84</TD><TD>         *            the message to associate with the node</TD></TR><TR><TD CLASS="l"><A NAME="6">85</A></TD><TD>         * @return the validation message created</TD></TR><TR><TD CLASS="l">86</TD><TD>         */</TD></TR><TR><TD CLASS="l">87</TD><TD>        public ValidationMessage addError(XSLNode node, String message)</TD></TR><TR><TD CLASS="l">88</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                valid = false;</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                XSLValidationMessage msg = new XSLValidationMessage(message, node.getLineNumber() + 1, node.getColumnNumber() + 1, getFileURI());</TD></TR><TR CLASS="c"><TD CLASS="l">91</TD><TD>                msg.setSeverity(IMessage.HIGH_SEVERITY);</TD></TR><TR CLASS="c"><TD CLASS="l">92</TD><TD>                msg.setNode(node);</TD></TR><TR CLASS="c"><TD CLASS="l">93</TD><TD>                errors.add(msg);</TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                return msg;</TD></TR><TR><TD CLASS="l">95</TD><TD>        }</TD></TR><TR><TD CLASS="l">96</TD><TD> </TD></TR><TR><TD CLASS="l">97</TD><TD>        /**</TD></TR><TR><TD CLASS="l">98</TD><TD>         * Add an warning message for the given XSL node.</TD></TR><TR><TD CLASS="l">99</TD><TD>         * </TD></TR><TR><TD CLASS="l">100</TD><TD>         * @param node</TD></TR><TR><TD CLASS="l">101</TD><TD>         *            the node the warning applies to</TD></TR><TR><TD CLASS="l">102</TD><TD>         * @param message</TD></TR><TR><TD CLASS="l">103</TD><TD>         *            the message to associate with the node</TD></TR><TR><TD CLASS="l"><A NAME="2">104</A></TD><TD>         * @return the validation message created</TD></TR><TR><TD CLASS="l">105</TD><TD>         */</TD></TR><TR><TD CLASS="l">106</TD><TD>        public ValidationMessage addWarning(XSLNode node, String message)</TD></TR><TR><TD CLASS="l">107</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">108</TD><TD>                XSLValidationMessage msg = new XSLValidationMessage(message, node.getLineNumber() + 1, node.getColumnNumber() + 1, getFileURI());</TD></TR><TR CLASS="z"><TD CLASS="l">109</TD><TD>                msg.setSeverity(IMessage.NORMAL_SEVERITY);</TD></TR><TR CLASS="z"><TD CLASS="l">110</TD><TD>                msg.setNode(node);</TD></TR><TR CLASS="z"><TD CLASS="l">111</TD><TD>                warnings.add(msg);</TD></TR><TR CLASS="z"><TD CLASS="l">112</TD><TD>                return msg;</TD></TR><TR><TD CLASS="l">113</TD><TD>        }</TD></TR><TR><TD CLASS="l">114</TD><TD> </TD></TR><TR><TD CLASS="l">115</TD><TD>        /**</TD></TR><TR><TD CLASS="l">116</TD><TD>         * Add an info message for the given XSL node.</TD></TR><TR><TD CLASS="l">117</TD><TD>         * </TD></TR><TR><TD CLASS="l">118</TD><TD>         * @param node</TD></TR><TR><TD CLASS="l">119</TD><TD>         *            the node the warning applies to</TD></TR><TR><TD CLASS="l">120</TD><TD>         * @param message</TD></TR><TR><TD CLASS="l">121</TD><TD>         *            the message to associate with the node</TD></TR><TR><TD CLASS="l"><A NAME="1">122</A></TD><TD>         * @return the validation message created</TD></TR><TR><TD CLASS="l">123</TD><TD>         */</TD></TR><TR><TD CLASS="l">124</TD><TD>        public ValidationMessage addInfo(XSLNode node, String message)</TD></TR><TR><TD CLASS="l">125</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">126</TD><TD>                XSLValidationMessage msg = new XSLValidationMessage(message, node.getLineNumber() + 1, node.getColumnNumber() + 1, getFileURI());</TD></TR><TR CLASS="z"><TD CLASS="l">127</TD><TD>                msg.setSeverity(IMessage.LOW_SEVERITY);</TD></TR><TR CLASS="z"><TD CLASS="l">128</TD><TD>                msg.setNode(node);</TD></TR><TR CLASS="z"><TD CLASS="l">129</TD><TD>                infos.add(msg);</TD></TR><TR CLASS="z"><TD CLASS="l">130</TD><TD>                return msg;</TD></TR><TR><TD CLASS="l">131</TD><TD>        }</TD></TR><TR><TD CLASS="l">132</TD><TD> </TD></TR><TR><TD CLASS="l">133</TD><TD>        /**</TD></TR><TR><TD CLASS="l">134</TD><TD>         * Get the URI that this report applies to.</TD></TR><TR><TD CLASS="l">135</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="8">136</A></TD><TD>         * @return the URI</TD></TR><TR><TD CLASS="l">137</TD><TD>         */</TD></TR><TR><TD CLASS="l">138</TD><TD>        public String getFileURI()</TD></TR><TR><TD CLASS="l">139</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">140</TD><TD>                return uri;</TD></TR><TR><TD CLASS="l">141</TD><TD>        }</TD></TR><TR><TD CLASS="l">142</TD><TD> </TD></TR><TR><TD CLASS="l">143</TD><TD>        /**</TD></TR><TR><TD CLASS="l">144</TD><TD>         * @see org.eclipse.wst.xml.core.internal.validation.core.getNestedMessages</TD></TR><TR><TD CLASS="l">145</TD><TD>         * </TD></TR><TR><TD CLASS="l">146</TD><TD>         * @return null</TD></TR><TR><TD CLASS="l"><A NAME="9">147</A></TD><TD>         */</TD></TR><TR><TD CLASS="l">148</TD><TD>        @SuppressWarnings(&#34;unchecked&#34;)</TD></TR><TR><TD CLASS="l">149</TD><TD>        public HashMap getNestedMessages()</TD></TR><TR><TD CLASS="l">150</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">151</TD><TD>                return null;</TD></TR><TR><TD CLASS="l">152</TD><TD>        }</TD></TR><TR><TD CLASS="l">153</TD><TD> </TD></TR><TR><TD CLASS="l">154</TD><TD>        /**</TD></TR><TR><TD CLASS="l">155</TD><TD>         * Returns an array of validation messages.</TD></TR><TR><TD CLASS="l">156</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="a">157</A></TD><TD>         * @return An array of validation messages.</TD></TR><TR><TD CLASS="l">158</TD><TD>         */</TD></TR><TR><TD CLASS="l">159</TD><TD>        public ValidationMessage[] getValidationMessages()</TD></TR><TR><TD CLASS="l">160</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">161</TD><TD>                List&lt;ValidationMessage&gt; messages = new ArrayList&lt;ValidationMessage&gt;();</TD></TR><TR CLASS="c"><TD CLASS="l">162</TD><TD>                messages.addAll(errors);</TD></TR><TR CLASS="c"><TD CLASS="l">163</TD><TD>                messages.addAll(warnings);</TD></TR><TR CLASS="c"><TD CLASS="l">164</TD><TD>                messages.addAll(infos);</TD></TR><TR CLASS="c"><TD CLASS="l">165</TD><TD>                return messages.toArray(new ValidationMessage[0]);</TD></TR><TR><TD CLASS="l">166</TD><TD>        }</TD></TR><TR><TD CLASS="l">167</TD><TD> </TD></TR><TR><TD CLASS="l">168</TD><TD>        /**</TD></TR><TR><TD CLASS="l">169</TD><TD>         * Returns whether the file is valid. The file may have warnings associated with it.</TD></TR><TR><TD CLASS="l">170</TD><TD>         * </TD></TR><TR><TD CLASS="l"><A NAME="4">171</A></TD><TD>         * @return True if the file is valid, false otherwise.</TD></TR><TR><TD CLASS="l">172</TD><TD>         */</TD></TR><TR><TD CLASS="l">173</TD><TD>        public boolean isValid()</TD></TR><TR><TD CLASS="l">174</TD><TD>        {</TD></TR><TR CLASS="z"><TD CLASS="l">175</TD><TD>                return valid;</TD></TR><TR><TD CLASS="l">176</TD><TD>        }</TD></TR><TR><TD CLASS="l">177</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="35.html">org.eclipse.wst.xsl.core.internal.validation</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12d.html b/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12d.html
deleted file mode 100644
index 491be1d..0000000
--- a/tests/org.eclipse.wst.xsl.tests/coverageReport/_files/12d.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Dec 23 17:51:45 GMT-05:00 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="35.html">org.eclipse.wst.xsl.core.internal.validation</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">XSLValidator.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>XSLValidator.java</TD><TD>100% (1/1)</TD><TD>100% (14/14)</TD><TD CLASS="h">69%  (489/707)</TD><TD CLASS="h">77%  (100/130)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">XSLValidator</A></TD><TD>100% (1/1)</TD><TD>100% (14/14)</TD><TD CLASS="h">69%  (489/707)</TD><TD CLASS="h">77%  (100/130)</TD></TR><TR><TD CLASS="f"><A HREF="#1">checkCircularRef (StylesheetModel, XSLValidationReport): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">31%  (4/13)</TD><TD CLASS="h">67%  (2/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">checkIncludes (StylesheetModel, XSLValidationReport): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">44%  (55/126)</TD><TD CLASS="h">56%  (9/16)</TD></TR><TR><TD CLASS="f"><A HREF="#3">checkParameters (XSLValidationReport, Template): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">57%  (50/87)</TD><TD CLASS="h">62%  (10/16)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">checkCallTemplates (StylesheetModel, XSLValidationReport): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">71%  (137/194)</TD><TD CLASS="h">77%  (24/31)</TD></TR><TR><TD CLASS="f"><A HREF="#5">createMarker (XSLValidationReport, XSLNode, int, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">71%  (22/31)</TD><TD CLASS="h">75%  (6/8)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">getPreference (String): int</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">71%  (27/38)</TD><TD CLASS="h">75%  (6/8)</TD></TR><TR><TD CLASS="f"><A HREF="#7">checkTemplates (StylesheetModel, XSLValidationReport): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">78%  (64/82)</TD><TD>82%  (9/11)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#8">validate (IFile, XSLValidationReport, boolean): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD CLASS="h">79%  (19/24)</TD><TD CLASS="h">75%  (6/8)</TD></TR><TR><TD CLASS="f"><A HREF="#9">validateXPath (XSLElement, XSLValidationReport, String): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>96%  (24/25)</TD><TD>86%  (6/7)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">XSLValidator (): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (3/3)</TD><TD>100% (2/2)</TD></TR><TR><TD CLASS="f"><A HREF="#b">calculateProblems (StylesheetModel, XSLValidationReport): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (26/26)</TD><TD>100% (7/7)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#c">checkXPaths (XSLElement, XSLValidationReport): void</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (32/32)</TD><TD>100% (6/6)</TD></TR><TR><TD CLASS="f"><A HREF="#d">getInstance (): XSLValidator</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (8/8)</TD><TD>100% (3/3)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#e">validate (IFile, boolean): ValidationReport</A></TD><TD> </TD><TD>100% (1/1)</TD><TD>100% (18/18)</TD><TD>100% (4/4)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/*******************************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk</TD></TR><TR><TD CLASS="l">3</TD><TD> * All rights reserved. This program and the accompanying materials</TD></TR><TR><TD CLASS="l">4</TD><TD> * are made available under the terms of the Eclipse Public License v1.0</TD></TR><TR><TD CLASS="l">5</TD><TD> * which accompanies this distribution, and is available at</TD></TR><TR><TD CLASS="l">6</TD><TD> * http://www.eclipse.org/legal/epl-v10.html</TD></TR><TR><TD CLASS="l">7</TD><TD> *</TD></TR><TR><TD CLASS="l">8</TD><TD> * Contributors:</TD></TR><TR><TD CLASS="l">9</TD><TD> *     Doug Satchwell (Chase Technology Ltd) - initial API and implementation</TD></TR><TR><TD CLASS="l">10</TD><TD> *     David Carver (STAR) - bug 230072 - Project level specific validation</TD></TR><TR><TD CLASS="l">11</TD><TD> *******************************************************************************/</TD></TR><TR><TD CLASS="l">12</TD><TD>package org.eclipse.wst.xsl.core.internal.validation;</TD></TR><TR><TD CLASS="l">13</TD><TD> </TD></TR><TR><TD CLASS="l">14</TD><TD>import java.text.MessageFormat;</TD></TR><TR><TD CLASS="l">15</TD><TD>import java.util.ArrayList;</TD></TR><TR><TD CLASS="l">16</TD><TD>import java.util.Collections;</TD></TR><TR><TD CLASS="l">17</TD><TD>import java.util.HashSet;</TD></TR><TR><TD CLASS="l">18</TD><TD>import java.util.List;</TD></TR><TR><TD CLASS="l">19</TD><TD>import java.util.Set;</TD></TR><TR><TD CLASS="l">20</TD><TD> </TD></TR><TR><TD CLASS="l">21</TD><TD>import javax.xml.xpath.XPathExpressionException;</TD></TR><TR><TD CLASS="l">22</TD><TD> </TD></TR><TR><TD CLASS="l">23</TD><TD>import org.eclipse.core.resources.IFile;</TD></TR><TR><TD CLASS="l">24</TD><TD>import org.eclipse.core.resources.IMarker;</TD></TR><TR><TD CLASS="l">25</TD><TD>import org.eclipse.core.resources.IProject;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.eclipse.core.resources.ProjectScope;</TD></TR><TR><TD CLASS="l">27</TD><TD>import org.eclipse.core.runtime.CoreException;</TD></TR><TR><TD CLASS="l">28</TD><TD>import org.eclipse.core.runtime.preferences.IEclipsePreferences;</TD></TR><TR><TD CLASS="l">29</TD><TD>import org.eclipse.wst.sse.core.internal.validate.ValidationMessage;</TD></TR><TR><TD CLASS="l">30</TD><TD>import org.eclipse.wst.xml.core.internal.validation.core.ValidationReport;</TD></TR><TR><TD CLASS="l">31</TD><TD>import org.eclipse.wst.xml.xpath.core.util.XSLTXPathHelper;</TD></TR><TR><TD CLASS="l">32</TD><TD>import org.eclipse.wst.xsl.core.ValidationPreferences;</TD></TR><TR><TD CLASS="l">33</TD><TD>import org.eclipse.wst.xsl.core.XSLCore;</TD></TR><TR><TD CLASS="l">34</TD><TD>import org.eclipse.wst.xsl.core.internal.XSLCorePlugin;</TD></TR><TR><TD CLASS="l">35</TD><TD>import org.eclipse.wst.xsl.core.internal.util.Debug;</TD></TR><TR><TD CLASS="l">36</TD><TD>import org.eclipse.wst.xsl.core.model.CallTemplate;</TD></TR><TR><TD CLASS="l">37</TD><TD>import org.eclipse.wst.xsl.core.model.Include;</TD></TR><TR><TD CLASS="l">38</TD><TD>import org.eclipse.wst.xsl.core.model.Parameter;</TD></TR><TR><TD CLASS="l">39</TD><TD>import org.eclipse.wst.xsl.core.model.StylesheetModel;</TD></TR><TR><TD CLASS="l">40</TD><TD>import org.eclipse.wst.xsl.core.model.Template;</TD></TR><TR><TD CLASS="l">41</TD><TD>import org.eclipse.wst.xsl.core.model.XSLAttribute;</TD></TR><TR><TD CLASS="l">42</TD><TD>import org.eclipse.wst.xsl.core.model.XSLElement;</TD></TR><TR><TD CLASS="l">43</TD><TD>import org.eclipse.wst.xsl.core.model.XSLNode;</TD></TR><TR><TD CLASS="l">44</TD><TD>import org.eclipse.wst.xsl.core.Messages;</TD></TR><TR><TD CLASS="l">45</TD><TD> </TD></TR><TR><TD CLASS="l">46</TD><TD> </TD></TR><TR><TD CLASS="l">47</TD><TD>/**</TD></TR><TR><TD CLASS="l">48</TD><TD> * The XSL validator for workspace XSL files.</TD></TR><TR><TD CLASS="l">49</TD><TD> * </TD></TR><TR><TD CLASS="l">50</TD><TD> * @author Doug Satchwell</TD></TR><TR><TD CLASS="l">51</TD><TD> */</TD></TR><TR><TD CLASS="l">52</TD><TD>public class XSLValidator</TD></TR><TR><TD CLASS="l"><A NAME="0">53</A></TD><TD>{</TD></TR><TR><TD CLASS="l">54</TD><TD>        private static XSLValidator instance;</TD></TR><TR><TD CLASS="l">55</TD><TD>        private IProject project;</TD></TR><TR><TD CLASS="l">56</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">57</TD><TD>        private XSLValidator()</TD></TR><TR><TD CLASS="l">58</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">59</TD><TD>        }</TD></TR><TR><TD CLASS="l">60</TD><TD> </TD></TR><TR><TD CLASS="l">61</TD><TD>        /**</TD></TR><TR><TD CLASS="l">62</TD><TD>         * Validate the given XSL file. Same as &lt;code&gt;validate(xslFile,report,forceBuild)&lt;/code&gt; except a new report is created and returned.</TD></TR><TR><TD CLASS="l">63</TD><TD>         * </TD></TR><TR><TD CLASS="l">64</TD><TD>         * @param xslFile the XSL file</TD></TR><TR><TD CLASS="l">65</TD><TD>         * @param forceBuild true if build should always be forced</TD></TR><TR><TD CLASS="l">66</TD><TD>         * @return the validation report</TD></TR><TR><TD CLASS="l"><A NAME="e">67</A></TD><TD>         * @throws CoreException if any exception occurs while validating</TD></TR><TR><TD CLASS="l">68</TD><TD>         */</TD></TR><TR><TD CLASS="l">69</TD><TD>        public ValidationReport validate(IFile xslFile, boolean forceBuild) throws CoreException</TD></TR><TR><TD CLASS="l">70</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">71</TD><TD>                XSLValidationReport report = new XSLValidationReport(xslFile.getLocationURI().toString());</TD></TR><TR CLASS="c"><TD CLASS="l">72</TD><TD>                project = xslFile.getProject();</TD></TR><TR CLASS="c"><TD CLASS="l">73</TD><TD>                validate(xslFile, report, forceBuild);</TD></TR><TR CLASS="c"><TD CLASS="l">74</TD><TD>                return report;</TD></TR><TR><TD CLASS="l">75</TD><TD>        }</TD></TR><TR><TD CLASS="l">76</TD><TD> </TD></TR><TR><TD CLASS="l">77</TD><TD>        /**</TD></TR><TR><TD CLASS="l">78</TD><TD>         * Validate the given XSL file using the specified report.</TD></TR><TR><TD CLASS="l">79</TD><TD>         * </TD></TR><TR><TD CLASS="l">80</TD><TD>         * @param xslFile the XSL file</TD></TR><TR><TD CLASS="l">81</TD><TD>         * @param report the report to use for reporting validation errors</TD></TR><TR><TD CLASS="l">82</TD><TD>         * @param forceBuild true if build should always be forced</TD></TR><TR><TD CLASS="l">83</TD><TD>         * @return the validation report</TD></TR><TR><TD CLASS="l">84</TD><TD>         * @throws CoreException if any exception occurs while validating</TD></TR><TR><TD CLASS="l"><A NAME="8">85</A></TD><TD>         */</TD></TR><TR><TD CLASS="l">86</TD><TD>        public void validate(IFile xslFile, XSLValidationReport report, boolean forceBuild) throws CoreException</TD></TR><TR><TD CLASS="l">87</TD><TD>        {</TD></TR><TR><TD CLASS="l">88</TD><TD>                StylesheetModel stylesheet;</TD></TR><TR CLASS="c"><TD CLASS="l">89</TD><TD>                if (forceBuild)</TD></TR><TR CLASS="c"><TD CLASS="l">90</TD><TD>                        stylesheet = XSLCore.getInstance().buildStylesheet(xslFile);</TD></TR><TR><TD CLASS="l">91</TD><TD>                else</TD></TR><TR CLASS="z"><TD CLASS="l">92</TD><TD>                        stylesheet = XSLCore.getInstance().getStylesheet(xslFile);</TD></TR><TR><TD CLASS="l">93</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">94</TD><TD>                project = xslFile.getProject();</TD></TR><TR><TD CLASS="l">95</TD><TD> </TD></TR><TR><TD CLASS="l">96</TD><TD>                long start;</TD></TR><TR><TD CLASS="l">97</TD><TD>                if (Debug.debugXSLModel) {</TD></TR><TR><TD CLASS="l">98</TD><TD>                        start = System.currentTimeMillis();</TD></TR><TR><TD CLASS="l">99</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">100</TD><TD>                if (stylesheet!=null)</TD></TR><TR><TD CLASS="l">101</TD><TD>                {</TD></TR><TR><TD CLASS="l">102</TD><TD>                        try</TD></TR><TR><TD CLASS="l">103</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">104</TD><TD>                                calculateProblems(stylesheet, report);</TD></TR><TR><TD CLASS="l">105</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">106</TD><TD>                        catch (MaxErrorsExceededException e)</TD></TR><TR><TD CLASS="l">107</TD><TD>                        {</TD></TR><TR><TD CLASS="l">108</TD><TD>                                // do nothing</TD></TR><TR><TD CLASS="l">109</TD><TD>                        }</TD></TR><TR><TD CLASS="l">110</TD><TD>                }</TD></TR><TR><TD CLASS="l">111</TD><TD>                if (Debug.debugXSLModel) {</TD></TR><TR><TD CLASS="l">112</TD><TD>                        long end = System.currentTimeMillis();</TD></TR><TR><TD CLASS="l">113</TD><TD>                        System.out.println(&#34;VALIDATE &#34;+xslFile+&#34; in &#34;+(end-start)+&#34;ms&#34;);</TD></TR><TR><TD CLASS="l">114</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">115</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="b">116</A></TD><TD> </TD></TR><TR><TD CLASS="l">117</TD><TD>        private void calculateProblems(StylesheetModel stylesheetComposed, XSLValidationReport report) throws MaxErrorsExceededException</TD></TR><TR><TD CLASS="l">118</TD><TD>        {</TD></TR><TR><TD CLASS="l">119</TD><TD>                // circular reference check</TD></TR><TR CLASS="c"><TD CLASS="l">120</TD><TD>                checkCircularRef(stylesheetComposed, report);</TD></TR><TR><TD CLASS="l">121</TD><TD>                // include checks</TD></TR><TR CLASS="c"><TD CLASS="l">122</TD><TD>                checkIncludes(stylesheetComposed, report);</TD></TR><TR><TD CLASS="l">123</TD><TD>                // template checks</TD></TR><TR CLASS="c"><TD CLASS="l">124</TD><TD>                checkTemplates(stylesheetComposed, report);</TD></TR><TR><TD CLASS="l">125</TD><TD>                // call-template checks</TD></TR><TR CLASS="c"><TD CLASS="l">126</TD><TD>                checkCallTemplates(stylesheetComposed, report);</TD></TR><TR><TD CLASS="l">127</TD><TD>                // call-template checks</TD></TR><TR CLASS="c"><TD CLASS="l">128</TD><TD>                if (getPreference(ValidationPreferences.XPATHS) &gt; IMarker.SEVERITY_INFO)</TD></TR><TR CLASS="c"><TD CLASS="l">129</TD><TD>                        checkXPaths(stylesheetComposed.getStylesheet(), report);</TD></TR><TR><TD CLASS="l">130</TD><TD>                </TD></TR><TR><TD CLASS="l">131</TD><TD>                // TODO a) check globals and b) apply-templates where mode does not exist</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="6">132</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">133</TD><TD>        </TD></TR><TR><TD CLASS="l">134</TD><TD>        private int getPreference(String key)</TD></TR><TR><TD CLASS="l">135</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">136</TD><TD>                if (project == null) {</TD></TR><TR CLASS="z"><TD CLASS="l">137</TD><TD>                        return XSLCorePlugin.getDefault().getPluginPreferences().getInt(key);</TD></TR><TR><TD CLASS="l">138</TD><TD>                }</TD></TR><TR><TD CLASS="l">139</TD><TD>                </TD></TR><TR CLASS="c"><TD CLASS="l">140</TD><TD>                IEclipsePreferences prefs = new ProjectScope(project).getNode(XSLCorePlugin.getDefault().getBundle().getSymbolicName());</TD></TR><TR CLASS="c"><TD CLASS="l">141</TD><TD>                boolean useProject = prefs.getBoolean(XSLCorePlugin.USE_PROJECT_SETTINGS, false);</TD></TR><TR><TD CLASS="l">142</TD><TD>                </TD></TR><TR><TD CLASS="l">143</TD><TD>                int valPref;</TD></TR><TR CLASS="c"><TD CLASS="l">144</TD><TD>                if (useProject) {</TD></TR><TR CLASS="z"><TD CLASS="l">145</TD><TD>                        valPref = prefs.getInt(key, ValidationMessage.WARNING);        </TD></TR><TR><TD CLASS="l">146</TD><TD>                } else {</TD></TR><TR CLASS="c"><TD CLASS="l">147</TD><TD>                        valPref = XSLCorePlugin.getDefault().getPluginPreferences().getInt(key);</TD></TR><TR><TD CLASS="l">148</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l">149</TD><TD>                return valPref;</TD></TR><TR><TD CLASS="l"><A NAME="c">150</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">151</TD><TD> </TD></TR><TR><TD CLASS="l">152</TD><TD>        private void checkXPaths(XSLElement xslEl, XSLValidationReport report) throws MaxErrorsExceededException</TD></TR><TR><TD CLASS="l">153</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">154</TD><TD>                validateXPath(xslEl, report, &#34;select&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">155</TD><TD>                validateXPath(xslEl, report, &#34;test&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">156</TD><TD>                validateXPath(xslEl, report, &#34;match&#34;); //$NON-NLS-1$</TD></TR><TR CLASS="c"><TD CLASS="l">157</TD><TD>                for (XSLElement childEl : xslEl.getChildElements())</TD></TR><TR><TD CLASS="l">158</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">159</TD><TD>                        checkXPaths(childEl, report);</TD></TR><TR><TD CLASS="l">160</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="9">161</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">162</TD><TD> </TD></TR><TR><TD CLASS="l">163</TD><TD>        private void validateXPath(XSLElement xslEl, XSLValidationReport report, String attName) throws MaxErrorsExceededException</TD></TR><TR><TD CLASS="l">164</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">165</TD><TD>                XSLAttribute att = xslEl.getAttribute(attName);</TD></TR><TR CLASS="c"><TD CLASS="l">166</TD><TD>                if (att != null &amp;&amp; att.getValue() != null)</TD></TR><TR><TD CLASS="l">167</TD><TD>                {</TD></TR><TR><TD CLASS="l">168</TD><TD>                        try</TD></TR><TR><TD CLASS="l">169</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">170</TD><TD>                                XSLTXPathHelper.compile(att.getValue());</TD></TR><TR><TD CLASS="l">171</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">172</TD><TD>                        catch (XPathExpressionException e)</TD></TR><TR><TD CLASS="l">173</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">174</TD><TD>                                createMarker(report, att, getPreference(ValidationPreferences.XPATHS), Messages.XSLValidator_1);</TD></TR><TR><TD CLASS="l">175</TD><TD>                        }</TD></TR><TR CLASS="z"><TD CLASS="l">176</TD><TD>                        catch (NullPointerException e)</TD></TR><TR><TD CLASS="l">177</TD><TD>                        {</TD></TR><TR><TD CLASS="l">178</TD><TD>                                // not sure why NPE is being thrown here</TD></TR><TR><TD CLASS="l">179</TD><TD>                        }</TD></TR><TR><TD CLASS="l">180</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="1">181</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">182</TD><TD> </TD></TR><TR><TD CLASS="l">183</TD><TD>        private void checkCircularRef(StylesheetModel stylesheetComposed, XSLValidationReport report) throws MaxErrorsExceededException</TD></TR><TR><TD CLASS="l">184</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">185</TD><TD>                if (stylesheetComposed.hasCircularReference())</TD></TR><TR CLASS="z"><TD CLASS="l">186</TD><TD>                        createMarker(report, stylesheetComposed.getStylesheet(), getPreference(ValidationPreferences.CIRCULAR_REF), Messages.XSLValidator_2);</TD></TR><TR CLASS="c"><TD CLASS="l">187</TD><TD>        }</TD></TR><TR><TD CLASS="l"><A NAME="2">188</A></TD><TD> </TD></TR><TR><TD CLASS="l">189</TD><TD>        private void checkIncludes(StylesheetModel stylesheetComposed, XSLValidationReport report) throws MaxErrorsExceededException</TD></TR><TR><TD CLASS="l">190</TD><TD>        {                </TD></TR><TR><TD CLASS="l">191</TD><TD>                // includes</TD></TR><TR CLASS="c"><TD CLASS="l">192</TD><TD>                for (Include include : stylesheetComposed.getStylesheet().getIncludes())</TD></TR><TR><TD CLASS="l">193</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">194</TD><TD>                        IFile includedFile = include.getHrefAsFile();</TD></TR><TR CLASS="c"><TD CLASS="l">195</TD><TD>                        if (includedFile == null || !includedFile.exists())</TD></TR><TR><TD CLASS="l">196</TD><TD>                        { // included file does not exist</TD></TR><TR CLASS="z"><TD CLASS="l">197</TD><TD>                                XSLAttribute att = include.getAttribute(&#34;href&#34;);  //$NON-NLS-1$</TD></TR><TR CLASS="z"><TD CLASS="l">198</TD><TD>                                if (att != null)</TD></TR><TR CLASS="z"><TD CLASS="l">199</TD><TD>                                        createMarker(report, att, getPreference(ValidationPreferences.MISSING_INCLUDE), Messages.XSLValidator_4 + include.getHref());</TD></TR><TR><TD CLASS="l">200</TD><TD>                                else</TD></TR><TR CLASS="z"><TD CLASS="l">201</TD><TD>                                        createMarker(report, include, getPreference(ValidationPreferences.NAME_ATTRIBUTE_EMPTY), Messages.XSLValidator_23 );                                        </TD></TR><TR><TD CLASS="l">202</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">203</TD><TD>                        else if (includedFile.equals(include.getStylesheet().getFile()))</TD></TR><TR><TD CLASS="l">204</TD><TD>                        { // stylesheet including itself!</TD></TR><TR CLASS="z"><TD CLASS="l">205</TD><TD>                                createMarker(report, include.getAttribute(&#34;href&#34;), getPreference(ValidationPreferences.CIRCULAR_REF), Messages.XSLValidator_6); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">206</TD><TD>                        }</TD></TR><TR><TD CLASS="l">207</TD><TD>                }</TD></TR><TR><TD CLASS="l">208</TD><TD>                //imports</TD></TR><TR CLASS="c"><TD CLASS="l">209</TD><TD>                for (Include include : stylesheetComposed.getStylesheet().getImports())</TD></TR><TR><TD CLASS="l">210</TD><TD>                {</TD></TR><TR CLASS="c"><TD CLASS="l">211</TD><TD>                        IFile includedFile = include.getHrefAsFile();</TD></TR><TR CLASS="c"><TD CLASS="l">212</TD><TD>                        if (includedFile == null || !includedFile.exists())</TD></TR><TR><TD CLASS="l">213</TD><TD>                        { // included file does not exist</TD></TR><TR CLASS="z"><TD CLASS="l">214</TD><TD>                                createMarker(report, include.getAttribute(&#34;href&#34;), getPreference(ValidationPreferences.MISSING_INCLUDE), Messages.XSLValidator_8 + include.getHref()); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">215</TD><TD>                        }</TD></TR><TR CLASS="c"><TD CLASS="l">216</TD><TD>                        else if (includedFile.equals(include.getStylesheet().getFile()))</TD></TR><TR><TD CLASS="l">217</TD><TD>                        { // stylesheet including itself!</TD></TR><TR CLASS="z"><TD CLASS="l">218</TD><TD>                                createMarker(report, include.getAttribute(&#34;href&#34;), getPreference(ValidationPreferences.CIRCULAR_REF), Messages.XSLValidator_10); //$NON-NLS-1$</TD></TR><TR><TD CLASS="l">219</TD><TD>                        }</TD></TR><TR><TD CLASS="l">220</TD><TD>                }</TD></TR><TR CLASS="c"><TD CLASS="l"><A NAME="7">221</A></TD><TD>        }</TD></TR><TR><TD CLASS="l">222</TD><TD> </TD></TR><TR><TD CLASS="l">223</TD><TD>        private void checkTemplates(StylesheetModel stylesheetComposed, XSLValidationReport report) throws MaxErrorsExceededException</TD></TR><TR><TD CLASS="l">224</TD><TD>        {</TD></TR><TR CLASS="c"><TD CLASS="l">225</TD><TD>                for (Template template : stylesheetComposed.getStylesheet().getTemplates())</TD></TR><TR><TD CLASS="l">226</TD><TD>                {</TD></TR><TR><TD CLASS="l">227</TD><TD>                        // check attributes are correct</TD></TR><TR CLASS="c"><TD CLASS="l">228</TD><TD>                        if (template.getName() != null)</TD></TR><TR><TD CLASS="l">229</TD><TD>                        {// named template</TD></TR><TR><TD CLASS="l">230</TD><TD>//                                if (template.getMatch() != null)</TD></TR><TR><TD CLASS="l">231</TD><TD>//                                        createMarker(report, template, IMarker.SEVERITY_ERROR, &#34;Template cannot specify both name and match attributes&#34;);</TD></TR><TR><TD CLASS="l">232</TD><TD>//                                if (template.getMode() != null)</TD></TR><TR><TD CLASS="l">233</TD><TD>//                                        createMarker(report, template, IMarker.SEVERITY_ERROR, &#34;Named templates cannot specify a mode&#34;);</TD></TR><TR CLASS="c"><TD CLASS="l">234</TD><TD>                                checkParameters(report, template);</TD></TR><TR><TD CLASS="l">235</TD><TD>                        } </TD></TR><TR><TD CLASS="l">236</TD><TD> </TD></TR><TR CLASS="c"><TD CLASS="l">237</TD><TD>                        for (Template checkTemplate : stylesheetComposed.getTemplates())</TD></TR><TR><TD CLASS="l">238</TD><TD>                        {</TD></TR><TR CLASS="c"><TD CLASS="l">239</TD><TD>                                if (checkTemplate != template &amp;&amp; checkTemplate.equals(template))</TD></TR><TR><TD CLASS="l">240</TD><TD>                                {</TD><