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

JSONStringInstanceIdentifierCodec fails to lookup subsequent module prefix if not explicitly given

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 8611

      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.

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

              Created:
              Updated:
              Resolved: