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

JSONStringInstanceIdentifierCodec fails to lookup subsequent module prefix if not explicitly given

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 8611

    Description

      JSONStringInstanceIdentifierCodec requires adding prefix for every node in patch. E.g. it fails to parse:

      /ietf-interfaces:interfaces/interface[name='eth0']

      According to https://tools.ietf.org/html/rfc7951#section-6.11 this is valid identifier because the data nodes "interfaces", "interface", and "name" are defined in the module ."ietf-interfaces"

      Issue observed using recent code from stable/boron branch.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              mgradzki Marek Gradzki
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: