Hi,

I am getting XDMP-PARENTLINK error while doing cts:search.
cts:search(//users,
        cts:and-query((

cts:element-range-query(xs:QName('user'),"=","MarklogicUser",("collation=
http://marklogic.com/collation/codepoint";)),
        cts:element-range-query(xs:QName('id'),"=","id415",("collation=
http://marklogic.com/collation/codepoint";))
    ))
)

But when I try using cts:element-valules I got the results.
cts:element-values(
    xs:QName('schemeid'),
    (),
    ("limit=1", "collation=http://marklogic.com/collation/codepoint";),
        cts:and-query((

cts:element-range-query(xs:QName('user'),"=","MarklogicUser",("collation=
http://marklogic.com/collation/codepoint";)),
        cts:element-range-query(xs:QName('id'),"=","id415",("collation=
http://marklogic.com/collation/codepoint";))
    ))
)

The results are returned from the document "/mlusers/marklogicusers.com".
The doc-available is returning false. fn:doc-available("/mlusers/
marklogicusers.com").

What is the XDMP-PARENTLINK error.
Please help me out.

Thanks,
Prasanth
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to