Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off XSD validation of spring files

Tags:

java

spring

xml

Spring tries to validate xml confniguration files against xml schemas. Which is fine, but there might be cases when the validation fails (outdated schema, for example). Is there a way to turn off xsd validation?

like image 902
Bozho Avatar asked Oct 05 '11 12:10

Bozho


Video Answer


1 Answers

See this Spring JIRA: https://jira.spring.io/browse/SPR-5014 - has both the team's comments on why they won't directly build it in as well as an example of how to implement yourself.

like image 84
atrain Avatar answered Sep 29 '22 17:09

atrain