Known issue? DB file names with capital letters get corrupted on OS switch.
Hi, I recently moved from Mac to Linux and noticed that when using the webDAV connection, all files that have capital letters in their name become corrupted when open in Linux.
Luckily, out of the thousands of files that we have, less than 2 dozens used capitalization.
I still think this could become a large issue for someone someday, so I felt I should report it.
Hi France,
Thanks for your observation. As case matters if Linux is used, BaseX is indeed behaving slightly different if Linux or Windows/Mac is used, but we didn’t notice that this can lead to corruptions.
Could you give us some more details what happens exactly? Is it the filenames in the WebDAV view that look different than expected? Is the file contents (of XML documents? or binary resources?) that get corrupted?
Thanks in advance, Christian
Quoted text · France Baril · 13 lines
On Thu, Feb 28, 2019 at 12:09 PM France Baril <france.baril at architextus.com> wrote: > > Hi, I recently moved from Mac to Linux and noticed that when using the webDAV connection, all files that have capital letters in their name become corrupted when open in Linux. > > Luckily, out of the thousands of files that we have, less than 2 dozens used capitalization. > > I still think this could become a large issue for someone someday, so I felt I should report it. > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com
When I exported the content, I noticed that Giles sere duplicated. For each, I had one with capitalization and one without. The 2nd was renamed as (2).
This difference doesn't exist when we look at the db from other perspectives. That's the only extra observation I can observe at this point in time.
Il mar 5 mar 2019, 13:55 Christian Grün <christian.gruen at gmail.com> ha scritto:
Quoted text · Christian Grün · 34 lines
> Hi France, > > Thanks for your observation. As case matters if Linux is used, BaseX > is indeed behaving slightly different if Linux or Windows/Mac is used, > but we didn’t notice that this can lead to corruptions. > > Could you give us some more details what happens exactly? Is it the > filenames in the WebDAV view that look different than expected? Is the > file contents (of XML documents? or binary resources?) that get > corrupted? > > Thanks in advance, > Christian > > > > On Thu, Feb 28, 2019 at 12:09 PM France Baril > <france.baril at architextus.com> wrote: > > > > Hi, I recently moved from Mac to Linux and noticed that when using the > webDAV connection, all files that have capital letters in their name become > corrupted when open in Linux. > > > > Luckily, out of the thousands of files that we have, less than 2 dozens > used capitalization. > > > > I still think this could become a large issue for someone someday, so I > felt I should report it. > > > > -- > > France Baril > > Architecte documentaire / Documentation architect > > france.baril at architextus.com >
Written for BaseX 9.1. BaseX may have changed since: please check the current documentation.