On Mon, 17 Sep 2001, Egon Andersen, Talura wrote:

> Bancroft Scott wrote:
> > 
> > On Mon, 17 Sep 2001, Egon Andersen, Talura wrote:
> > 
> > > I've been looking at the following construction.
> > >
> > > ---
> > > alpha INTEGER { a (1) } ::= 3
> > > beta INTEGER { alpha (7) } ::= alpha
> > > ---
> > >
> > > What is the value of beta? 3 or 7? 'alpha' can be regarded as both a
> > > DefinedValue and an identifier. Both types are defined with different
> > > named values and different names for named values. I can't see that
> > > any rule is violated. Nor any rules saying which of the two values is
> > > assigned to 'beta' I'm specially looking at X.680 (1997 E) clause
> > > 18.10 (including NOTE) and X.680 (1997 E)/Amd.2 (1999 E) clause F.4.5
> > 
> > The answer is that beta is 7, same as you would get for
> > 
> >         alpha INTEGER { a (1) } ::= 3
> >         Foo ::= INTEGER { alpha (7) }
> >         beta Foo ::= alpha
> > 
> > We will clarify this in ASN.1:2002.
> > 
> 
> How do you come to the conclusion that it is 7?
> (Or should I interpret your last sentence as: 'it is actually not
> defined in the 1997 version')

It is not clearly defined in the 1997 version where I would have expected
to find it, or is not defined at all (I doubt it), else I would have
quickly found.  I did check with the ASN.1 committee before my earlier
response, so as to be sure that my conlusion is on target.

-------------------------------------------------------------------------
Bancroft Scott                               Toll Free    :1-888-OSS-ASN1
OSS Nokalva                                  International:1-732-302-0750
[EMAIL PROTECTED]                                 Tech Support :1-732-302-9669 x-1
1-732-302-9669 x-200                         Fax          :1-732-302-0023
http://www.oss.com

Reply via email to