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 2020/10/15 17:28:00 UTC

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

Steve Lawrence created DAFFODIL-2413:
----------------------------------------

             Summary: 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
            Reporter: Steve Lawrence


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)