[
https://issues.apache.org/jira/browse/DAFFODIL-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306535#comment-17306535
]
Steve Lawrence commented on DAFFODIL-2488:
------------------------------------------
I suggest the right thing to do here is to output "unparser: not available" or
something along those lines. This is similar to how if there is not an infoset
yet and you try to run "info infoset" you'll get "no infoset".
> When executing a parse command with the debugger get incorrect result for
> display info unparser
> -----------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2488
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2488
> Project: Daffodil
> Issue Type: Bug
> Components: Debugger
> Affects Versions: 3.1.0
> Reporter: Dave Thompson
> Priority: Minor
> Labels: beginner
>
> When executing a parse command with the debugger (--debug) an incorrect
> result is displayed when the "display info unparser" command is executed.
> Sample result output for "display info unparser" and "display info parser"
> are below. You get the same result for both debug commands.
> (debug)
> unparser: <StringDelimitedParser/>
> parser: <StringDelimitedParser/>
> (debug)
> unparser: <AssertExpressionEvaluationParser/>
> parser: <AssertExpressionEvaluationParser/>
> (debug)
> unparser: <Separator/>
> parser: <Separator/>
> (debug)
> unparser: <Element
> name='field'><DelimiterStackParser>...</DelimiterStackParser><AssertExpressionEvaluationParser/></Element>
> parser: <Element
> name='field'><DelimiterStackParser>...</DelimiterStackParser><AssertExpressionEvaluationParser/></Element>
> (debug)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)