"Egon Andersen, Talura" wrote:
>
> 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 :-)
This is the term we use is in the ASN.1 group... even though the
difference between 'legal' and 'illegal' is not easy to *hear*!
--
Olivier DUBUISSON
france telecom R&D
DTL/TAL - 22307 Lannion Cedex - France
t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/