Error in XMLParser while loading Document Type Definition (.dtd) file

Description

I have a small test program that tries to parse an XML file. The XML file itself is trivial. All that it has is the DOCTYPE declaration, which is '<!DOCTYPE ACTIONS SYSTEM "actions.dtd">'. The parser, in order to parse the file must load actions.dtd. When I run this program on Jikes RVM, it looks for actions.dtd in the wrong place, throws an exception and crashes. The program and XML files are packaged in a JAR file. You can run the program as follows:

java -jar xml-parse-test.jar
rvm -jar xml-parse-test.jar

I am attaching the output with RVM.

Environment

None

Status

Assignee

Erik Brangs

Reporter

Suriya Subramanian

Labels

None

Fix versions

Priority

Medium
Configure