Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-11-24 18:49:53 +0000
committerCurtis D'Entremont2006-11-24 18:49:53 +0000
commite78b09840be62b52bb344128140c7cbe958fb55b (patch)
tree7384cab185d29084b273d24e5d890c1ad12102a7 /org.eclipse.ua.tests/base/org/eclipse/ua/tests/util
parent04ef9f7621f63435e5021815f116932d81b2d128 (diff)
downloadeclipse.platform.ua-e78b09840be62b52bb344128140c7cbe958fb55b.tar.gz
eclipse.platform.ua-e78b09840be62b52bb344128140c7cbe958fb55b.tar.xz
eclipse.platform.ua-e78b09840be62b52bb344128140c7cbe958fb55b.zip
131415 [Help] XMLSearchParticipant needs API to override default entity resolver
Diffstat (limited to 'org.eclipse.ua.tests/base/org/eclipse/ua/tests/util')
-rw-r--r--org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/XMLUtil.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/XMLUtil.java b/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/XMLUtil.java
index 08843d10a..eb60075a3 100644
--- a/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/XMLUtil.java
+++ b/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/XMLUtil.java
@@ -99,13 +99,16 @@ public class XMLUtil extends Assert {
buf.append(ch, start, length);
}
- /* (non-Javadoc)
+ /*
+ * Note: throws clause does not declare IOException due to a bug in
+ * sun jdk: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6327149
+ *
* @see org.xml.sax.helpers.DefaultHandler#resolveEntity(java.lang.String, java.lang.String)
*/
public InputSource resolveEntity(String publicId, String systemId) throws SAXException {
return new InputSource(new StringReader("")); //$NON-NLS-1$
}
-
+
public String toString() {
return buf.toString();
}

Back to the top