Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As it was initially implemented there is no validation for parent data node existence when persisting data nodes.

It is unnecessary when the whole data tree is persisted (A). With non-empty initial xpath it makes it possible to
persist data nodes from lower levels of structure hierarchy without upper level data nodes (B).

Drawio
bordertruefalse
diagramNameCPS partial data persistence
simpleViewerfalse
width
linksauto
tbstyletopinline
lboxfalsetrue
diagramDisplayName
diagramWidth871
revision2

From one hand it seems extra to persist upper level nodes if these nodes are never requested. From other hand it could lead to data inconsistency
if the parent node being added after child nodes (C). The case  however can be resolved by existing data check before inserting new entries.

...