michael-hoke commented on issue #811: URL: https://github.com/apache/daffodil-vscode/issues/811#issuecomment-1785845211
> A failed compile/parse/unparse should create a diagnostic (e.g. Schema Definition Error, Parse Error, Unparse Error) which can be expected instead of an infoset or unparse data. But if you get a stack trace instead of one of those diagnostics, it usually means there is a bug in Daffodil, and there is no way in TDML to expect a stack trace because we never consider bugs expected behavior. Similarly, we don't have a way to expect an incorrect infoset, because that also is also considered a bug. Okay, thanks. I think I see where I was misunderstanding. The main driver for this feature is to provide a way for a user to verify that they are seeing the same issue as someone else that reported an issue. If the diagnostic(s) will provide a way to do that, we'll look to use those instead. If that's that case, it should be possible for us to get the diagnostic(s) from daffodil and serialize it into the TDML test case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
