[YANGTOOLS-782] JSONStringInstanceIdentifierCodec fails to lookup subsequent module prefix if not explicitly given Created: 07/Jun/17  Updated: 10/Apr/22  Resolved: 26/Dec/17

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Marek Gradzki Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates YANGTOOLS-766 yang-data-codec-gson: compressed inst... Resolved
External issue ID: 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.


Generated at Wed Feb 07 20:54:18 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.