I have a xml documents in MarkLogic,
Document 1 - URI - /test1/wf1
<?xml version="1.0" encoding="UTF-8"?>
<workflow>
<workflowName>Oracle_RMS_9_RMS_9_Pos_and_Allocations_WF</workflowName>
<workflowDescription>
</workflowDescription>
<endPointName>Oracle RMS 9_RMS 9 Pos and Allocations</endPointName>
<createdDttm>2019-06-11 00:21:26.2121Z</createdDttm>
<modifiedDttm>2019-08-28T04:37:19.764Z</modifiedDttm>
</workflow>
My requirement is to get the document uris only if element value matches with ignore case.
cts:uris((),(),cts:and-query((cts:collection-query("workflow"),cts:element-value-query(xs:QName("endPointName"),"Oracle RMS 9 RMS 9 POs and Allocations",("case-insensitive","whitespace-sensitive")))))
I am executing above query to get the document URI matching value with xs:QName("endPointName")
here I am expecting empty sequence because there is no matching document but I am getting /test/wf1 as query result.
Please guide me to fix this issue.