Message

Criterion '499efc97-2ac1-4af2-9e84-323c2ca67747' MUST have RequirementGroup '9026e403-3eb6-4705-a9e9-e21a1efc867d' as child number .

Context
ccv:Criterion[cbc:ID[normalize-space(text()) = '499efc97-2ac1-4af2-9e84-323c2ca67747']]
Test
ccv:RequirementGroup[2 + $count - 1] and normalize-space(ccv:RequirementGroup[2 + $count - 1][current()]/cbc:ID/text()) = '9026e403-3eb6-4705-a9e9-e21a1efc867d'