* Strict namespace setting can be a problem when upgrading existing database files, such as startup-db or persistent running-db, or any other saved XML file.
* For backward compatibility, load of startup and running set CLICON_XML_NS_STRICT to false temporarily. * Added three-valued return values for several validate functions where -1 is fatal error, 0 is validation failed and 1 is validation OK. * This includes: `xmldb_put`, `xml_yang_validate_all`, `xml_yang_validate_add`, `xml_yang_validate_rpc`, `api_path2xml`, `api_path2xpath` * Added new xml functions for specific types: `xml_child_nr_notype`, `xml_child_nr_notype`, `xml_child_i_type`, `xml_find_type`.
This commit is contained in:
parent
861300d6c0
commit
0baebc93fd
71 changed files with 2679 additions and 1573 deletions
|
|
@ -51,11 +51,6 @@ int strverscmp (__const char *__s1, __const char *__s2);
|
|||
*/
|
||||
#define XMLNS_YANG_ONLY 1
|
||||
|
||||
/* Set for full XML namespace code in XML, NETCONF and YANG
|
||||
* Experimental
|
||||
*/
|
||||
#undef ENABLE_XMLNS
|
||||
|
||||
/* If set, patch all CLI spec calls to @datamodel:tree to @datamodel.
|
||||
* This is a backward compatible fix for 3.9 for CLIgen specification files
|
||||
* using model generation (CLIXON_CLI_GENMODEL).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue