mr-core : mr-gml.b.1 - nilReason is rejected

#1265 · closed · 1 comments

View on GitHub ↗

joey-geoloog

Upload file: [zout.xml](https://github.com/user-attachments/files/28398948/zout.xml) Test Report: [report.html](https://github.com/user-attachments/files/28398990/report.html) The following elements are nillable, but the validator throws an error that they xsi:nilreason is not permitted there. Same error is returned if just 'nilreason' or 'gml:nilReason' is used. Is this just an issue with the test suite or am I missing something? ``` XML document 'MappedFeature (8).xml': 12408:134: cvc-complex-type.3.2.2: Attribute 'xsi:nilReason' is not allowed to appear in element 'mr-core:beginLifespanVersion'. XML document 'MappedFeature (8).xml': 12409:132: cvc-complex-type.3.2.2: Attribute 'xsi:nilReason' is not allowed to appear in element 'mr-core:endLifespanVersion'. XML document 'MappedFeature (8).xml': 12411:127: cvc-complex-type.3.2.2: Attribute 'xsi:nilReason' is not allowed to appear in element 'mr-core:startDate'. XML document 'MappedFeature (8).xml': 12418:133: cvc-complex-type.3.2.2: Attribute 'xsi:nilReason' is not allowed to appear in element 'mr-core:sourceReference'. XML document 'MappedFeature (8).xml': 12420:125: cvc-complex-type.3.2.2: Attribute 'xsi:nilReason' is not allowed to appear in element 'mr-core:relatedMine'. ```

Comments

joey-geoloog

Have just skipped the nil reason and nilled them, works ok.