Posted April 06, 2022

But I managed modify my own file for creating .bat files for individual games to first do the update of manifest info of said game (with -ids) and THEN start to download it - and now it works.

That was the error that stopped the download.
If you see errors of that form, it's best to do a quick chest for updates to the game and if there isn't to manually force a refresh with -ids.
That happens when GOG does a stealth update (they change a file, without marking the game as updated or changing the file name), it's a result of the data in the manifest being for a different file (so it's expecting a different file size). It's actually unrelated to the XML error.
(There are very rare occassions when the update won't help though, because GOG actually has the wrong metadata for the file. )