XSD-Schema: Wrong type `aas:submodelElement_t` for element `statements` in XSD-schema type `entity_t`
Class Entity
has optional parameter statement
with cardinality 0..*
:
The XSD-Schema has an element statements
of type aas:submodelElement_t
, whereas, it should rather be of type aas:submodelElements_t
, to make it possible to have more than one statement parameter in an entity. Current version:
<element name="statements" type="aas:submodelElement_t"/>
Proposed Fix:
<element name="statements" type="aas:submodelElements_t"/>
Since the aas:submodelElements_t
would be exactly what we want:
<complexType name="submodelElements_t">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="submodelElement" type="aas:submodelElement_t"/>
</sequence>
</complexType>