SpringXSD版本,以及发行版?
在5.0版发布时,SpringXSD版本似乎只适用于4.3版 如果我使用的是Spring5,我应该继续在我的bean防御中使用4.3XSD吗SpringXSD版本,以及发行版?,spring,Spring,在5.0版发布时,SpringXSD版本似乎只适用于4.3版 如果我使用的是Spring5,我应该继续在我的bean防御中使用4.3XSD吗 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/co
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mongo="http://www.springframework.org/schema/data/mongo"
xsi:schemaLocation="http://www.springframework.org/schema/beans
https://www.springframework.org/schema/beans/spring-beans-4.3.xsd
http://www.springframework.org/schema/context
https://www.springframework.org/schema/context/spring-context-4.3.xsd
http://www.springframework.org/schema/data/mongo
https://www.springframework.org/schema/data/mongo/spring-mongo-2.0.xsd
http://www.springframework.org/schema/mvc
https://www.springframework.org/schema/schema/mvc/spring-mvc-4.3.xsd
http://www.springframework.org/schema/tx
https://www.springframework.org/schema/schema/tx/spring-tx-4.3.xsd">
多年来一直建议始终使用无版本的XSD。当我切换到无版本的XSD时,我得到的错误是:匹配的通配符是严格的,但找不到元素“mongo:mongo”的声明。这是否回答了您的问题?
[TXT] spring-beans-2.0.xsd 2018-01-23 08:42 38K
[TXT] spring-beans-2.5.xsd 2018-01-23 08:42 41K
[TXT] spring-beans-3.0.xsd 2018-01-23 08:42 41K
[TXT] spring-beans-3.1.xsd 2018-01-23 08:42 42K
[TXT] spring-beans-3.2.xsd 2018-01-23 08:42 43K
[TXT] spring-beans-4.0.xsd 2018-01-23 08:42 42K
[TXT] spring-beans-4.1.xsd 2018-01-23 08:42 43K
[TXT] spring-beans-4.2.xsd 2018-01-23 08:42 43K
[TXT] spring-beans-4.3.xsd 2018-01-23 08:42 43K
[TXT] spring-beans.xsd 2018-01-23 08:42 43K