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

Enforce correct XPath arguments

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 6.0.0
    • parser
    • None

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: