[
https://issues.apache.org/jira/browse/DAFFODIL-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson closed DAFFODIL-2104.
-----------------------------------
Verified the specified commit (commit 4fe36eb30a1d57c02edd973e199378051a32d6e7)
is included in the latest pull from the daffodil repository.
Verified, via review, changes identified in the commit comment were
implemented.
Verified the affected daffodil subproject sbt test suites executed
successfully, including the added test.
Rolled commit back to pre-fix commit and executed the new test and verified
that the error message identified in the initial writeup occurred .
> TDML runner - throws exception if test has neither <tdml:errors> nor
> <tdml:infoset>
> -----------------------------------------------------------------------------------
>
> Key: DAFFODIL-2104
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2104
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Affects Versions: 2.3.0
> Reporter: Mike Beckerle
> Assignee: Olabusayo Kilo
> Priority: Minor
> Labels: beginner
> Fix For: 3.8.0
>
>
>
> A TDML parserTestCase must contain a document (for the data), and either a
> tdml:errors for a negative test, or a tdml:infoset for a positive test case.
> If the test has neither, and is invoked from the CLI via 'daffodil test -iii
> my.tdml my_test' you get the "This is a bug" printout due to an abort.
> The TDML is XML. Before we run it, it should be validated (by Xerces) and the
> XML schema for TDML should enforce that either tdml:errors or tdml:infoset is
> present, so that you get an invalid XML diagnostic message.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)