* Replaced compile option VALIDATE_STATE_XML with runtime option CLICON_VALIDATE_STATE_XML.
* XML childvec Compile error
This commit is contained in:
parent
0f54899ae4
commit
cdcffa768f
5 changed files with 72 additions and 65 deletions
|
|
@ -78,17 +78,6 @@
|
|||
*/
|
||||
#define XML_EXPLICIT_INDEX
|
||||
|
||||
/*! Validate user state callback content
|
||||
* Users may register state callbacks using ca_statedata callback
|
||||
* When this option is set, the XML returned from the callback is validated after merging with the running
|
||||
* db. If it fails, an internal error is returned to the originating user.
|
||||
* If the option is not set, the XML returned by the user is not validated.
|
||||
* Note that enabling this option causes a large performance overhead for large lists, therefore it
|
||||
* is recommended to enable it during development and debugging but disable it in production, until
|
||||
* this has been resolved.
|
||||
*/
|
||||
#define VALIDATE_STATE_XML
|
||||
|
||||
/*! Treat <config> specially in a xmldb datastore.
|
||||
* config is treated as a "neutral" tag that does not have a yang spec.
|
||||
* In particular when binding xml to yang, if <config> is encountered as top-of-tree, do not
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue