OPEN - issue SEC-808: Switch namespace schema version to 2.0.1 and update spring.schemas

http://jira.springframework.org/browse/SEC-808. Created new 2.0.1 schema files and updated tests to use them.
This commit is contained in:
Luke Taylor 2008-04-29 18:53:33 +00:00
parent 8281aeb0da
commit 473f6a32c6
5 changed files with 1469 additions and 88 deletions

View File

@ -15,7 +15,7 @@ public class InMemoryXmlApplicationContext extends AbstractXmlApplicationContext
" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'\n" + " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'\n" +
" xsi:schemaLocation='http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd\n" + " xsi:schemaLocation='http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd\n" +
"http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd\n" + "http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd\n" +
"http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd'>\n"; "http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.1.xsd'>\n";
private static final String BEANS_CLOSE = "</b:beans>\n"; private static final String BEANS_CLOSE = "</b:beans>\n";
Resource inMemoryXml; Resource inMemoryXml;

View File

@ -1,2 +1,3 @@
http\://www.springframework.org/schema/security/spring-security-2.0.xsd=org/springframework/security/config/spring-security-2.0.xsd http\://www.springframework.org/schema/security/spring-security-2.0.xsd=org/springframework/security/config/spring-security-2.0.xsd
http\://www.springframework.org/schema/security/spring-security-2.0.1.xsd=org/springframework/security/config/spring-security-2.0.1.xsd