[MarkLogic Dev General] mlcp, -document_selector: level of XPath support?

Markus Flatscher flatscherm at avalonconsult.com
Mon Mar 30 09:16:14 PDT 2015


Chris,

thank you. The ellipsis […] was just for readability, filtering out my
other parameters.

Markus

On Mon, Mar 30, 2015 at 12:12 PM, Christopher Hamlin <cbhamlin at gmail.com>
wrote:

> Hi Markus,
>
> Are you sure the command-line arguments are all being parsed correctly?
>
> With debug on it shows info on that:
>
> chamlin at MacPro:bin$ ~/mlcp/bin/mlcp.sh copy -document_selector
> '/root[child/child = "1"]'
>
> 15/03/30 12:08:49 DEBUG contentpump.ContentPump: Command: COPY
>
> 15/03/30 12:08:49 DEBUG contentpump.ContentPump: Arguments:
> -document_selector /root[child/child = "1"]
>
> 15/03/30 12:08:49 ERROR contentpump.ContentPump: Error parsing command
> arguments:
>
> 15/03/30 12:08:49 ERROR contentpump.ContentPump: Missing required
> options: input_username, input_password, input_host, output_username,
> output_password, output_host
>
> If this is the problem, I'd guess it is in your '...'.  But debug
> appears to show the arguments so you could rule that out.
>
> Debug reference:
>
> https://docs.marklogic.com/guide/ingestion/content-pump#id_75840
>
> =Chris
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>



-- 
Markus Flatscher
Consultant | Avalon Consulting, LLC
flatscherm at avalonconsult.com

LinkedIn: http://www.linkedin.com/company/avalon-consulting-llc
Google+: http://www.google.com/+AvalonConsultingLLC
Twitter:    https://twitter.com/avalonconsult
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150330/8f15bbb1/attachment.html 


More information about the General mailing list