kadaster / klic-win

https://kadaster.nl/zakelijk/registraties/landelijke-voorzieningen/klic
20 stars 16 forks source link

Optional tags give error when not added and also when no values or null value given #46

Closed sachinSargar closed 7 years ago

sachinSargar commented 7 years ago

Tags like ValidFrom, ValidTo, verticalPosition, DuctWidth, WarningType are optional as per IMKL. When we dont give this tags the testing portal gives error. And also when we give no values or NULL value it gives error. Find the attachement for the errors sreen shots Validation Issue.docx

martinborgman commented 7 years ago

ValidFrom, verticalPosition, DuctWidth and WarningType are controlled by XSD and they have a cardinality of 1, so they are required. You are however allowed to provide no value but then you must provide a valid nilReason. Please read INSPIRE Data Specification on Utility and Government Services – Technical Guidelines about voidable.

ValidTo is optional. In your example, reading the XML the parser was expecting to find ValidTo or verticalPosition but found something else. For verticalPosition see stament above.

As for your last issue "heeftExtraInformatie" the error only states that you are referencing a gml feature with a gml id not found in the file.

As for code lists in general, you can only use value agreed upon and documented by Geonovum.

bvlangen commented 7 years ago

Issue has been answered and no further feedback was received, I presume the reported issue is resolved. Therefore closing issue