Proposal to implement operationMonitor and notificationEventType elements of eventNoficationCriteria differently in XSD files
While converting XSD types to TTCN-3 types (required for the ATS), some issues arise due to the way operationMonitor and notificationEventType elements in eventNotificationCriteria are implemented. The issues are that both elements are converted as mandatory elements although they can be empty. The desired conversion would be that those elements are optional and if present they should contain at least one element. In order to solve these issues and keeping how the types are defined in TS-0004, here a proposal to implement them in a different way:
...
<xs:element name="operationMonitor" minOccurs="0">
<xs:simpleType>
<xs:restriction>
<xs:simpleType>
<xs:list itemType="m2m:operationMonitor" />
</xs:simpleType>
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="attribute" type="m2m:attributeList" minOccurs="0" maxOccurs="1" />
<xs:element name="notificationEventType" minOccurs="0" >
<xs:simpleType>
<xs:restriction>
<xs:simpleType>
<xs:list itemType="m2m:notificationEventType" />
</xs:simpleType>
<xs:minLength value="1" />
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
...
Similar to issue #126 (closed)