mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
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-22676
This commit is contained in:
+1
-1
@@ -1468,7 +1468,7 @@ public class BeanDefinitionParserDelegate {
|
|||||||
if (handler != null) {
|
if (handler != null) {
|
||||||
return handler.decorate(node, originalDef, new ParserContext(this.readerContext, this, containingBd));
|
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);
|
error("Unable to locate Spring NamespaceHandler for XML schema namespace [" + namespaceUri + "]", node);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user