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
This commit is contained in:
Sam Brannen 2019-03-27 16:10:02 +01:00
parent 5dc9c4c527
commit 83293b39df
1 changed files with 1 additions and 1 deletions

View File

@ -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 {