Conrad,
thanks for your reply but I don't understand why this :
UDPTLPacket::=SEQUENCE
{
seq-number INTEGER(0..65535),
primary-ifp-packet TYPE-IDENTIFIER.&Type (IFPPacket),
.. -- other fields
}
is not the same as
UDPTLPacket::=SEQUENCE
{
seq-number INTEGER(0..65535),
primary-ifp-packet IFPPacket,
.. -- other fields
}
and why using the constrained object class field instead of the type itself?
thanks
augustin
> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Conrad
> Sigona
> Envoyé : jeudi 1 février 2001 07:52
> À : * ASN.1 liste
> Objet : Re: [ASN.1] constrained TYPE-IDENTIFIER
>
>
> > I don't really understand why using
> TYPE-IDENTIFIER.&Type(IFPPacket) instead
> > of IFPPacket itself in the syntax (extracted from T38) below! If I'm not
> > mistaken the result should be the same : only the values of the
> IFPPacket
> > type are expected here.
> > Have someone an explanantion.
>
> It would appear that TYPE-IDENTIFIER is an information object class.
> A constraint is therefore applied. If you were to use just IFPPacket,
> the constraint would not be applied.
>
> =====================================================================
> Conrad Sigona Toll Free : 1-888-OSS-ASN1
> OSS Nokalva Voice Mail :
> 1-732-302-9669 x400
> [EMAIL PROTECTED] Fax : 1-419-831-5035
> http://www.oss.com My direct line : 1-315-845-1773
>