unordered sequence with constrained occurrences

5 Mar
2013
5 Mar
'13
1:42 p.m.
Suppose text data has 3 constructs: a, b, and c. * a must occur 1 time * b can occur 0 or 1 time * c can occur any number of times, 0 or more These 3 constructs can appear in any order. So these are valid inputs: abc a bcccca But these are not: ccbcc abbc abcabc Can data like this be modeled with DFDL? The unordered sequence can be modeled with a data array, like this: Array (0 to unbounded) Sequence a (0 to 1) b (0 to 1) c (0 to 1) /Sequence /Array But I don't know how to constrain the total number of occurrences. Appreciate any ideas!
4449
Age (days ago)
4449
Last active (days ago)
0 comments
1 participants
participants (1)
-
Garriss Jr., James P.