Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1137

Enforce correct XPath arguments

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 6.0.0
    • None
    • parser
    • None

      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.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: