Closed Dnoack49 closed 9 months ago
Dear @Dnoack49,
good question! It seems strange to provide a "uom" for a void element, but this "requirement" comes from the definition of the "MeasureType" data type defined in the BasicType.xsd of the GML specification. Since the "uom" is an attribute of the element it seems it is not possible to make it mandatory in another way.
For the moment, you can by-pass the error by providing a dummy value, like:
Dear all,
1.) a description of the steps to reproduce your issue
We have validated the following Buildings-Dataset: https://inspire.brandenburg.de/services/bu_alkis_wfs?service=WFS&version=2.0.0&request=GetFeature&Count=10&typenames=bu-core2d:Building
and receive errors, that
Attribute 'uom' must appear on element 'bu-base:horizontalGeometryEstimatedAccuracy'
2.) used browser and version:
Firefox Browser 108.0.1 (64-Bit)
3.) a screenshot illustrating the problem![grafik](https://user-images.githubusercontent.com/8046960/214257105-2dcf9f93-e036-40ce-8aa6-74193d280324.png)
4.) the Test Report Test run on 09 54 - 24.01.2023 with test suite Annex III - Buildings (BU).zip
5.) Name of the Test that failed : The error appears in two conformance classes:
According to the UML-Model the property horizontalGeometryEstimatedAccuracy can be voidable which it is in our dataset:
The question we have now: is it correct, that the uom-Property is expected for an attribute that has a nilReason-value? I f a value cannot be provided, why should a unit be given?![grafik](https://user-images.githubusercontent.com/8046960/214259390-80db61f2-ab57-4de6-913c-4a9d70a5d780.png)
Kind regards