Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1164

XInclude tests fail during build when using JDK 1.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.1
    • Build
    • None

    Description

      The XInclude test suite uses exact string matching to determine whether a test passed or failed. However, error messages can be unstable; they can vary between JDKs. In particular, several XInclude tests were failing because the exception message for a FileNotFoundException added a period to the end of the message in Java 1.5.

      To fix this, we shouldn't be checking error messages beyond our control in the test suite.

      Attachments

        Activity

          People

            peterjm Peter McCracken
            peterjm Peter McCracken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: