MarkLogic Server Validation Support

Hello, Was validation support for MarkLogic added to oXygen 10 with the advent of XCC 4? Thank you, Shannon -- Shannon Scott Shiflett, Software Engineer II ROTUNDA, The University of Virginia Press PO Box 801079, Charlottesville, VA 22904-4318 USA Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903 Email: Shiflett@Virginia.EDU Tel: +1 434 924 4495 Web: http://rotunda.upress.virginia.edu/

Hello, No, validation support is not available for MarkLogic connections because the MarkLogic database does not offer this support yet. Only XQuery execution and debugging are available for the MarkLogic database. MarkLogic support suggested some time ago that Saxon 9 should be used for validating XQuery files that will be executed on a MarkLogic database as MarkLogic tends to implement the XQuery standard in their database engine. I think there are still some differences between the XQuery version of MarkLogic and the XQuery standard but this is the best that you can get. Regards, Sorin Shannon wrote:
Hello,
Was validation support for MarkLogic added to oXygen 10 with the advent of XCC 4?
Thank you, Shannon

Sorin Ristache wrote: Hi,
MarkLogic support suggested some time ago that Saxon 9 should be used for validating XQuery files that will be executed on a MarkLogic database as MarkLogic tends to implement the XQuery standard in their database engine. I think there are still some differences between the XQuery version of MarkLogic and the XQuery standard but this is the best that you can get.
For what is worth noting, I think there are three XQuery versions available out there: 0.9-ml, 1.0-ml and 1.0 (aka standard XQuery.) For what I've seen on the ML, it seems the *-ml versions (specifics to MarkLogic thus) are used often, even if the query is actually a plain, standard query. Like if the XQuery users where more influenced by the SQL world than by the XML world... I am not sure that could be an issue if using Saxon to validate the queries with a *-ml version, and if it is, if it can be worked around. Hope that helps, -- Florent Georges http://www.fgeorges.org/
participants (3)
-
Florent Georges
-
Shannon
-
Sorin Ristache