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

yang-data-codec-gson: compressed instance-identifier codec

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • 2.0.0, 1.2.1
    • 1.2.2, 2.0.1
    • None
    • None
    • Operating System: All
      Platform: All

    • 8083

    Description

      There is a slight difference between how instance-identifiers are encoded in https://tools.ietf.org/html/draft-lhotka-netmod-yang-json-02 (used by draft-bierman-netconf-restconf-02) and https://tools.ietf.org/html/rfc7951 (used by RFC8040).

      For RFC8040 we need to use a different JSON codec to handle prefixes.

      While we are in the area, I suspect key encoding does not work correctly (for both XML and JSON) with respect to complex types – i.e. when we are encoding an instance identifier which uses one of:

      • empty
      • identityref
      • instance-identifier
        as type of a key leaf.

      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: