validation FEATURE multi-error parsing/validation

Refs #1978
diff --git a/src/parser_lyb.c b/src/parser_lyb.c
index dbdb8b0..783f496 100644
--- a/src/parser_lyb.c
+++ b/src/parser_lyb.c
@@ -1082,7 +1082,7 @@
 
     if (!(lybctx->parse_opts & LYD_PARSE_ONLY)) {
         /* new node validation, autodelete CANNOT occur, all nodes are new */
-        ret = lyd_validate_new(lyd_node_child_p(node), snode, NULL, NULL);
+        ret = lyd_validate_new(lyd_node_child_p(node), snode, NULL, 0, NULL);
         LY_CHECK_RET(ret);
 
         /* add any missing default children */