Message

Element 'LegislationReference' MUST be provided.

Context
ccv:Criterion[cbc:ID[text() = 'daffa2a9-9f8f-4568-8be8-7b8bf306d096']]
Test
ccv:LegislationReference
Description
Expected Criterion element with id 'daffa2a9-9f8f-4568-8be8-7b8bf306d096'
<ccv:Criterion>
   <cbc:ID schemeID="CriteriaID"
           schemeAgencyID="EU-COM-GROW"
           schemeVersionID="1.0">daffa2a9-9f8f-4568-8be8-7b8bf306d096</cbc:ID>
   <cbc:TypeCode listID="CriteriaTypeCode"
                 listAgencyID="EU-COM-GROW"
                 listVersionID="1.0.2">CRITERION.EXCLUSION.BUSINESS.BANKRUPTCY_ANALOGOUS</cbc:TypeCode>
   <cbc:Name>Analogous situation like bankruptcy under national law</cbc:Name>
   <cbc:Description>Is the economic operator in any analogous situation like bankruptcy arising from a similar procedure under national laws and regulations? This information needs not be given if exclusion of economic operators in this case has been made mandatory under the applicable national law without any possibility of derogation where the economic operator is nevertheless able to perform the contract.</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(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 'd91c11a1-f19e-4b83-8ade-c4be2bf00555'. -->
   <!-- RequirementGroup with identifier '7458d42a-e581-4640-9283-34ceb3ad4345'. -->
</ccv:Criterion>