Hi,
I am running below query in MarkLogic 5.0.3 and getting error while its running
on MarkLogic 7.0
let $node :=
cts:uri-match("/docs/*.xml")[cts:contains(.,cts:not-query("COL"))][1 to 10]
return $node
Error:
[1.0-ml] XDMP-ARGTYPE: (err:XPTY0004)
cts:contains("/docs/0000002-0000000-0000001-ISDA-COL-XXXX_2005-05-17_17-28-33-...",
cts:not-query(cts:word-query("COL", ("lang=en"), 1), 1)) -- arg1 is not of
type node()*
Stack Trace
At line 1 column 43:
1. let $node :=
cts:uri-match("/docs/*.xml")[cts:contains(.,cts:not-query("COL"))][1 to 10]
2. return $node
3.
"This e-mail and any attachments transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential , proprietary or
privileged information. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing or
copying of this e-mail or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful."
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general