One of our documents stores cts queries which works fine except when we try to
validate documents that contain cts:value element. I have tried it with ML5,
ML6-1.1 and ML6-2.3 with no luck. I would appreciate any input!
Example code:
let $e := <foo>{cts:element-range-query(xs:QName("foo"), "<=",
xs:date("2010-10-10"))}</foo>
return validate strict {$e/element()}
Output:
[1.0-ml] XDMP-VALIDATEBADDERIV: (err:XQDY0027) validate strict { $e/element() }
-- Invalidly derived type: Element cts:value xsi:type #xs:date not validly
derived from #cts:value using schema "cts.xsd"
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general