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

submissionXmlToFieldStream: extend test cases for malformed XML #1405

Conversation

alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Feb 14, 2025

Working on #1256, a number of cases were noted where expected XML parsing behaviour was undefined.

What has been done to verify that this works as intended?

These are just new test cases.

Why is this the best possible solution? Were any other approaches considered?

Perhaps errors should be thrown for malformed XML. That's a larger question, and shouldn't block documentation of existing behaviour.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

No effect.

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

No.

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@alxndrsn alxndrsn merged commit 7e1cf19 into getodk:master Feb 18, 2025
6 checks passed
@alxndrsn alxndrsn deleted the submissionXmlToFieldStream-fix-end-dangling-content branch February 18, 2025 07: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.

2 participants