Hi,
Jensen Zhang <jingxuan.n.zh...@gmail.com> wrote: > Hi Kent, > > Thanks for your quick response. > > Maybe I did not make it clear. I am just pointing out a very simple > specific issue in the current 'ietf-truststore' module, which is that the > typedef 'public-key-ref' cannot be used by another module. > > The reason is very simple: Based on the description, if module A wants to > use this typedef to reference a public key in the central trust store, it > is supposed to provide another sibling leaf node called 'public-key-bag' > that has the typedef 'public-key-bag-ref', so that the public-key-ref can > use the relative path '[ts:name = current()/../ts:public-key-bag]' to > locate in which public-key-bag the referenced public key should be. > However, in this relative path, 'public-key-bag' is prefixed by 'ts', it > cannot reference the sibling leaf node 'public-key-bag' defined in module A > correctly. > > The fix should also be very simple: Just remove the prefix of the > 'public-key-bag', i.e., > > OLD: > > + "[ts:name = current()/../ts:public-key-bag]/" > > NEW: > > + "[ts:name = current()/../public-key-bag]/" I agree, this is the correct fix to the problem. /martin _______________________________________________ alto mailing list alto@ietf.org https://www.ietf.org/mailman/listinfo/alto