RVM
  1. RVM
  2. RVM-855

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

    Details

    • Testcase included:
      yes
    • Number of attachments :
      2

      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.

        Activity

        Hide
        Suriya Subramanian added a comment -

        This program works find with Jikes RVM that uses Harmony.

        Show
        Suriya Subramanian added a comment - This program works find with Jikes RVM that uses Harmony.
        Hide
        Filip Pizlo added a comment -

        Ugh, yeah. I see this as a big issue. Have you tried /rvmroot/branches/RVM-733-Classpath-0.98?

        Show
        Filip Pizlo added a comment - Ugh, yeah. I see this as a big issue. Have you tried /rvmroot/branches/ RVM-733 -Classpath-0.98?
        Hide
        Suriya Subramanian added a comment -

        I get the same error with /rvmroot/branches/RVM-733-Classpath-0.98.

        Show
        Suriya Subramanian added a comment - I get the same error with /rvmroot/branches/ RVM-733 -Classpath-0.98.
        Hide
        Filip Pizlo added a comment -

        Good to know. Thanks for doing that test.

        Show
        Filip Pizlo added a comment - Good to know. Thanks for doing that test.
        Hide
        David Grove added a comment -

        bulk defer open issues to 3.1.2

        Show
        David Grove added a comment - bulk defer open issues to 3.1.2
        Hide
        David Grove added a comment -

        bulk defer to 3.1.4

        Show
        David Grove added a comment - bulk defer to 3.1.4
        Hide
        Erik Brangs added a comment -

        This is definitively a GNU Classpath bug. It occurs with GNU Classpath 0.99 both for Jikes RVM and JamVM 2.0.0. There's a patch on GNU Classpath's bug tracker at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35589 .

        Show
        Erik Brangs added a comment - This is definitively a GNU Classpath bug. It occurs with GNU Classpath 0.99 both for Jikes RVM and JamVM 2.0.0. There's a patch on GNU Classpath's bug tracker at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35589 .
        Hide
        Erik Brangs added a comment -

        Committed patch from GNU Classpath's bugtracker in 889a6803086456323d99b148793c1cbc06c027d5 (11129). This should fix the issue on our side. I'm leaving this issue open until GNU Classpath upstream has fixed the issue.

        Show
        Erik Brangs added a comment - Committed patch from GNU Classpath's bugtracker in 889a6803086456323d99b148793c1cbc06c027d5 (11129). This should fix the issue on our side. I'm leaving this issue open until GNU Classpath upstream has fixed the issue.

          People

          • Assignee:
            Erik Brangs
            Reporter:
            Suriya Subramanian
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: