OER encoding: encoding of sequence with multiple optional elements of the same type
Created by: viktorTarasov
I'm trying to generate code for the following sequence:
SequenceSomeOptional ::= SEQUENCE { i1 INTEGER, i2 INTEGER OPTIONAL, i3 INTEGER OPTIONAL }
Code generation fails with the following message:
XXXASN1.asn: In ASN.1 module XXXASN1: XXXASN1.asn:65: In type assignment SequenceSomeOptional: XXXASN1.asn:68: error: Tag of component `i3' is not allowed in this context of SEQUENCE type
No problems if the sequence components are of the different types.
Do I missing something?