Hi,

I'm new with Marklogic and trying to experiment with MLJAM. I went through
the tutorial, used tomcat, unzipped mljam in webapps,
http://localhost:8080/mljam/mljam/123/get?name=mljamid
is returning a fine 123.

However, when I try

xquery version "0.9-ml"
import module namespace jam = "http://xqdev.com/jam"; at "jam.xqy"

jam:start("http://localhost:8080/mljam/mljam";, "mljam", ""),
jam:eval-get("1+1"),
jam:end()

from the query console the result is:
[0.9-ml] SVC-FILOPN: File open error: open 'Apps/jam.xqy': No such file or
directory

Stack Trace
At line 2 column 0:

1. xquery version "0.9-ml"
2. import module namespace jam = "http://xqdev.com/jam"; at "jam.xqy"
3.
4. jam:start("http://localhost:8080/mljam/mljam";, "mljam", ""),


Thanks for your help.

Best regards,
Mircea

On Thu, Sep 13, 2012 at 5:08 PM, Gary Larsen <[email protected]> wrote:

> Hi,****
>
> ** **
>
> Trying to debug a query in Oxygen but have syntax errors:****
>
> ** **
>
> XQuery syntax error in #...ns/envisn/netvisn/p')/p:params#:     Prefix
> xdmp has not been declared****
>
> XQuery syntax error in #... cts:element-value-query#:     Prefix cts has
> not been declared
>
> ****
>
> What are the proper namespace declarations for these prefixes?****
>
> ** **
>
> Thanks,****
>
> Gary****
>
> ** **
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to