You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/03/18 19:50:00 UTC

[jira] [Updated] (DAFFODIL-2413) tdml:parserTestCase that has neither tdml:infoset or tdml:error causes Abort

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

Steve Lawrence updated DAFFODIL-2413:
-------------------------------------
    Labels: beginner  (was: )

> tdml:parserTestCase that has neither tdml:infoset or tdml:error causes Abort
> ----------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2413
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2413
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: TDML Runner
>            Reporter: Steve Lawrence
>            Priority: Major
>              Labels: beginner
>
> If you have a tdml test case that doesn't have either a tdml:infoset or tdml:error tag, then you get the following unhelpful invariant abort error:
> {code}
> Abort: Invariant broken. Should be Some None, or None Some only.
> {code}
> Seems like this is expecting this check to happen somewhere else, but it's not happening. We either need to ensure this check happens somewhere else, or change this abort into a more user friendly TDMLException with helpful error message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)