-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Allow XML validation to be disabled but keep it enabled by default. #11165
Conversation
🤔 I'm wondering how the deprecation messages on 2.17.x need to be adjusted now. Maybe the flag should be made mandatory in this PR, and what would become deprecated would be to rely on the default |
@greg0ire Seems like we should just remove the deprecation from 2.17.x? |
Maybe yes, I wonder what other maintainers think. |
@beberlei what do you think? Can it be as simple as just backing out the deprecation for this from 2.x? |
Gave it a little more thought, and I think a good solution might be to:
That way, it's fine to disable deprecations, it just has to be done explicitly. |
Thanks @jwage ! |
After discussing this issue, we decided to allow XML validation to be disabled for now until we have a proper solution to allow validating against custom schemas. Disabling the XML validation is the only solution available at the moment so we want to continue allowing that until we have an alternative solution to offer.