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

Add ValidateInput option to ReadSettings #131

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Add ValidateInput option to ReadSettings #131

merged 2 commits into from
Apr 28, 2024

Conversation

beevik
Copy link
Owner

@beevik beevik commented Apr 28, 2024

ValidateInput forces all ReadFrom* methods to validate that the provided input is composed of well-formed XML before processing it. If invalid XML is detected, the ReadFrom* methods return an error. Because this option requires the input to be processed twice, it incurs a significant performance penalty.

ValidateInput forces all ReadFrom* methods to validate that the
provided input is composed of well-formed XML before processing it. If
invalid XML is detected, the ReadFrom* methods return an error. Because
this option requires the input to be processed twice, it incurs a
significant performance penalty.
@beevik beevik merged commit 8bd2f9e into main Apr 28, 2024
3 checks passed
@beevik beevik deleted the validate-input branch April 28, 2024 18:46
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.

None yet

1 participant