Refresh parsers when not found
Closes gh-3065
This commit is contained in:
committed by
Josh Cummings
parent
8315545144
commit
5c4362bbc4
@@ -101,6 +101,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);
|
||||||
|
|||||||
Reference in New Issue
Block a user