Re: [MarkLogic Dev General] Exporting Xquery files using MLCP

2016-03-31 Thread Christopher Hamlin
I'm not sure why it would do that. A quick test I would try, if you can live with UTF-8 documents, is to remove the content_encoding specification. On Thu, Mar 31, 2016 at 3:28 PM, Danny Sinang wrote: > Hi, > > Has anyone here tried to export Xquery files from the Modules database using > MLCP ?

Re: [MarkLogic Dev General] Exporting Xquery files using MLCP

2016-03-31 Thread Sam Mefford
Hey Danny, When I try it it works fine for me. mlcp 1.3-3 and 8.0-5. Here's the command I ran: mlcp.bat export -host localhost -database Modules -port 8000 -username admin -password admin -mode local -output_file_path modules -directory_filter /marklogic.rest.transform/ -content_encoding sys

[MarkLogic Dev General] Exporting Xquery files using MLCP

2016-03-31 Thread Danny Sinang
Hi, Has anyone here tried to export Xquery files from the Modules database using MLCP ? We tried the config below, but the files generated had numbers at the start and end *014392* xquery version "1.0-ml"; module namespace cds="http://www.company.org/cds";; [2:04] cds:replace-subject-id-with-