【问题标题】:Version-less schemas for Spring Integration points to an old version of the XSDSpring Integration 的无版本模式指向旧版本的 XSD
【发布时间】:2016-01-04 21:25:58
【问题描述】:
【问题讨论】:
标签:
xml
spring
xsd
spring-integration
【解决方案1】:
我们添加了 cmets,说明为什么某些模块的互联网托管无版本架构必须继续指向 1.0 架构版本。
http://www.springframework.org/schema/integration/spring-integration.xsd
<!--
+++++ IMPORTANT +++++
This schema is for the 1.0 version of Spring Integration Core. We cannot update it to the current schema
because that will break any applications using 1.0.3 or lower. For subsequent versions, the unversioned
schema is resolved from the classpath and obtained from the jar.
Please refer to github:
https://github.com/spring-projects/spring-integration/tree/master/spring-integration-core/src/main/resources/org/springframework/integration/config/xml
for the latest schema.
-->
Spring 确实不在运行时使用 Internet 托管的架构。
您可以在应用程序中安全地使用无版本架构,并且会使用正确的架构。