Message

Criterion '77f481ce-ffb6-483f-8e2b-c78db5e68292' MUST have RequirementGroup 'e9aa7763-c167-4352-8060-1a3d7d3e2662' as child number 1.

Context
ccv:Criterion[cbc:ID[normalize-space(text()) = '77f481ce-ffb6-483f-8e2b-c78db5e68292']]
Test
ccv:RequirementGroup[1] and normalize-space(ccv:RequirementGroup[1][current()]/cbc:ID/text()) = 'e9aa7763-c167-4352-8060-1a3d7d3e2662'