Skip to content

Error loading a custom local module for Mark Logic #170

@yareally

Description

@yareally

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions