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

YANG parser should validate statement argument validity

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 2.0.3
    • parser
    • None

    Description

      We currently allow invalid arguments to propagate through the system, like "container foo:foo". These are clearly violating RFC6020/RFC7950 and should not be allowed.

      This will eliminate users for StmtContextUtils.qnameFromArgument(), which is very permissive and quite slow.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: