if you running script from db importing relative paths should be resolved correct, do you have problem or didn't try?
On 06/27/2011 10:51 AM, Dmitriy Shabanov wrote:eXist version?
Updated trunk (it was at the beginning of the thread, but didn't get copied). The answer my question was in SourceFactory.java
On Mon, Jun 27, 2011 at 6:57 PM, Efraim Feinstein <email@example.com> wrote:
On 06/27/2011 08:28 AM, Efraim Feinstein wrote:To answer my own question, it looks like the current answer is "yes."
> On 06/27/2011 02:42 AM, Adam Retter wrote:
>> have you tried?
>> ... at "xmldb:exist:///db/PATH";
> It works, but the current behavior is inconsistent. If the query is
> run through REST, /PATH and /db/PATH both work. Is an absolute path
eXist assumes all imports come from the filesystem unless there's an
explicit xmldb uri and the REST servlet automatically adds it from the
context(?), but running from the scheduler or the admin client doesn't.
A query written directly in the admin client has no context, but I would
have expected the scheduler or a query util:eval-ed to behave
differently if either query were loaded from the db. On the other hand,
maybe that's what "inherits the caller's context" means in the