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.
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).
Best regards,
Bruno KONIK - uniGone
41-43 rue de Cronstadt
75015 PARIS
web : http://www.unigone.com
phone : +33 (0) 1 60 12 77 64
fax : +33 (0) 1 60 12 77 65
mailto:[EMAIL PROTECTED]
-- uniGone provides Java and c# tools for ASN.1 users, contact us for more
information --
> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De
> la part de Guillaume Martin
> Envoyé : mercredi 20 juillet 2005 17:00
> À : [email protected]
> Objet : [ASN1] AUTOMATIC TAGS and COMPONENTS OF
>
> Hi,
> I'd like to know what the result of the automatic tagging
> transformation (describes in X680 (2002) 24.9.) in this case :
>
> ModuleA DEFINITIONS AUTOMATIC TAGS ::=
>
> BEGIN
>
> A ::= SEQUENCE {
> a INTEGER,
> COMPONENTS OF B,
> b INTEGER
> }
>
> B::= SEQUENCE ::= {
> c REAL,
> d [1] INTEGER,
> e REAL
> }
>
> END
>
> because the automatic tagging is in effect in "A", but not in
> "B" so I was wondering what is "c" and "e" tag after the
> COMPONENTS OF transformation :
>
> A ::= SEQUENCE {
> a INTEGER,
> c REAL,
> d [1] INTEGER,
> e REAL,
> b INTEGER
> }
>
> Thanks.
>
> Guillaume Martin
>
>
>
> _______________________________________________
> ASN1 mailing list
> [email protected]
> http://lists.asn1.org/mailman/listinfo/asn1
> --------------------------------------------------------------
> -------------------------
> Wanadoo vous informe que cet e-mail a ete controle par
> l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1