-
Bug
-
Resolution: Done
-
High
-
None
-
None
StmtNamespaceContext can be legally retained by AntlrYangXPathExpression, by which point it really should be a fixed prefix mapping for that instantiation.
In particular we should not be retaining a SubstatementContext, as that ends up retaining large chunks of BuildGlobalContext.
Examine lifecycle of affected codepaths and make sure we end up retaining a minimal context.
- relates to
-
YANGTOOLS-1115 StmtNamespaceContext is retained needlessly in xpath expressions
- Resolved
-
YANGTOOLS-1138 Intermittent failure to resolve prefixes in XPath
- Resolved