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

Do not allow empty YangInstanceIdentifier leaf/leaf-list values

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 12.0.0
    • data-impl

    Description

      YangInstanceIdentifier.empty() falls outside of YANG semantics, as instance-identifier is specified as:

         instance-identifier = 1*("/" (node-identifier
                                       [1*key-predicate /
                                        leaf-list-predicate /
                                        pos]))

      i.e. '/' is not a valid value.

      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: