Message

Criterion 'cdd3bb3e-34a5-43d5-b668-2aab86a73822' MUST have RequirementGroup '9026e403-3eb6-4705-a9e9-e21a1efc867d' as child number .

Context
ccv:Criterion[cbc:ID[normalize-space(text()) = 'cdd3bb3e-34a5-43d5-b668-2aab86a73822']]
Test
ccv:RequirementGroup[2 + $count - 1] and normalize-space(ccv:RequirementGroup[2 + $count - 1][current()]/cbc:ID/text()) = '9026e403-3eb6-4705-a9e9-e21a1efc867d'