Once there's an open issue in github I could take a look at this. At a minimum, it looks like the xqy path and module root need to be regex-escaped before being passed to any regex functions. Those unescaped backslashes in the windows paths are a problem.
I also see https://github.com/robwhitby/xray/issues/35 for the code coverage feature, which might be related. -- Mike On 9 Oct 2014, at 06:02 , Whitby, Rob <[email protected]> wrote: > The code coverage feature is best described as “experimental”, but please > create an issue in GitHub and include details of the parameters you are > passing in (modules pattern etc). http://github.com/robwhitby/xray > > Thanks > > From: priya dharshni <[email protected]> > Reply-To: MarkLogic Developer Discussion <[email protected]> > Date: Thursday, 9 October 2014 13:48 > To: general <[email protected]>, > "[email protected]" > <[email protected]> > Subject: [MarkLogic Dev General] Help in xray code coverage > > Hi, > > When I tried with the xray code coverage I got code coverage > as 0% . I am getting the following error message in marklogic error log. > > XDMP-CANCELED: Canceled request "dbg:eval("xquery version > "1.0-ml"; import module namespace > t="http://github.com/robwhitby/xray/test" at > "\xray\test\tests.xqy"; t:check-doc1-not-loaded()")" > in eval("xquery version "1.0-ml"; > import module namespace t="http://github.com/robwhitby/xray/test" at > "\xray\test\tests.xqy"; > t:check-doc1-not-loaded()") [1.0-ml] > > In UI when I click on any passed/failed test case I can see > > 500 Internal Server Error > XDMP-REGEX: (err:FORX0002) fn:matches("xray\test\default-fn-namespace.xqy", > "\xray\test\more-tests\module-import-relative.xqy") -- Invalid regular > expression > in /xray/src/modules-filesystem.xqy, at 48:35, > > Please let me know if i have missed anything. > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
