Hi All, We are using document and transform rest api together , we just upgraded our system to Marklogic 7 till Marklogic 6 it was working fine.
Request url : http://ip:9000/v1/documents?uri=/content_assessments/assessments/abc40148ef3c41399187eefed939a9d5.xml&collection=Assessments&transform=assessment Content type :application/json Uri of document is ends with .xml We are passing content as json documents with put request . If we are passing uri ends with ".xml" and content as "json" in Marklogic7 , we are getting error xdmp:DOCROOTTEXT since it is failing documents rest api. We can change the transformation code since in MarkLogic 7 changed the definition of function but we do not want to change the uri which ends with .xml extension. How can we achieve this without changing the uri we want to convert json to xml and save ? Regards, Vikas Singh This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general