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

Olabusayo Kilo updated DAFFODIL-2168:
-------------------------------------
    Summary: Provide support for Non-spacing mark/Combining Characters in 
Debugger  (was: Provide support for Non-spacing mark/Combining Characters in 
Debbuger)

> 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
>            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)

Reply via email to