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-22677
This commit is contained in:
Sam Brannen
2019-03-27 16:10:02 +01:00
parent 8d403bf007
commit 91f5f21b18

View File

@@ -1447,7 +1447,7 @@ public class BeanDefinitionParserDelegate {
if (handler != null) {
return handler.decorate(node, originalDef, new ParserContext(this.readerContext, this, containingBd));
}
else if (namespaceUri != null && namespaceUri.startsWith("https://www.springframework.org/")) {
else if (namespaceUri != null && namespaceUri.startsWith("http://www.springframework.org/")) {
error("Unable to locate Spring NamespaceHandler for XML schema namespace [" + namespaceUri + "]", node);
}
else {