In this post, we will see how to resolve What does “strict order” of sequence groups mean?
Question:3.5. Sequence Group section says
Elements enclosed in parentheses are treated as a single element, whose contents are strictly ordered. Thus, elem (foo / bar) blat matches (elem foo blat) or (elem bar blat), and
Given exactly one element is allowed what exact payload does the “strictly ordered” part carry?
Best Answer:The sequence group
(a b c)is just for grouping the given elements. This is used for repetitions like
The example shown in 3.5 Sequence Group is only for shown the issue between
()is needed when you want a matching of
elem foo blator
elem bar blat.
If you have better answer, please add a comment about this, thank you!