Hi Amit,

At this point there is no good solution for this. Either use uris that don’t 
need to be encoded, or used double encoded uris to make sure a roundtrip with 
MLCP won’t break things..

Cheers,
Geert

From: amit gope <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, January 29, 2015 at 8:38 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] URI HTML encoding in mlcp

Hello All,

I am using MLCP to ingest data into ML-7(hosted on Linux). The problem that I 
am facing is that when the uri of my document is "/home/makrlogic/testing 
mlcp.xml", it is rendering the uri as "/home/makrlogic/testing%20mlcp.xml". Now 
my db already contained document with the uri "/home/makrlogic/testing 
mlcp.xml", and this new ingestion adds one more uri 
"/home/makrlogic/testing%mlcp.xml". So when I run the query 
cts:uri-match("/home/marklogic/*") it gives me two uris, but ideally it should 
only be one. Please suggest how to maintain this white spaces and not use html 
entity for the white space.
--
Regards
Amit

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to