Hi Ellis!

  Yes we did.  And actually the corruption of an internal data structure 
related to schema validation is very consistent with the (apparently random and 
incorrect) validation errors we got.  Restarting seems to have solved the 
problem.

  Thank you!  Regards,


-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/



Le Vendredi 22 novembre 2013 17h18, Ellis Pritchard wrote:
 
Hi Florent,
>
>
>Recently updated something (anything) in the schema?
>
>
>Try xdmp:expanded-tree-cache-clear(), or restarting the server.
>
>
>Might be RFE #1702, basically MarkLogic caches the schema and it screws up 
>de-referencing elements when the schema gets updated (or something to that 
>effect).
>
>
>Ellis.
>
>
>On 22 Nov 2013, at 15:26, Florent Georges <[email protected]> wrote:
>
>  Hi,
>>
>>  When I evaluate the following search:
>>
>>    declare namespace c = 'http://example.com/ns/core';
>>    cts:search(
>>       fn:collection('urn:xxx:foobar),
>>       cts:path-range-query("/c:foobar/c:name", "=", 'baz'))
>>
>>I get the following error:
>>
>>    [1.0-ml] XDMP-LEXVAL: xs:dateTime("baz") -- Invalid lexical value "baz"
>>
>>  If it is of any interest, I have a path range index like:
>>
>>    scalar type: string
>>    path expr: /c:foobar/c:name
>>    collation: http://marklogic.com/collation/, Root Collation
>>    positions: false
>>    invalid:
 reject
>>
>>  And c:name is of a type which is a restriction of xs:string:
>>
>>    <xs:simpleType name="core-name">
>>       <xs:restriction base="xs:string">
>>          <xs:pattern value="[a-z][-a-z0-9]+"/>
>>       </xs:restriction>
>>    </xs:simpleType>
>>
>>  Any idea what is wrong?
>>
>>  Regards,
>> 
>>-- 
>>Florent Georges
>>http://fgeorges.org/
>>http://h2oconsulting.be/_______________________________________________
>>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