Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-220

Failure in XCasToCasDataSaxHandlerTest on Sun Java 1.4.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • Core Java Framework
    • None
    • Windows XP
      Sun JRE 1.4.2_13

    Description

      I think this is due to a bug in the XSLT implementation in that version of Java, which we've seen before, causing \r characters to not be serialized when an XML document is written out. Our example CAS has explicit sequences in the Sofa. These are preserved on deserialization, but lost on a subsequent serialization. This causes the the test case gets an assertEquals failure attempting to compare two strings that have differing line-break styles. It works on other JRE levels.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: