<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Jakob,<br>
      <br>
      I suggest creating a validation scenario that will validate the
      main module. Don't forget to specify the MarkLogic connection as
      the validation engine. Next, associate this validation scenario
      with the module and the module will be validated in the context on
      the main file. The automatic validation will give an warning this
      time because MarkLogic lacks the API to perform a real automatic
      validation on a content not yet committed on the server. But you
      can manually invoke the validation and it will work.<br>
      <br>
      Regards,<br>
      Alex<br>
      --<br>
      Alex Jitianu<br>
      &lt;oXygen/&gt;&nbsp; XML Editor, Schema Editor and XSLT
      Editor/Debugger<br>
      <a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a><br>
      <br>
      On 23-Apr-13 6:50 PM, Jakob Fix wrote:<br>
    </div>
    <blockquote
cite="mid:CACmjRh9HbWw0yhnT6PniEU5vrRctMj3vK2MYWP501V55WR7upQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>We're using OxygenXML to write Xquery files for MarkLogic
          Server.</div>
        <div>We have a transformation scenario that connects to the XDBC
          server running on MarkLogic.</div>
        <div>For "normal xquery files" this works fine, i.e. I get
          auto-completion, parsing and error display and I can execute
          the file.<br>
        </div>
        <div><br>
        </div>
        <div>However, with "module xquery files" we have a problem:</div>
        <div><br>
        </div>
        <div>* by nature, they cannot be executed, and we get a constant
          error message at the bottom of the screen E [test-db]
          XDMP-EVALLIBMOD: xdmp:eval(...) -- Cannot evaluate library
          module:</div>
        <div><br>
        </div>
        <div>* but if we don't link them to the transformation scenario,
          we don't have auto-complete and all the other goodies.</div>
        <div><br>
        </div>
        <div>Any idea whether that's just a configuration issue, or
          maybe an RFE?</div>
        <div><br>
        </div>
        <div>Thanks in advance,<br>
          Jakob.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>