* Removed endtag parameter of clixon_xml_parse_file()
This commit is contained in:
parent
f536b1dc67
commit
fb9917e81e
15 changed files with 19 additions and 27 deletions
|
|
@ -226,7 +226,7 @@ nacm_load_external(clicon_handle h)
|
|||
if (yang_spec_parse_module(h, "ietf-netconf-acm", NULL, yspec) < 0)
|
||||
goto done;
|
||||
/* Read configfile */
|
||||
if (clixon_xml_parse_file(f, YB_MODULE, yspec, NULL, &xt, NULL) < 0)
|
||||
if (clixon_xml_parse_file(f, YB_MODULE, yspec, &xt, NULL) < 0)
|
||||
goto done;
|
||||
if (xt == NULL){
|
||||
clicon_err(OE_XML, 0, "No xml tree in %s", filename);
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ load_extraxml(clicon_handle h,
|
|||
}
|
||||
yspec = clicon_dbspec_yang(h);
|
||||
/* No yang check yet because it has <config> as top symbol, do it later after that is removed */
|
||||
if (clixon_xml_parse_file(fp, YB_NONE, yspec, NULL, &xt, &xerr) < 0)
|
||||
if (clixon_xml_parse_file(fp, YB_NONE, yspec, &xt, &xerr) < 0)
|
||||
goto done;
|
||||
/* Replace parent w first child */
|
||||
if (xml_rootchild(xt, 0, &xt) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue