Dear BaseX people,
I noticed a peculiar behaviour of file:current-dir() on a Windows system.
file:current-dir()
=>
C:\program files\Oxygen XML Editor 25\
file:path-to-native(current-dir()
=>
C:\Program Files\Oxygen XML Editor 25\
Note the difference: "Program Files" vs. "programfiles".
Is this intended? Would one not expect that any path returned by a file:* function *is* native?
(Remark: the difference of case can become very important when constructing relative paths.)
Kind regards,
Hans-Jürgen
:
On the system in question, the folder "Program Files" is mapped to "programme" (I do not know the reasons.
cu