Egon, Thanks. I needed to know for the ASN.1 compiler we use internally. I didn't think we would ever encounter an empty RootAlternativeTypeList but began to wonder while implementing the encode/decode engine that traverses the compressed syntax table generated by the compiler.
Paul Long ipDialog, Inc. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Egon > Andersen, Talura > Sent: Tuesday, April 23, 2002 1:11 AM > To: [EMAIL PROTECTED] > Subject: Re: [ASN.1] At least 1 alt. in ext. root? > > > Paul Long wrote: > > > > >From the syntax in X.680, it looks like these are illegal constructs: > > > > CHOICE { } > > CHOICE { ... } > > CHOICE { ..., x X } > > > > IOW, there must be at least one alternative in the extension > root. Is that > > true? > > > > Paul Long > > ipDialog, Inc. > > ChoiceType always starts with RootAlternativeTypeList, which is never > empty, so all three constructs above are invalid. > You will probably not get in jail for it, so 'illegal' may not be the > correct term here :-) > > Best regards > Egon Andersen > > -- > * Talura ApS * Phone: +45 43 52 50 00 * > * Baldersh�j 24 B * mailto:[EMAIL PROTECTED] * > * DK-2635 Ish�j * http://www.talura.dk *
