Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4674

BooleanValuesTest fails if Xalan is not available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.7.1.1
    • 10.7.1.1
    • Test
    • None
    • Regression Test Failure

    Description

      If Xalan is not available, BooleanValuesTest fails. See for example this error log from the nightly testing:
      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.4/testing/Limited/testSummary-947309.html

      The error above is actually caused by the Xalan version bundled with J2SE 1.4.2 being too old for Derby, not that it's missing. Here's what the error looks like on Java SE 6 without xalan.jar in the classpath:

      1) test_01_datatypeCount(org.apache.derbyTesting.functionTests.tests.lang.BooleanValuesTest)java.sql.SQLException: Failed to locate 'Xalan' API or implementation classes. XML operations are not permitted unless these classes are in your classpath.

      Attachments

        1. derby-4674-02-aa-noXML.diff
          7 kB
          Richard N. Hillegas
        2. check-xalan.diff
          1 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: