[
https://issues.apache.org/jira/browse/DAFFODIL-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson closed DAFFODIL-2159.
-----------------------------------
Verified the specified commit (commit 78f2e4bda3cdc8f1365da2e8f74df971536846dc)
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 newly added test.
Rolled commit back to pre-fix commit and executed the new test and verified
that the error message referenced the tmp file instead of the tdml file as
identified in the initial writeup.
Verified the nightly test suite executes successfully with no unexpected
failures.
> TDML Runner errors reference tmp file instead of tdml file
> ----------------------------------------------------------
>
> Key: DAFFODIL-2159
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2159
> Project: Daffodil
> Issue Type: Bug
> Components: TDML Runner
> Reporter: Steve Lawrence
> Assignee: Olabusayo Kilo
> Priority: Minor
> Labels: beginner
> Fix For: 3.7.0
>
>
> When a TDML file has an embedded schema, the TDML Runner creates a temporary
> schema file and then compiles and uses that for running a parse/unparse
> tests. However, when there is an error, the error message does not reference
> the TDML file but instead references the temporary schema file. This isn't
> heplful, especially since the temp file is usually deleted.
> We need to make sure that the TDML runner is correctly setting the dafint
> file name attribute on the generated schema, and that that file name is used
> for error messages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)