Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading a custom local module for Mark Logic #170

Open
yareally opened this issue Aug 21, 2024 · 0 comments
Open

Error loading a custom local module for Mark Logic #170

yareally opened this issue Aug 21, 2024 · 0 comments

Comments

@yareally
Copy link

yareally commented Aug 21, 2024

Steps to Reproduce:

  1. Set up a ML instance on a remote server
  2. Use the following run configuration:
    image
    image
  3. Add the following to a local xquery file (this will be the active editor file):
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin"
    at "/MarkLogic/admin.xqy";
import module namespace json="http://marklogic.com/xdmp/json" at "/MarkLogic/json/json.xqy";
import module namespace pase_utilities="pase_utilities" at "pase-utilities.xq";
  1. Add the pase-utilities file mentioned in step 3 to the content root:
    image

  2. Set the content root to sources:
    image

  3. Run the code

  4. Note the error in the console:
    image

Any ideas what I might be doing incorrectly? I looked over your guide for adding modules, but still having issues (https://rhdunn.github.io/xquery-intellij-plugin/tutorials/module-paths.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant