On Thu, 2017-10-26 at 09:02 -0700, Andy Bierman wrote: > > > 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:
Why not? Just use JSON. XML is bound to be abadoned, sooner or later. Lada > > - 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 -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
