You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2020/12/15 20:08:00 UTC
[jira] [Closed] (DAFFODIL-601) CLI Debugger: wrapLength on infoset
not behaving as expected
[ https://issues.apache.org/jira/browse/DAFFODIL-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-601.
----------------------------------
Closing as duplicate to DAFFODIL-1373.
> CLI Debugger: wrapLength on infoset not behaving as expected
> ------------------------------------------------------------
>
> Key: DAFFODIL-601
> URL: https://issues.apache.org/jira/browse/DAFFODIL-601
> Project: Daffodil
> Issue Type: Bug
> Components: CLI, Debugger, Usability
> Reporter: Jessie Chab
> Priority: Trivial
> Fix For: 3.1.0
>
>
> If I have the following infoset:
> {noformat}
> infoset:
> <tns:matrixString xmlns:tns="http://www.example.org/example1/">
> <tns:row>
> <tns:cell>
> loooooooooooooooooooooooooooooooooooooooooong worddddddddddddddddddddddddddddddddd
> </tns:cell>
> </tns:row>
> </tns:matrixString>
> {noformat}
> and I set wrapLength to 10, I would expect the infoset to be broken up more. However I get this:
> {noformat}
> infoset:
> <tns:matrixString xmlns:tns="http://www.example.org/example1/"><tns:row><tns:cell>loooooooooooooooooooooooooooooooooooooooooong worddddddddddddddddddddddddddddddddd</tns:cell></tns:row></tns:matrixString>
> {noformat}
> Also, if I set it to a very large number (90000) I would expect it to not wrap at all, but I get this:
> {noformat}
> infoset:
> <tns:matrixString xmlns:tns="http://www.example.org/example1/">
> <tns:row>
> <tns:cell>loooooooooooooooooooooooooooooooooooooooooong worddddddddddddddddddddddddddddddddd</tns:cell>
> </tns:row>
> </tns:matrixString>
> {noformat}
> I tried setting it to the length of "long", thinking it would put "word" on a new line, but I get this:
> {noformat}
> infoset:
> <tns:matrixString
> xmlns:tns="http://www.example.org/example1/">
> <tns:row>
> <tns:cell>
> loooooooooooooooooooooooooooooooooooooooooong worddddddddddddddddddddddddddddddddd
> </tns:cell>
> </tns:row>
> </tns:matrixString>
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)