You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When call lys_parse_mem with module b, after module a was successful loaded, would got an error:
libyang[0]: Augment extension target node "/a:struct" from module "b" was not found. (schemadata path: /b:{extension='sx:augment-structure'}/{augment='/a:struct'})
The text was updated successfully, but these errors were encountered:
Based on the extension definition, I believe, you must target an actual data node, the structure itself is not allowed (it would result in "top-level" augment nodes). So try using
Version: libyang 3.7.8
There are two modules, the module a defined sx:structure called "struct"
And the module b defined sx:augment-structure to directly augment an leaf under the "/a:struct"
When call lys_parse_mem with module b, after module a was successful loaded, would got an error:
libyang[0]: Augment extension target node "/a:struct" from module "b" was not found. (schemadata path: /b:{extension='sx:augment-structure'}/{augment='/a:struct'})
The text was updated successfully, but these errors were encountered: