tree data BUGFIX ext node callback for implicit nodes
diff --git a/src/parser_xml.c b/src/parser_xml.c
index da43b40..a321280 100644
--- a/src/parser_xml.c
+++ b/src/parser_xml.c
@@ -779,7 +779,7 @@
/* add any missing default children */
ret = lyd_new_implicit_r(node, lyd_node_child_p(node), NULL, NULL, &lydctx->node_when, &lydctx->node_types,
- (lydctx->val_opts & LYD_VALIDATE_NO_STATE) ? LYD_IMPLICIT_NO_STATE : 0, NULL);
+ &lydctx->ext_node, (lydctx->val_opts & LYD_VALIDATE_NO_STATE) ? LYD_IMPLICIT_NO_STATE : 0, NULL);
LY_CHECK_GOTO(ret, error);
}