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

Check that files with label extension are actually labels to avoid errors on floating XML files #689

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

al-niessner
Copy link
Contributor

🗒️ Summary

Add a check that files that have the label extension really are labels and remove them from the target list if they are not preventing lots of SAX parsing exceptions. Files that are "floating" like this show up as un-referenced warnings by the bundle or collection. If given as the target, it will still blow up making it obvious to the user.

⚙️ Test Data and/or Report

See automate unit tests below (specifically 482).

♻️ Related Issues

Closes #679

@jordanpadams jordanpadams changed the title 679: check files with label extension that they really labels Check that files with label extension are actually labels to avoid errors on floating XML files Aug 23, 2023
@jordanpadams jordanpadams merged commit 3d69d47 into main Aug 23, 2023
2 checks passed
@jordanpadams jordanpadams deleted the issue_679 branch August 23, 2023 21:59
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.

Validate throws internal error when coming across non-label XML in a target directory
3 participants