Browse Source

URL Cleanup - fix undesirable code change

Namespace handlers are mapped based on the canonical names for XML
namespaces which in Spring do not use "https" as the scheme.

See gh-22617 gh-22622 gh-22635
pull/22645/head
Sam Brannen 6 years ago
parent
commit
68837ebb57
  1. 2
      spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java

2
spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java

@ -1406,7 +1406,7 @@ public class BeanDefinitionParserDelegate { @@ -1406,7 +1406,7 @@ public class BeanDefinitionParserDelegate {
return decorated;
}
}
else if (namespaceUri.startsWith("https://www.springframework.org/")) {
else if (namespaceUri.startsWith("http://www.springframework.org/")) {
error("Unable to locate Spring NamespaceHandler for XML schema namespace [" + namespaceUri + "]", node);
}
else {

Loading…
Cancel
Save