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

BooleanValuesTest fails if Xalan is not available

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      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. check-xalan.diff
          1 kB
          Knut Anders Hatlen
        2. derby-4674-02-aa-noXML.diff
          7 kB
          Rick Hillegas

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: