Hi All,
Currently I am using XQMVC framework which is running fine in MarkLogic 7.0-5.4
version, now I upgraded to MarkLogic 8 the application is not working fine ,
Does MarkLogic 8 support XQMVC framework ? is anyone running XQMVC framework
application in MarkLogic 8.
I got following error while launch the XQMVC framework application in the
MarkLogic 8 version.
[1.0-ml] XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error,
unexpected Lbrace_
Stack Trace
At line 2 column 81:
In xdmp:eval("import module namespace xqmvc-ctrlr =
"http://scholarsporta...", (fn:QName("","form-data"), map:map(<map:map
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)), <options
xmlns="xdmp:eval"><isolation>different-transaction</isolation>...</options>)
1. xquery version "1.0-ml";
2.
3. import module namespace xqmvc = "http://scholarsportal.info/xqmvc/core" at
"/framework/mvc/xqmvc.xqy";
4.
In /framework/mvc/xqmvc.xqy on line 107
In _controller("/application/controllers/security/security.xqy", "log-in")
$controller-file := "/application/controllers/security/security.xqy"
$function := "log-in"
$import-declaration := "import module namespace xqmvc-ctrlr =
"http://scholarsporta..."
$form-data := map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .../>)
$function-call := "xqmvc-ctrlr:log-in({"action":"eval",
"s..."
We use xdmp:eval() to launch the application , is there any functional
depreciation in xdmp:eval() function in MarkLogic 8 ? though I have execute
privilege for the xquery file.
Kindly do the needful.
Thanks & Regards,
Siva
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general