Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve diagnostic in TDML Runner #1357

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

mbeckerle
Copy link
Contributor

I decided to fix an ancient bug.

Note that this change enforces the syntax of TDML better.
The dfdlInfoset element used to tolerate having spurious text in it, so long as it also had a root element.
Two TDML files had to be fixed in Daffodil.

If TDML files in schema projects have these spurious characters that were formerly ignored, this change will break
those tests.

DAFFODIL-533

Copy link
Contributor

@olabusayoT olabusayoT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Looks good, but needs a test to exercise FileNotFoundException

Copy link
Member

@stevedlawrence stevedlawrence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Note that this change enforces the syntax of TDML better.
The dfdlInfoset element used to tolerate having spurious text in it,
so long as it also had a root element.
Two TDML files had to be fixed in Daffodil.
If TDML files in schema projects have these spurious characters that
were formerly ignored, this change will break
those tests.

DAFFODIL-533
@mbeckerle mbeckerle merged commit 3955ba5 into apache:main Nov 4, 2024
10 of 11 checks passed
@mbeckerle mbeckerle deleted the daf-533 branch November 4, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants