Index: src/main/java/common/javax/swing/text/html/parser/ParserDelegator.java
===================================================================
--- src/main/java/common/javax/swing/text/html/parser/ParserDelegator.java (revision 542828)
+++ src/main/java/common/javax/swing/text/html/parser/ParserDelegator.java (working copy)
@@ -109,10 +109,9 @@
String oldName = dtd.name;
// gets the location of the harcoded file that is located in the
// classpath ...
- URL bdtdURL = ParserDelegator.class.getResource(name + ".bdtd");
// fills the DTD ...
dtd.read(new DataInputStream(
- new FileInputStream(new File(bdtdURL.toURI()))));
+ ParserDelegator.class.getResourceAsStream(name + ".bdtd")));
dtd.name = oldName;
DTD.putDTDHash(name, dtd);
} catch (Exception e) {