6 typedef revision-identifier {
8 pattern '\d{4}-\d{2}-\d{2}';
18 type revision-identifier;
19 type string { length 0; }
30 // Simpler case: same thing without the grouping
39 type revision-identifier;
40 type string { length 0; }
45 // Two different cases: the type is defined in a grouping typedef
46 grouping grp-typedef {
47 typedef revision-type {
49 type revision-identifier;
50 type string { length 0; }
62 list with-grp-typedef {
68 list without-grp-typedef {
69 typedef revision-type {
71 type revision-identifier;
72 type string { length 0; }
86 // Another set of cases: the type is externally typedef'd
89 type revision-identifier;
90 type string { length 0; }
109 list without-grp-ext {