You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/07/22 18:31:00 UTC

[jira] [Resolved] (DAFFODIL-2168) Provide support for Non-spacing mark/Combining Characters in Debugger

     [ https://issues.apache.org/jira/browse/DAFFODIL-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Beckerle resolved DAFFODIL-2168.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

Fixed in 8555e25b14555b0ff4f271ea1170083a8d6c1a13

> Provide support for Non-spacing mark/Combining Characters in Debugger
> ---------------------------------------------------------------------
>
>                 Key: DAFFODIL-2168
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2168
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Debugger
>    Affects Versions: 2.4.0
>            Reporter: Olabusayo Kilo
>            Assignee: Olabusayo Kilo
>            Priority: Major
>             Fix For: 2.5.0
>
>         Attachments: nonspacingmark.png, tcp.dfdl.xsd, test.dump
>
>
> Certain unicode characters are [combining characters|https://en.wikipedia.org/wiki/Combining_character] 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:
> {code:java}
> daffodil --trace parse -Dtransport:Protocol=6 transport:DataLength=79 -s tcp.dfdl.xsd test.dump{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)