Hi,

So I know that webdav clients always seem to have quirks and I've heard
hearsay that the Mac webdav client has some problems when interfacing with
MarkLogic, but....

I have a modules database mounted via webdav on a mac. When I copy in an
xquey file (test.xqy) via the native webdav client the content type of the
file is being set to "binary" but if I use Cyberduck to move the file, it's
being set to "text". When the type is set to binary, it fails to execute

      <h1>500 Internal Server Error</h1>
      <dl>
        <dt> [1.0-ml]</dt>
        <dd>XDMP-TEXTNODE: /ctd/article.xqy -- Server unable to build
program from non-text document</dd>
        <dt>in /poc/article.xqy, on line 13 [1.0-ml]</dt>
        <dd>XDMP-UNDFUN: (err:XPST0017) Undefined function
comoms-article:getFields()</dd>
        <dt>in /poc/article.xqy, on line 15 [1.0-ml]</dt>
        <dd>XDMP-UNDFUN: (err:XPST0017) Undefined function
comoms-article:get()</dd>
        <dt>in /poc/article.xqy, on line 19 [1.0-ml]</dt>
        <dd>XDMP-UNDFUN: (err:XPST0017) Undefined function
comoms-article:post()</dd>
      </dl>

So two questions, anything I can do to affect how the Mac client/MarkLogic
deal with document types? Or if not, how can I convert the document type via
xquery? I'd really like to have the modules database mountable so that I can
use tools like rsync to move files (vs a client like Cyberduck).

Thanks!
Mike
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to