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

feat: xml validation add fail if no schema found attribut #1093

Conversation

Tom-29
Copy link
Contributor

@Tom-29 Tom-29 commented Jan 15, 2024

This PR will add a new feature to the xml validation, which allows you to set a new property called citrus.xml.no.schema.found.strategy. This is useful if you have a xmlns in the xml file which isn't in the XsdSchmaRepository. If the new property is set to IGNORE it won't fail there (schemaRepository.canValidate(doc)). The default is FAIL and therefore the same behavior as before.

@bbortt bbortt requested review from tschlat and bbortt January 15, 2024 09:08
@bbortt bbortt added Type: Enhancement Prio: High State: Review If pull-request has been opened an is ready/in review labels Jan 15, 2024
@Tom-29 Tom-29 force-pushed the feature/xml-validation-add-fail-if-no-schema-found-attribut branch from cadcae6 to b47509e Compare January 15, 2024 11:35
@Tom-29 Tom-29 force-pushed the feature/xml-validation-add-fail-if-no-schema-found-attribut branch from b47509e to cc402c3 Compare January 15, 2024 12:05
@bbortt bbortt merged commit 52eeec5 into citrusframework:main Jan 15, 2024
1 check passed
@bbortt bbortt deleted the feature/xml-validation-add-fail-if-no-schema-found-attribut branch January 17, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: High State: Review If pull-request has been opened an is ready/in review Type: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants