commit | 4ad69e7dc9de5d389a4097449b1322d37abcd09c | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 26 16:25:55 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 26 16:25:55 2021 +0200 |
tree | 66376d60d1f061d790617e914ec3690cf0a419ec | |
parent | f922e8fa536739e22496f247330fce96fe8f92a5 [diff] [blame] |
xpath FEATURE optional error on non-matching schema xpath
diff --git a/src/tree_schema.c b/src/tree_schema.c index d456467..9b309f6 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -484,7 +484,7 @@ LY_CHECK_ARG_RET(NULL, ctx || ctx_node, xpath, set, LY_EINVAL); if (!(options & LYXP_SCNODE_ALL)) { - options = LYXP_SCNODE; + options |= LYXP_SCNODE; } if (!ctx) { ctx = ctx_node->module->ctx;