[365243]
XML Content outline blocks Structured Editor (WebPage/XHTML/HTML/JSP editors) while retrieving DTDs using a wrong addresses or public Ids
diff --git a/tests/org.eclipse.wst.common.uriresolver.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.common.uriresolver.tests/META-INF/MANIFEST.MF
index 81966b2..69780c5 100644
--- a/tests/org.eclipse.wst.common.uriresolver.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.wst.common.uriresolver.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.eclipse.wst.common.uriresolver.tests;singleton:=true
-Bundle-Version: 1.0.0.qualifier 
+Bundle-Version: 1.0.100.qualifier
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Require-Bundle: org.eclipse.wst.common.uriresolver,
  org.junit,
diff --git a/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/AllTests.java b/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/AllTests.java
index 4741d5a..7081e21 100644
--- a/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/AllTests.java
+++ b/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/AllTests.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 2012 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
 package org.eclipse.wst.common.uriresolver.tests;
 
 import junit.framework.Test;
@@ -9,6 +19,7 @@
 	public static Test suite() {
 		TestSuite testSuite = new TestSuite("All URI Resolver Tests");
 		testSuite.addTestSuite(ExtensibleURIResolverTest.class);
+		testSuite.addTestSuite(URIHelperTestCase.class);
 		return testSuite;
 	}
 }
diff --git a/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/URIHelperTestCase.java b/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/URIHelperTestCase.java
new file mode 100644
index 0000000..d83163e
--- /dev/null
+++ b/tests/org.eclipse.wst.common.uriresolver.tests/src/org/eclipse/wst/common/uriresolver/tests/URIHelperTestCase.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2012 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.wst.common.uriresolver.tests;
+
+import java.io.InputStream;
+
+import junit.framework.TestCase;
+
+import org.eclipse.wst.common.uriresolver.URIHelper;
+
+public class URIHelperTestCase extends TestCase {
+	// http://bugs.eclipse.org/343163
+	public void testGetInputStream() {
+		final long time = System.currentTimeMillis();
+		final InputStream stream = URIHelper.getInputStream("http://hans-moleman.w3.org/TR/xhtml1/DTD/xhtml1S-transitional.dtd", 500);
+		assertTrue("Opening the inputstream did not bail", (System.currentTimeMillis() - time) < 2000);
+		assertNull("No inputstream should have been returned", stream);
+	}
+
+}