On Tue, Oct 24, 2017 at 5:27 AM, Vladimir Vassilev <[email protected]
> wrote:

> On 10/24/2017 03:42 AM, Andy Bierman wrote:
>
> ....
>>
>> Although the instance-identifier is problematic, it is rarely used at all,
>> let alone using it as a list key.
>>
> It is used as a key in ietf-alarms /alarms/alarm-list/alarm.
>
>> ...
>
>
I guess if you wanted to create the most complex module possible,
using an XPath instance-identifier as a list key is a good start.

It's too bad we can't use the RESTCONF path URI string as an i-i:

  - the only representation is also the canonical representation
  - the list keys are much less verbose (required to be in schema order)
  - percent-encoded chars are allowed, which are simpler than character
entities
    and much simpler than the concat() function
  - no use of prefix mappings at all so i-i strings are complete and
permanent


Andy
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to