1SeqExtension DEFINITIONS IMPLICIT TAGS ::=
2
3BEGIN
4
5IMPORTS XSeqExt1, XSeqExt2 FROM External;
6
7
8SeqExt1 ::= SEQUENCE
9{
10  ...
11}
12
13SeqExt2 ::= SEQUENCE
14{
15  bool  BOOLEAN,
16  int  INTEGER,
17  ...
18}
19
20SeqExt3 ::= SEQUENCE
21{
22  ...,
23  bool  BOOLEAN,
24  int  INTEGER
25}
26
27SeqExt4 ::= SEQUENCE
28{
29  bool  BOOLEAN,
30  ...,
31  int  INTEGER
32}
33
34SeqExt5 ::= SEQUENCE
35{
36  ...,
37  [[ name OCTET STRING (SIZE (1..8)),
38     shoesize INTEGER ]]
39}
40
41SeqExt6 ::= SEQUENCE
42{
43  -- The spaces between the ellipsis and the comma will prevent them
44  -- from being removed.
45  ...     ,
46  [[ i1 [100] INTEGER, i2 [101] INTEGER, i3 [102] INTEGER ]],
47  [[ i4 [104] INTEGER, i5 [105] INTEGER ]],
48  [[ i6 [106] INTEGER, i7 [107] INTEGER ]]
49}
50
51SeqExt7 ::= SEQUENCE
52{
53  -- The spaces between the ellipsis and the comma will prevent them
54  -- from being removed.
55  ...     ,
56  [[ a INTEGER (0..65535) OPTIONAL,
57     b OCTET STRING OPTIONAL,
58     c BOOLEAN
59  ]]
60}
61
62SeqExt1X ::= XSeqExt1
63SeqExt2X ::= XSeqExt2
64
65SuperSeq ::= SEQUENCE
66{
67  s1 SeqExt1,
68  s2 SeqExt2,
69  s3 SeqExt3,
70  s4 SeqExt4,
71  s5 SeqExt5,
72  s6 SeqExt6,
73  i INTEGER
74}
75
76END
77