Which version of MarkLogic Server are you using?

What is the range index configuration?

-- Mike

On 18 Sep 2012, at 07:12 , Raghu wrote:

> HI All,
>  
>         I am invoking an xquery and I'm getting the following error
>  
>         XDMP-RANGEINDEX: xdmp:invoke("module.xqy", (fn:QName("", "user-id"), 
> "123", fn:QName("", "product-id"), ...)) -- Range index error: dateTime 
> fn:doc("/documentname.xml")/parentnode/childnode[2]/modificationdate: 
> XDMP-CAST: (err:FORG0001) Invalid cast: xs:untypedAtomic("123") cast as 
> xs:dateTime
>  
> The module invoked is inserting a node with following element-values
>  
>      modificationdate - range index present (dateTime)
>      userid
>      itemid
>  
> I triple checked/logged the values and there is no reason that userid value 
> to be taken as modification date value. This happens only when there is 
> already a child entry is  present and I'm adding another child,  I suspect  
> that the existing child has some special characters in it. Could somebody 
> please tell me if special characters could cause this kind of error, or is 
> there something else I should check with.
>  
> Thanks in advance
> Raghu
>  
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to