Danny Sokolsky wrote:

  Hi

> I think the problem now is that in 3.2, MarkLogic will not
> execute a document with the URI extension .xq.  It needs to
> be .xqy. So when you go to that URL, it just displays the
> text document instead of treating it like an executable
> XQuery document.

  You are right.  I am now able to execute the query, thanks
to your valuable help!

> Try changing the URI in the xdmp:document-load command to
> Tmp/browser.xqy.  If you are running as admin, there is no
> need for the execute permissions (but you will need them
> for non-admin users to read and execute the document).

  Just a little remark: why this exception for admin?  It
doesn't sound intuitive to me.  That means that when your are
connected as admin, you can execute something that is not
necessarily intended to be executed, can't you?

  I can understand that admin "doesn't need permission"
because it is the super-power user, but actually because he
has all this power, maybe we should be even more restrictive
by default when it comes to executing queries?

  Just wondering...

  Thank you for all your help, regards,

--drkm





















      
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to