In order to make the step towards evaluating when/must expressions, we need to make sure we do not ignore them and have them correctly parsed.
Refactor WhenStatement and MustStatement so they reference the XPath directly rather than going through RevisionAwareXPath (which needs to be removed).
This change forces a new requirement, which is that XPath expressions must be syntactically correct and must at least bind to namespaces correctly for the effective model to be created.
- blocks
-
YANGTOOLS-689 DataTree: enforce 'must'-statement consistency
- Confirmed
-
YANGTOOLS-688 DataTree: enforce 'when'-statement conditional nodes
- Confirmed
- relates to
-
YANGTOOLS-1387 XPath: XPath keyword not accepted as valid XPath expression
- Resolved