Message

Criterion '5e506c16-26ab-4e32-bb78-b27f87dc0565' MUST have RequirementGroup '9026e403-3eb6-4705-a9e9-e21a1efc867d' as child number .

Context
ccv:Criterion[cbc:ID[normalize-space(text()) = '5e506c16-26ab-4e32-bb78-b27f87dc0565']]
Test
ccv:RequirementGroup[2 + $count - 1] and normalize-space(ccv:RequirementGroup[2 + $count - 1][current()]/cbc:ID/text()) = '9026e403-3eb6-4705-a9e9-e21a1efc867d'