Merge branch '5.6.x' into 5.7.x

Closes gh-12125
This commit is contained in:
Josh Cummings 2022-11-01 18:06:01 -06:00
commit 6efac34ca7
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ public final class SecurityNamespaceHandler implements NamespaceHandler {
if (parser == null) { if (parser == null) {
// SEC-1455. Load parsers when required, not just on init(). // SEC-1455. Load parsers when required, not just on init().
loadParsers(); loadParsers();
parser = this.parsers.get(name);
} }
if (parser != null) { if (parser != null) {
return parser.parse(element, pc); return parser.parse(element, pc);