Hi Yitzhak,
The BaseX editor can be used to edit arbitrary text files. The execution of files is only enabled for files with an XQuery file extension [1] and unsaved files.
Best, Christian
[1] https://docs.basex.org/wiki/XQuery_Extensions#Suffixes
ykhabins@bellsouth.net schrieb am Fr., 19. Aug. 2022, 21:55:
Hello,
Congrats on the release of BaseX 10.1
I decided to try XQuery 4.0 functionality right away.
So, I typed a new query without saving it on the file system as follows:
xquery version "4.0";
(1 to 5) -> {. + .}
Executed it, and it is worked.
I saved it as a file name: [xquery version 4.0] without square brackets. Extension is 0 And I cannot execute it anymore. Why is that?
Just when I saved it as [xquery version 4.xq], I was able to execute it again. Just a peculiarity.
Regards, Yitzhak Khabinsky