Skip to content

Commit 83293b3

Browse files
committed
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-22680
1 parent 5dc9c4c commit 83293b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ public BeanDefinitionHolder decorateIfRequired(
14061406
return decorated;
14071407
}
14081408
}
1409-
else if (namespaceUri.startsWith("https://www.springframework.org/")) {
1409+
else if (namespaceUri.startsWith("http://www.springframework.org/")) {
14101410
error("Unable to locate Spring NamespaceHandler for XML schema namespace [" + namespaceUri + "]", node);
14111411
}
14121412
else {

0 commit comments

Comments
 (0)