You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Olabusayo Kilo (JIRA)" <ji...@apache.org> on 2019/07/03 13:45:00 UTC
[jira] [Assigned] (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 ]
Olabusayo Kilo reassigned DAFFODIL-2168:
----------------------------------------
Assignee: Olabusayo Kilo
> 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
> 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.3#76005)