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

Do not allow empty YangInstanceIdentifier leaf/leaf-list values

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 12.0.0
    • None
    • data-impl

      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.

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

              Created:
              Updated:
              Resolved: