Bruno.KONIK wrote:

Hello Martin,

In X680, 24.7 specifies that automatic tagging transformation should be
performed after the transformation specified by 24.4 (COMPONENTS OF clause)
but only if 24.2 specifies that it shall indeed be applied. 24.2 specifies
automatic tagging transformation should be applied only if there is no
taggedType components inside the SEQUENCE/SET.
I'm agree, but this decision is made before the COMPONENTS OF transformation (24.3),
so automatic tagging will be applied to A.

In your case, if we apply 24.4 then it appears your A contains a taggedType
(d component) so AUTOMATIC tagging shall not be applied to A and A is
actually :

A ::= SEQUENCE {
 a INTEGER,
 c REAL,
 d [1] INTEGER,
 e REAL,
 b INTEGER
}

C and e tags are the UNIVERSAL REAL tag (9) as well as a and b tags are the
UNIVERSAL INTEGER tag (2).

so a and b will be automatically tagged.

Best regards,

Guillaume MARTIN


_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to