commit | 81008a54c185b40c5e73558ac20e4b4730742b1e | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 21 16:06:12 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 21 16:06:12 2021 +0200 |
tree | 8a43b49d83fd62e0468c57b85ce5f4df91fe0b7e | |
parent | c825ed756ccf86cf71493ee5cac58c2b974edab6 [diff] [blame] |
parsers UPDATE always try to parse data node normally Even when its parent is an opaque node.
diff --git a/src/parser_xml.c b/src/parser_xml.c index 787d29f..af02241 100644 --- a/src/parser_xml.c +++ b/src/parser_xml.c
@@ -465,7 +465,7 @@ /* get the schema node */ snode = NULL; - if (mod && (!parent || parent->schema)) { + if (mod) { if (!parent && lydctx->ext) { snode = lysc_ext_find_node(lydctx->ext, mod, name, name_len, 0, getnext_opts); } else {