Re: [basex-talk] file:descendants() returns relative paths

2022-09-25 Thread Graydon
On Sun, Sep 25, 2022 at 10:04:51AM +, Hans-Juergen Rennau scripsit: > Hi, Graydon, Hello! > you ask what I mean by "Providing the parameter value to file:children as a > relative path". > > With "the parameter value" I mean the value passed to file:children() or > file:descendants(), and

Re: [basex-talk] file:descendants() returns relative paths

2022-09-25 Thread Hans-Juergen Rennau
"It's not immediately clear to me that the file:base-dir value should  persist."  I agree. The question at hand is how the "static base URI" is defined:(1) So far, so clear: inside an XQuery module, it is the base URI of that module(2) Apparent rule: when called on the command-line, it is the

Re: [basex-talk] file:descendants() returns relative paths

2022-09-25 Thread Hans-Juergen Rennau
Hi, Graydon, you ask what I mean by "Providing the parameter value to file:children as a relative path". With "the parameter value" I mean the value passed to file:children() or file:descendants(), and it's clear what is meant by a relative path (a path not starting at the foot of the file