xpath BUGFIX unresolved value is valid
diff --git a/src/xpath.c b/src/xpath.c
index aa060fc..7b91191 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -3333,6 +3333,9 @@
         if (type->basetype != LY_TYPE_IDENT) {
             rc = type->plugin->store(set->ctx, type, value, strlen(value), 0, set->format, set->prefix_data,
                     LYD_HINT_DATA, scnode, &storage, &err);
+            if (rc == LY_EINCOMPLETE) {
+                rc = LY_SUCCESS;
+            }
 
             if (err) {
                 LOGWRN(set->ctx, "Invalid value \"%s\" which does not fit the type (%s).", value, err->msg);