[
https://issues.apache.org/jira/browse/DAFFODIL-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-601.
-------------------------------------
Fix Version/s: 3.1.0
Resolution: Duplicate
Marking as a duplicate of 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)