Versions Compared

Key

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

...

Code Block
{
   "bookstore":{
      "bookstore-name":"Chapters",
      "categories":[
         ...
      ]
   }
}


SolutionsIssues


Populate the schema_node_id variable in the fragment table which would equate to the schemaSetName variable in the DataNode class/object. This variable is currently null and not used.Adds a substantial amount of extra data to the fragment table. 


Obtain the schema node from the xpath of the queried node. Node xpath will
be 
be /bookstore/categories[@code='01'] where bookstore is the container name given in the module info.



Create a query to obtain the schema node directly from the database using and propagate through persistence and service layers.Would need to create a new query and also pass a new schema node object to the toDataMap method which would not be used every time which it is called



For the JSON output of Get DataNode we need to alter the DataMapUtils class. The function toDataMap