From ced673e404991577e01dc295c29296e0c23922f2 Mon Sep 17 00:00:00 2001 From: Thomas Risberg Date: Fri, 20 Nov 2009 20:40:55 +0000 Subject: [PATCH] changed to use 3.0 xsd references git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2480 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../src/web-integration.xml | 2 +- .../src/xsd-configuration.xml | 52 +++++++++---------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/spring-framework-reference/src/web-integration.xml b/spring-framework-reference/src/web-integration.xml index f03be4da328..c88b2a3e2e6 100644 --- a/spring-framework-reference/src/web-integration.xml +++ b/spring-framework-reference/src/web-integration.xml @@ -670,7 +670,7 @@ xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd -http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd"> +http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd"> <beans> <!-- the DataSource --> diff --git a/spring-framework-reference/src/xsd-configuration.xml b/spring-framework-reference/src/xsd-configuration.xml index 8605baf0cfc..d0aa7cf507c 100644 --- a/spring-framework-reference/src/xsd-configuration.xml +++ b/spring-framework-reference/src/xsd-configuration.xml @@ -6,7 +6,7 @@ XML Schema-based configuration
Introduction - This appendix details the XML Schema-based configuration introduced in Spring 2.0. + This appendix details the XML Schema-based configuration introduced in Spring 2.0 and enhanced and extended in Spring 2.5 and 3.0. DTD support? Authoring Spring configuration files using the older DTD style @@ -68,7 +68,7 @@ +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> ]]><!-- <bean/> definitions here -->xmlns:util="http://www.springframework.org/schema/util"http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd" ]]><!-- <bean/> definitions here -->xmlns:jee="http://www.springframework.org/schema/jee"http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd" ]]><!-- <bean/> definitions here -->xmlns:lang="http://www.springframework.org/schema/lang"http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd" ]]><!-- <bean/> definitions here -->xmlns:jms="http://www.springframework.org/schema/jms"http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-2.5.xsd" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-3.0.xsd" ]]><!-- <bean/> definitions here -->. You are strongly encouraged to look at the - 'spring-tx-2.5.xsd' file that ships with the Spring + 'spring-tx-3.0.xsd' file that ships with the Spring distribution. This file is (of course), the XML Schema for Spring's transaction configuration, and covers all of the various tags in the tx namespace, including attribute defaults and @@ -688,9 +688,9 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem xmlns:aop="http://www.springframework.org/schema/aop" ]]>xmlns:tx="http://www.springframework.org/schema/tx"http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd ]]><!-- <bean/> definitions here -->xmlns:aop="http://www.springframework.org/schema/aop"http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd" ]]><!-- <bean/> definitions here -->xmlns:context="http://www.springframework.org/schema/context"http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +]]>http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd" ]]><!-- <bean/> definitions here -->tool - tags can be found in the file 'spring-tool-2.5.xsd' in the + tags can be found in the file 'spring-tool-3.0.xsd' in the 'src/org/springframework/beans/factory/xml' directory of the Spring source distribution.
@@ -826,7 +826,7 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> ]]>]]> +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd +http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd"> ]]> @@ -992,8 +992,8 @@ http://www.springframework.org/schema/util http://www.springframework.org/schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd - http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd"> + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd"> ]]> @@ -1077,7 +1077,7 @@ http://www.springframework.org/schema/util http://www.springframework.org/schema relevant XSD file. As can be seen in the following screenshot, the 'http://www.springframework.org/schema/util' namespace is being associated with the file resource - 'C:\bench\spring\src\org\springframework\beans\factory\xml\spring-util-2.5.xsd'. + 'C:\bench\spring\src\org\springframework\beans\factory\xml\spring-util-3.0.xsd'. @@ -1115,7 +1115,7 @@ http://www.springframework.org/schema/util http://www.springframework.org/schema
Integration issues This final section details integration issues that may arise when you switch over - to using the above XSD-style for Spring 2.0 configuration. + to using the above XSD-style for Spring 2.0 and later configuration. This section is quite small at the moment (and hopefully it will stay that way). It has been included in the Spring documentation as a convenience to Spring users so that if you encounter an issue when switching over to the XSD-style in some