Basex 10.1, cannot execute query for a particular file name
Friday, 19 August 2022 · 3 messages · last reply 20 Aug 2022
CG
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
Quoted text · ykhabins · 30 lines
<ykhabins at 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 > > > >
Y
ykhabins19 Aug 2022 23: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
Y
Mr. Grün,
Thanks for the clarification. 😊
Regards,
Yitzhak Khabinsky
Quoted text · Christian Grün · 27 lines
From: Christian Grün <christian.gruen at gmail.com> Sent: Friday, August 19, 2022 4:01 PM To: Yitzhak Khabinsky <ykhabins at bellsouth.net> Cc: BaseX <basex-talk at mailman.uni-konstanz.de> Subject: Re: [basex-talk] Basex 10.1, cannot execute query for a particular file name 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 at bellsouth.net <mailto:ykhabins at 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
Written for BaseX 10.1. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery