If whitespace matters to you one thing to be careful is the change in the 
whitespace toggle behaviour:

Version 10: 
w
Toggles whitespace stripping of XML text nodes. By default, whitespace will be 
preserved.

Version 9:
-w
Toggles whitespace chopping of XML text nodes. By default, whitespaces will be 
chopped.

https://docs.basex.org/main/Command-Line_Options

Daniel

Von: BaseX-Talk <basex-talk-boun...@mailman.uni-konstanz.de> Im Auftrag von 
Rémy Delanaux
Gesendet: Dienstag, 19. November 2024 12:51
An: Christian Grün <christian.gr...@gmail.com>
Cc: basex-talk@mailman.uni-konstanz.de
Betreff: Re: [basex-talk] Upgrading BaseX by several major versions

Dear Christian and Marco,

Thank you for the helpful replies.
It's reassuring if the maintenance would be mostly about code renaming rather 
than heavy database editing.
Do you think there are notable breaking changes (other than function renaming) 
to which I should be particularly careful?

As for using the GUI, I never actually used it since the project I work on is 
both developed and hosted on Linux machines, so I don't think it's available, 
is it?

Best,
Remy


Le mar. 19 nov. 2024 à 10:41, Christian Grün <mailto:christian.gr...@gmail.com> 
a écrit :
Dear Remy,

As the database format has not changed since Version 9, the good thing is that 
you won’t have to update your databases, so I would do what Marco suggested. 
For the upgrade to BaseX 10, there is a page in our Wiki that gives some 
further instructions [1].

Best,
Christian

[1] https://docs.basex.org/main/BaseX_10


On Tue, Nov 19, 2024 at 9:51 AM Marco Lettere <mailto:m.lett...@gmail.com> 
wrote:
Hi Remy,
we faced this issue several times. I can suggest you step up directly to the 
target version and open your code in the BaseX Gui. There by just following the 
parsing errors you can refactor your code and depending on the code complexity 
this should not take too long.
M.
On 19/11/24 08:53, Rémy Delanaux wrote:

Hello,

I manage a project I've worked on from 2020 to 2022 and have recently come back 
to (no one has really worked on since then).
The project currently runs BaseX 9.4, and we obviously would like to catch up 
on versions of BaseX.

But I'm wondering what is the best way to process here. I don't remember 
upgrading major versions of BaseX during my time on project (we changed servers 
so for BaseX 9 we did a fresh install and backup restore)

What is the correct way to do this? Should I straight up install the latest 
version (probably BaseX at the time of writing) and find all blocking migration 
changes, or gradually install major version after major version (10 then 11 
then 12 when available) and ook for smaller migration processes?
I wasn't able to find migration guides except for upgrading from 9 to 10 
(although there are individual changelogs for each individual module).

Thanks!

Best,
Remy Delanaux

Reply via email to