Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-314

Binding DTO pattern enforcement does not honor 'modifier invert-match'

    XMLWordPrintable

Details

    Description

      YANG 1.1 has defined a new construct under the pattern statement, which is the modifier-kind substatement. It has one defined value, invert-match, which instructs the engine to invert matching logic – only strings NOT matching the pattern are considered legal.

      Binding codegen is ignorant of this change and produces positive match even when invert-match is requested.

      Make sure BindingGeneratorImpl processes Pattern strings so that they become invert-matches when this modifier is present.

      Attachments

        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: