Closed bertvanovermeir closed 1 year ago
Thanks for the useful report. Can you tell me what kind of file you were trying to create (.sdf
, .shp
, other?) ?
Thank you for replying.
I am using .sdf
files and the latest version at the time of writing (1.5.2.190)
.
Fix will be in the upcoming 1.5.3 release
It seems there might be a bug (or I am doing it wrong) when trying to create a new file with a new schema that contains a restriction base xs:decimal:
with or without a restriction:
After running this command:
fdocmd create-file --file <path> --schema-path <path>
The following error is displayed:
OSGeo.FDO.Common.Exception: A Data Property cannot have a negative precision. at OSGeo.FDO.Schema.DataPropertyDefinition.set_Precision(Int32 value)
Which results in the file still being created, but further feature copy actions will fail with the same error.
Thanks in advance. schema.txt