Versions Compared

Key

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

response for getDataNode is

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


But we send this body when creating/updating DataNode (i.e. its wrapped using module information)

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

...


Solutions



Populate the schema_node_id variable in the fragment table which would equate to the schemaSetName variable in the DataNode class/object.



Obtain the schema node from the xpath of the queried node. Node xpath will beĀ