Fixed: [Yang identityref XML encoding is not general](https://github.com/clicon/clixon/issues/90)
* Revisiting this issue now seems to work, there are no regressions that fail when disabling IDENTITYREF_KLUDGE.
This commit is contained in:
parent
779fcf5458
commit
b0f898cf66
5 changed files with 6 additions and 6 deletions
|
|
@ -275,9 +275,7 @@ validate_identityref(cxobj *xt,
|
|||
if (prefix == NULL)
|
||||
ymod = ys_module(ys);
|
||||
else{ /* from prefix to name */
|
||||
#if 1 /* IDENTITYREF_KLUDGE */
|
||||
ymod = yang_find_module_by_prefix_yspec(ys_spec(ys), prefix);
|
||||
#endif
|
||||
}
|
||||
if (ymod == NULL){
|
||||
cprintf(cberr, "Identityref validation failed, %s not derived from %s in %s.yang:%d",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue