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)

Reply via email to