Oups, my mistake! You are right and A will be:

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

Hope it's right now,

Bruno

> -----Message d'origine-----
> De : Guillaume Martin [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 20 juillet 2005 18:13
> À : Bruno.KONIK
> Cc : [email protected]
> Objet : Re: [ASN1] AUTOMATIC TAGS and COMPONENTS OF
> 
> 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
> 
> 
> --------------------------------------------------------------
> -------------------------
> 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

Reply via email to