Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2168

Provide support for Non-spacing mark/Combining Characters in Debugger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • Debugger
    • None

    Description

      Certain unicode characters are combining characters and can combine with the characters surrounding them, modifying them. This can lead to misalignment in our debugger.

      A possible solution could be to detect when a character is a non-spacing
      (or other combining character) and insert the appropriate number of spaces around it. Java's Character.getType method will return an enum about what type a character is. Many of these character types might need this alignment assistance.

      Attached is a pictorial example of the problem and the files that can be used to recreate the issue. 

      Command run:

      daffodil --trace parse -Dtransport:Protocol=6 transport:DataLength=79 -s tcp.dfdl.xsd test.dump

      Attachments

        1. test.dump
          0.0 kB
          Olabusayo Kilo
        2. tcp.dfdl.xsd
          7 kB
          Olabusayo Kilo
        3. nonspacingmark.png
          31 kB
          Olabusayo Kilo

        Activity

          People

            okilo@tresys.com Olabusayo Kilo
            okilo@tresys.com Olabusayo Kilo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: