Message

Criterion 'd789d01a-fe03-4ccd-9898-73f9cfa080d1' MUST have RequirementGroup '7458d42a-e581-4640-9283-34ceb3ad4345' as child number 2.

Context
ccv:Criterion[cbc:ID[text() = 'd789d01a-fe03-4ccd-9898-73f9cfa080d1']]
Test
ccv:RequirementGroup[2] and normalize-space(ccv:RequirementGroup[2][current()]/cbc:ID/text()) = '7458d42a-e581-4640-9283-34ceb3ad4345'
Description
Expected Criterion element with id 'd789d01a-fe03-4ccd-9898-73f9cfa080d1'
<ccv:Criterion>
   <cbc:ID schemeID="CriteriaID"
           schemeAgencyID="EU-COM-GROW"
           schemeVersionID="1.0">d789d01a-fe03-4ccd-9898-73f9cfa080d1</cbc:ID>
   <cbc:TypeCode listID="CriteriaTypeCode"
                 listAgencyID="EU-COM-GROW"
                 listVersionID="1.0.2">CRITERION.EXCLUSION.CONVICTIONS.CHILD_LABOUR-HUMAN_TRAFFICKING</cbc:TypeCode>
   <cbc:Name>Child labour and other forms of trafficking in human beings</cbc:Name>
   <cbc:Description>Has the economic operator itself or any person who is a member of its administrative, management or supervisory body or has powers of representation, decision or control therein been the subject of a conviction by final judgment for child labour and other forms of trafficking in human beings, by a conviction rendered at the most five years ago or in which an exclusion period set out directly in the conviction continues to be applicable? As defined in Article 2 of Directive 2011/36/EU of the European Parliament and of the Council of 5 April 2011 on preventing and combating trafficking in human beings and protecting its victims, and replacing Council Framework Decision 2002/629/JHA (OJ L 101, 15.4.2011, p. 1).</cbc:Description>
   <ccv:LegislationReference>
      <ccv-cbc:Title>DIRECTIVE 2014/24/EU OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL of 26 February 2014 on public procurement and repealing Directive 2004/18/EC</ccv-cbc:Title>
      <cbc:Description>Directive 2014/24/EU</cbc:Description>
      <ccv-cbc:JurisdictionLevelCode listID="CriterionJurisdictionLevel"
                                     listAgencyID="EU-COM-GROW"
                                     listVersionID="1.0.2">EU_DIRECTIVE</ccv-cbc:JurisdictionLevelCode>
      <ccv-cbc:Article>57(1)</ccv-cbc:Article>
      <cbc:URI>http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex:32014L0024</cbc:URI>
   </ccv:LegislationReference>
   <!-- RequirementGroup with identifier '7c637c0c-7703-4389-ba52-02997a055bd7'. -->
   <!-- RequirementGroup with identifier '7458d42a-e581-4640-9283-34ceb3ad4345'. -->
</ccv:Criterion>