Details
-
Bug
-
Status: Resolved
-
High
-
Resolution: Done
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
YANGTOOLS-1115 StmtNamespaceContext is retained needlessly in xpath expressions
-
- Resolved
-
-
YANGTOOLS-1138 Intermittent failure to resolve prefixes in XPath
-
- Resolved
-