Balazs Lengyel <balazs.leng...@ericsson.com> wrote: > See bellow! > > > On 2017-11-15 05:22, Juergen Schoenwaelder wrote: > > In XML land, this is mostly a change of the namespace (not of the > > prefix) if one keeps the same structure, no? In JSON land, the change > > of the module name more directly becomes visible in instance data; but > > this is all encoding details. > BALAZS: Even in XMLland we store the prefix as part of any leaf with > type instance-identifier or identityref and potentially CLI scripts.
This would be a broken implementation. Since the prefix might change you cannot store them as is. You have to translate the prefix to namespace/module name, and store that. That said, this encoding rule is really unfortunate. We fixed it in the JSON encoding, and I wish we had the same in XML... /martin _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod