Skip to Content
0
Jul 03, 2020 at 06:37 AM

unable to call xpath incontent modifier of SAP CPI/HCI

254 Views Last edit Jul 03, 2020 at 06:39 AM 2 rev

Hi,

i am receiving Json structure which looks like below format :

objects": [ { "object": { "properties": { "cmis:objectTypeId": { "id": "", "localName": "cmis:objectTypeId", "displayName": "cmis:objectTypeId", "queryName": "cmis:objectTypeId", "type": "id", "cardinality": "single", "value": "cmis:folder" },

while converting to xml it looks like below format

<?xml version='1.0' encoding='UTF-8'?> <root> <objects> <object> <properties> <cmis:objectTypeId> <id>cmis:objectTypeId</id> <localName>cmis:objectTypeId</localName> <displayName>cmis:objectTypeId</displayName> <queryName>cmis:objectTypeId</queryName> <type>id</type> <cardinality>single</cardinality> <value>cmis:folder</value> </cmis:objectTypeId>

but while calling to to content modifier or converting to XSD i am getting error because of cmis:objectTypeId (seems because of ":")