开发者

Turn off XSD validation of spring files

开发者 https://www.devze.com 2023-04-11 02:24 出处:网络
Spring tries to validate xml confniguration files against xml schemas. Which is fine, bu开发者_Go百科t there might be cases when the validation fails (outdated schema, for example). Is there a way to

Spring tries to validate xml confniguration files against xml schemas. Which is fine, bu开发者_Go百科t there might be cases when the validation fails (outdated schema, for example). Is there a way to turn off xsd validation?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消