Versions Compared

Key

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

...

   id   |           xpath                                      | attributes   | anchor_id  |  parent_id  | schema_node_id
------+--------------------------------------+------------+------------+------------+----------------
 3329 | /cps-notification/anchor[@id=28]  |                   |        6          |                  |

Schema v/s

...

non-

...

schema persistence

Using SchemaWithout Schema

Pros:

  1. consistent with cps modules. 

Cons:

  1. Need to create dataspace, anchor and schema in advance.
  2. schema is redundant. not used to parsing the payload. 

Pros:

  1. Simplify 

Cons:

  1. Not consistent with other modules of CPS.
  2. Extra cps path in fragment table. need to ignore these xpaths in get datanodes API. 




...