Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-855

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

    Details

      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.

        Attachments

          Activity

          Hide
          suriyasubramanian Suriya Subramanian added a comment -

          This program works find with Jikes RVM that uses Harmony.

          Show
          suriyasubramanian Suriya Subramanian added a comment - This program works find with Jikes RVM that uses Harmony.
          Hide
          pizlo 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
          pizlo 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
          suriyasubramanian Suriya Subramanian added a comment -

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

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

          Good to know. Thanks for doing that test.

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

          bulk defer open issues to 3.1.2

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

          bulk defer to 3.1.4

          Show
          dgrove David Grove added a comment - bulk defer to 3.1.4
          Hide
          ebrangs 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
          ebrangs 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
          ebrangs 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
          ebrangs 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:
              ebrangs Erik Brangs
              Reporter:
              suriyasubramanian Suriya Subramanian
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: