Open solfeggietto opened 1 year ago
The specification for the location of LOBs according to SIARD The specification for the location of LOBs (large objects) according to the SIARD File Format specification version 2.1 (and 2.2) can appear somewhat complex, which is mostly due to its flexibility and backwards compatibility. The DILCIS Board has written a short document specifying and clarifying this issue. The specification document will later also be available at the code section of DILCISBoard/SIARD
DILCIS Board must take a stand on how to deal with the SIARD interoperability issue of filepath reference for LOBs.
Reposting from DBPTK Issue, because this is the single most conflicting interoperability issue among the SIARD tools, as DBPTK implements double usages of the lobFolder elements making up the total trio of full filepath of each LOB file referred to.
########################################### https://github.com/keeps/dbptk-developer/issues/476
I am posting the encountered bug in DBPTK Desktop here, as it is my undestanding that all SIARD-libarary implementations are handled by this repositpory dbptk-developer (in case i am wrong let me know and i post it elsewhere).
The only generic and good valid way to implement the LOB file path is using the unique combination of the 3 parts below:
Part 1 and 2 are not mandatory and any existing values and combinations must be handled accordingly by all SIARD-creating software as well as SIARD-reading or SIARD-validating software. Double-saving is not valid SIARD-file (using both full path in file attribute in addition to added vaues stored for lobFolder in Part 1 or 2 above!
Referring to SIARD 2.1 specification: P_4.3-3
P_5.1-1 Database level metadata lobFolder
P_5.6-1 Column level metadata
First i am referring to the closed issue 382 "Double content for LOBs" that was reported solved in DBPTK Developer v2.6.0 https://github.com/keeps/dbptk-developer/issues/382
Double Content meaning metadata.xml lobFolder element value = content Table column lobFolder element not available which was fine as it is not mandatory. Table[n].xml row file attribute path = content/schema1/table4/lob6/record2.bin Hence double content reference.