marklogic / marklogic/marklogic-contentpump

Mlcp Export not working with < cts query

Open
#80 5 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug major mlcp test
Dominant language
Java
Stars
37
Forks
32
Avg merge
1h 3m
Merged PRs (30d)
12

Description

Hi when i try to do a export using <= i am getting the following error . Iam storing the cts:andquery in a file Error
18/05/30 12:59:08 ERROR contentpump.LocalJobRunner: Error getting input splits:
18/05/30 12:59:08 ERROR contentpump.LocalJobRunner: com.marklogic.xcc.exceptions.XQueryException: XDMP-DOCATTRVALCHAR: xdmp:unquote("<cts:and-query xmlns:cts="http://marklogic.com/cts&quot;><c...") -- Invalid attribute value character "<" or missing close quote at line 1

sample query :</cts:and-query>
<cts:element-range-query operator="&lt;=">
<cts:element xmlns:sss=ns">sss:somevfiled</cts:element>
<cts:value xsi:type="xs:date" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">value</cts:value>
</cts:element-range-query>
</cts:and-query>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.