Message

Criterion 'cdd3bb3e-34a5-43d5-b668-2aab86a73822' MUST have RequirementGroup '96f00020-0a25-402e-b850-2378e83b5695' as child number 2.

Context
ccv:Criterion[cbc:ID[text() = 'cdd3bb3e-34a5-43d5-b668-2aab86a73822']]
Test
ccv:RequirementGroup[2] and normalize-space(ccv:RequirementGroup[2][current()]/cbc:ID/text()) = '96f00020-0a25-402e-b850-2378e83b5695'
Description
Expected Criterion element with id 'cdd3bb3e-34a5-43d5-b668-2aab86a73822'
<ccv:Criterion>
   <cbc:ID schemeID="CriteriaID"
           schemeAgencyID="EU-COM-GROW"
           schemeVersionID="1.0">cdd3bb3e-34a5-43d5-b668-2aab86a73822</cbc:ID>
   <cbc:TypeCode listID="CriteriaTypeCode"
                 listAgencyID="EU-COM-GROW"
                 listVersionID="1.0.2">CRITERION.SELECTION.TECHNICAL_PROFESSIONAL_ABILITY.REFERENCES.WORKS_PERFORMANCE</cbc:TypeCode>
   <cbc:Name>For works contracts: performance of works of the specified type</cbc:Name>
   <cbc:Description>For public works contracts only: During the reference period, the economic operator has performed the following works of the specified type. Contracting authorities may require up to five years and allow experience dating from more than five years.</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>On public procurement and repealing Directive 2004/18/EC</cbc:Description>
      <ccv-cbc:JurisdictionLevelCode listID="CriterionJurisdictionLevel"
                                     listAgencyID="EU-COM-GROW"
                                     listVersionID="1.0.2">EU_DIRECTIVE</ccv-cbc:JurisdictionLevelCode>
      <ccv-cbc:Article>58(4)</ccv-cbc:Article>
      <cbc:URI>http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex:32014L0024</cbc:URI>
   </ccv:LegislationReference>
   <!-- RequirementGroup with identifier '96f00020-0a25-402e-b850-2378e83b5695'. -->
   <!-- RequirementGroup with identifier '96f00020-0a25-402e-b850-2378e83b5695'. -->
   <!-- RequirementGroup with identifier '96f00020-0a25-402e-b850-2378e83b5695'. -->
   <!-- RequirementGroup with identifier '96f00020-0a25-402e-b850-2378e83b5695'. -->
   <!-- RequirementGroup with identifier '96f00020-0a25-402e-b850-2378e83b5695'. -->
   <!-- RequirementGroup with identifier '9026e403-3eb6-4705-a9e9-e21a1efc867d'. -->
</ccv:Criterion>