...
When Notification is subscribed for above payload, below records will be added in fragment table table.
dataspace01 : all anchors subscribed
dataspace02: list of anchors subscribed
dataspace03: list of anchors and xpaths subscribed
id | xpath | attributes | anchor_id | parent_id | schema_node_id |
---|---|---|---|---|---|
1 | /notification-subscription/dataspaces[@name='dataspace01'] | 6 | |||
2 | /notification-subscription/dataspaces[@name='dataspace02']/anchors[@name='anchor01'] | 6 | |||
3 | /notification-subscription/dataspaces[@name='dataspace02']/anchors[@name='anchor02'] | 6 | |||
4 | /notification-subscription/dataspaces[@name='dataspace03']/anchors[@name='anchor01'] | [. "/bookstore/categories[@code='01", "/bookstore/categories[@code='02" ] | 6 |
Schema v/s non-schema persistence
...