Hi, Bushan: The REST API enforces best practices by checking URI validity when creating documents.
If you need to round-trip identifiers from another system, you can encode the invalid URI characters. Where possible, it will be more straightforward to support only valid URIs. Hoping that helps, Erik Hennum ________________________________ From: [email protected] [[email protected]] on behalf of Bhushan Suryawanshi [[email protected]] Sent: Thursday, January 05, 2017 3:03 PM To: [email protected] Subject: [MarkLogic Dev General] invalid uri: error while inserting document in to database Hi Guys, I am using MarkLogic 8 along with REST api . While trying to insert a Document with following URI, It is generating an error. Example Document Uri: Gold/s p a c e.xml IS there any workaround to get document through the database. Thanks & Regards, Bhushan Suryawanshi Bhushan Suryawanshi Developer t: +1-212-401-7894 www.xenomorph.com<http://www.xenomorph.com/?mail> | blog<http://xenomorph.typepad.com/?mail> | twitter<http://goo.gl/oaBWO> | linkedin<http://goo.gl/rdi8W> This email is confidential and is intended only for the addressee. If you are not the intended recipient, please note that any dissemination, distribution or copying of this email is strictly prohibited. Any and all estimates, proposals, quotes and fees contained herein are for discussion purposes only and are not contractually binding unless executed in accordance with the standard practices of the Company. Attachments to this message have been virus checked but no guarantee can be made that any attachment is virus free. Please notify us immediately of any problem.
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
