* Checked yang binding validity which lead to:

* Changed and enhanced several `bad-element` error replies to `unknown-element` with more detailed error-message.
This commit is contained in:
Olof hagsand 2020-07-25 16:09:24 +02:00
parent b56c0220c9
commit 57b104bc25
21 changed files with 106 additions and 70 deletions

View file

@ -514,7 +514,8 @@ xpath_parse(const char *xpath,
}
xpath_parse_exit(&xpy);
xpath_scan_exit(&xpy);
*xptree = xpy.xpy_top;
if (xptree)
*xptree = xpy.xpy_top;
retval = 0;
done:
if (cb)