[MarkLogic Dev General] xdmp:current-last() and xdmp:current-position()

2012-01-04 Thread David Sewell
These two XSLT extension functions (see http://developer.marklogic.com/pubs/5.0/apidocs/Ext-10.html#xdmp:current-last and following) are, like standard XSLT current(), nice conveniences that eliminate the need to declare an extra variable in order to do comparisons within an XPath predicate. (T

[MarkLogic Dev General] Code coverage tools

2012-01-04 Thread Abishek N
Hello, Are there any code coverage tools available for Marklogic xquery. We are trying to evaluate the percentage of code covered as part of testing. We have used tools like cobertura, agitar, clover to get the coverage in java modules, is there something similar available to xquery? Are there

Re: [MarkLogic Dev General] search:parse/unparse not reversible?

2012-01-04 Thread Micah Dubinko
No problem. Although I neglected to mention it, it's also fixed in all releases version 5 and up. -m On Jan 4, 2012, at 3:21 AM, J.J. Larrea wrote: Thanks for the confirmation. The server I was using is 4.1-7.1 which clearly predates the fix. I'll see about getting it updated or switching to a

Re: [MarkLogic Dev General] search:parse/unparse not reversible?

2012-01-04 Thread J.J. Larrea
Thanks for the confirmation. The server I was using is 4.1-7.1 which clearly predates the fix. I'll see about getting it updated or switching to a different dev host. - J.J. Micah Dubinko wrote: J.J., Your understanding of the relationship between parse and unparse is correct. Which version