Open ibbenz opened 2 years ago
Thanks a lot for reporting this issue.
We shall have a look at it and get back to you as soon as possible.
The same error occurs in case of a postgreSQL-Database. The following process was executed:
Import of SIARD in postgreSQL: 0_1-3_Northwind_simple_220913_B_Suite3.zip
Export to SIARD with resulting file:
A SIARD-file is uploaded in an Oracle DB. Afterwards the uploaded data is downloaded from the Oracle DB back into a new SIARD-file. During the download-process data changes. In case of only-0 after the decimal point, the Datum is truncated. However this datachange is the reason for a validation-error in the dbptk-validation tool for siard files. Therefore I would like to know, if the truncation is conform with siard 2.1 and the dbptk-tool is wrong or if the dbptk-tool detects correctly the truncation as an error.
The Datum in the original SIARD-file:1992-05-01T00:00:00.000000000 1992-05-01T00:00:00Z
The Datum in the SIARD created by download data from the Oracle DB:
Due to this change in the Datum the following error is issued in the dbptk-siard-Validator: Data type invalid - 1992-05-01T00:00:00Z is not in conformity with 'TIMESTAMP' type in content/schema0/table2/table2.xml
The TIMESTAMP-type in the .xsd is the type dateType which is defined as follows: